Ghost/ghost/core/test/unit/server/services
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
..
adapter-manager Added JSDoc to adapter options resolver 2022-09-06 17:51:57 +08:00
api-version-compatibility Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
auth Added eslint rule for file naming convention 2023-05-09 12:34:34 -04:00
collections Removed unused collections repositories 2023-07-14 14:20:37 +08:00
custom-redirects Added eslint rule for file naming convention 2023-05-09 12:34:34 -04:00
frontend-data-service Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
link-tracking Added endpoint for fixing newsletter links 2022-10-20 17:50:02 +05:30
mail Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
mail-events Add endpoint to record mail events (#16990) 2023-06-23 12:22:01 +01:00
members Added donations API (#17495) 2023-07-31 16:00:52 +00:00
mentions Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
milestones Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
newsletters Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
notifications Added eslint rule for file naming convention 2023-05-09 12:34:34 -04:00
oembed Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
permissions Removed all unused variables from test files 2023-03-10 14:29:55 +01:00
route-settings Added eslint rule for file naming convention 2023-05-09 12:34:34 -04:00
segment Fixed Segment event named wrong 2023-07-24 15:49:33 +01:00
settings Added Support Email verification modals to Admin X (#18152) 2023-09-15 16:00:24 +07:00
settings-helpers Added eslint rule for file naming convention 2023-05-09 12:34:34 -04:00
slack-notifications Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
staff Moved Milestone emails to GA 2023-03-23 17:35:23 +00:00
stripe Fixed configUtils and adapter cache issues in E2E tests (#16167) 2023-01-30 14:06:20 +01:00
themes Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
tiers Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
url Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
users Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
webhooks Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
labs.test.js Fixed configUtils and adapter cache issues in E2E tests (#16167) 2023-01-30 14:06:20 +01:00
limits.test.js Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
slack.test.js Prevented registering multiple Slack event listeners 2023-06-12 15:04:11 +02:00
xmlrpc.test.js Prevent xmlprc tests from outputting errors for failure cases 2023-02-28 11:14:11 +00:00