Ghost/apps/admin-x-settings
Jono M d33a70f40d
Added limit checks to AdminX settings (#17784)
refs https://github.com/TryGhost/Product/issues/3751

---

This pull request adds limit checks and upgrade prompts for various
features in the admin-x-settings app, such as staff, members,
newsletters, custom integrations, and custom themes. It uses a custom
hook called `useLimiter`, which relies on the `@tryghost/limit-service`
package and the host settings configuration data.
2023-08-23 21:04:27 +00:00
..
.storybook
public
src Added limit checks to AdminX settings (#17784) 2023-08-23 21:04:27 +00:00
test Added limit checks to AdminX settings (#17784) 2023-08-23 21:04:27 +00:00
.eslintrc.cjs Temporarily fixed eslint rules being disabled in AdminX (#17565) 2023-08-02 08:37:51 +01:00
.yarnrc
index.html
package.json Added limit checks to AdminX settings (#17784) 2023-08-23 21:04:27 +00:00
playwright.config.ts
postcss.config.cjs
README.md
tailwind.config.cjs Admin x custom integrations UI (#17747) 2023-08-17 10:12:28 +02:00
tsconfig.json
tsconfig.node.json
vite.config.ts

Admin X Settings

Experimental re-write of Ghost Admin Settings in React

Development

Pre-requisites

  • Run yarn in Ghost monorepo root
  • Run yarn in this directory

Running the development version

Run yarn dev to start the development server to test/develop the settings standalone. This will generate a demo site from the index.html file which renders the app and makes it available on http://localhost:5173

Running inside Admin

Run yarn dev from the top-level repo with --adminX

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests