Ghost/apps/admin-x-settings
Sag 96065f9c94
Added more acceptance tests for Recommendation settings (#18696)
closes https://github.com/TryGhost/Product/issues/3955

- also, moved recommendations code to the "membership" folder for
consistency with the UI
- also, renamed "yarn test:slowmo" to "yarn test:acceptance:slowmo" for
consistency in the naming
- also, removed "limit: 1" when checking whether a recommendation URL
already exists. The limit defaults to 5 on the API side, and allowing
more than 1 result will lead to a more thorough check
2023-10-18 18:56:34 +00:00
..
.storybook AdminX storybook updates (#18503) 2023-10-09 17:04:01 +02:00
src Added more acceptance tests for Recommendation settings (#18696) 2023-10-18 18:56:34 +00:00
test Added more acceptance tests for Recommendation settings (#18696) 2023-10-18 18:56:34 +00:00
.eslintrc.cjs
.yarnrc
index.html
node-shim.cjs
package.json Added more acceptance tests for Recommendation settings (#18696) 2023-10-18 18:56:34 +00:00
playwright.config.ts
postcss.config.cjs
README.md
tailwind.config.cjs
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