-
Notifications
You must be signed in to change notification settings - Fork 30
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
Fix registration bugs, update input design, and improve validation logic #543
Conversation
…errors for input fields
…y removing client-side validation
de09d16
to
4d46319
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not merge this for now - it's not solving the underlying issue of why things working suddenly stopped working.
I've have never seen errors in the UI. And losing form data has been a problem since we upgraded to React 19 Canary :) |
55f921b
to
cf8411e
Compare
fb7e302
to
0f51a27
Compare
0f51a27
to
090030d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a few notes - mostly to myself, will fix comments and merge
application/account-management/WebApp/pages/register/verify/index.tsx
Outdated
Show resolved
Hide resolved
090030d
to
ebb19a9
Compare
ebb19a9
to
04b2298
Compare
Quality Gate passedIssues Measures |
Summary & Motivation
Fix a bug in account registration where form state is lost, and address an issue where validation errors were not shown to users. Downgrading to React 18 Canary fixes this, as these bugs were related to React 19 Canary - Waiting for React Aria Components to catch up.
Restructure frontend pages to use a shared layout and move out components from pages / routing and into shared ui for a clearer seperation of concerns.
Update the design of input fields to ensure they are all the same height.
Remove client-side validation and disable browser native validation that duplicates server-side validation to ease maintainability and provide a clear seperation of responsibility between client and server validation.
Change the Account Registration start endpoint to return the
AccountRegistrationId
and expiration data in the response body, simplifying the frontend and allowing central control of the expiration time.Add "is subdomain" check in the register page and illustrated messages for better user experience.
Checklist