-
Notifications
You must be signed in to change notification settings - Fork 538
Fix API key redirect URL schema on in-app wallet settings and unresponsive general project settings page #5747
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5747 +/- ##
=======================================
Coverage 53.01% 53.01%
=======================================
Files 1101 1101
Lines 59079 59079
Branches 4806 4806
=======================================
Hits 31318 31318
Misses 27043 27043
Partials 718 718
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
4c36f40
to
3f5fec7
Compare
3f5fec7
to
fd6fa64
Compare
Merge activity
|
…nsive general project settings page (#5747) ## Problem solved Fixes: DASH-629 <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on updating the validation schema and related components for project settings, particularly around custom authentication endpoints and redirect URIs. The changes enhance the form handling and validation logic in the dashboard. ### Detailed summary - Introduced `expandCustomAuthEndpointField` for conditional rendering of custom authentication endpoint fields. - Updated `checked` property of `GatedSwitch` to use the new variable. - Modified the placeholder of `Textarea` in `NativeAppsFieldset`. - Changed `UpdateAPIForm` type to use `ProjectSettingsPageFormSchema`. - Updated form initialization to use `projectSettingsPageFormSchema`. - Refined validation logic for redirect URIs, allowing specific formats. - Created a new `redirectUriSchema` for validating redirect URIs. - Updated `redirectUrls` validation to use the new schema. - Changed the exported validation type from `ApiKeyValidationSchema` to `ProjectSettingsPageFormSchema`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
fd6fa64
to
f1cf2fa
Compare
Problem solved
Fixes: DASH-629
PR-Codex overview
This PR focuses on refactoring and enhancing the validation logic for project settings, specifically regarding API key management and redirect URIs. It introduces a new schema for project settings and modifies the handling of advanced features in the
embedded-wallets
component.Detailed summary
expandCustomAuthEndpointField
to manage the visibility of custom auth endpoint settings.show
prop inAdvancedConfigurationContainer
to useexpandCustomAuthEndpointField
.UpdateAPIForm
type to useProjectSettingsPageFormSchema
.projectSettingsPageFormSchema
for project settings validation.isValidRedirectURI
function to validate redirect URIs.redirectUrls
validation to use the newredirectUriSchema
.