0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/apps/admin-x-settings/src/hooks
Ronald Langeveld 851504030c
Added Support Email verification modals to Admin X (#18152)
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.
2023-09-15 16:00:24 +07:00
..
site Fixed bugs with AdminX navigation settings (#17340) 2023-07-13 01:12:31 +00:00
useFeatureFlag.tsx Wired up AdminX Labs settings (#17844) 2023-08-28 16:24:03 +01:00
useForm.ts Wired up adding recommendations via admin-x (#17878) 2023-08-31 11:26:12 +02:00
useGlobalDirtyState.tsx Fixed bugs with AdminX navigation settings (#17340) 2023-07-13 01:12:31 +00:00
useLimiter.tsx Updated AdminX to load via ES Modules to enable code splitting (#17971) 2023-09-07 06:38:20 +00:00
usePagination.tsx Fixed loading 0th page of recommendations (#18116) 2023-09-13 15:46:18 +02:00
usePinturaEditor.ts Wired Pintura Editor to Admin X (#18100) 2023-09-13 17:28:05 +07:00
useQueryParams.ts Added Support Email verification modals to Admin X (#18152) 2023-09-15 16:00:24 +07:00
useRouting.tsx Updated AdminX scroll handling to work more consistently (#18106) 2023-09-13 11:52:00 +01:00
useScrollSection.tsx Fixed tiers and scrolling bugs with AdminX (#18138) 2023-09-14 14:09:51 +00:00
useSettingGroup.tsx AdminX UI fixes (#18110) 2023-09-14 12:04:31 +02:00
useSortableIndexedList.tsx Updated ESLint config for React+Typescript packages 2023-07-27 11:40:31 +02:00
useStaffUsers.tsx Added limit checks to AdminX settings (#17784) 2023-08-23 21:04:27 +00:00