mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 21:33:24 +03:00
851504030c
refs https://www.notion.so/ghost/df5bdea8f7ea4aca9d25eceb6a1bf34c?v=be2f15b6b58b4c27a0e11374282bead0&p=163762d9513a4e6dbd60c28e19228fdc&pm=s - Added a modal to confirm that the new support email has been verified. - to achieve that a couple of adjustments had to be made - Updated the RoutingProvider to handle routes with query params. - Added a new useQueryParams hook to grab query params where needed. - wired up the email verification api. - added feature flags / labs logic to the core package with the new URL and updated test. --- <!-- Leave the line below if you'd like GitHub Copilot to generate a summary from your commit --> <!-- copilot:summary --> ### <samp>🤖 Generated by Copilot at 3ff8add</samp> This pull request adds email verification functionality for the support email address in the portal settings. It fixes a bug in the routing provider, adds a new API function, a new custom hook, and a new modal component to handle the verification process. It also updates the settings query with the verified email address. |
||
---|---|---|
.. | ||
.storybook | ||
public | ||
src | ||
test | ||
.eslintrc.cjs | ||
.yarnrc | ||
index.html | ||
package.json | ||
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.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Test
yarn lint
run just eslintyarn test
run lint and tests