-
Notifications
You must be signed in to change notification settings - Fork 86
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
feature/Registered usernames that are duplicates or invalid should trigger aggressive warning modal #1831
Conversation
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.
Looks good. Perhaps squashing changes before merging could be a good idea to keep the git commit history easy to read on develop.
...sktop/src/renderer/components/widgets/aggressiveWarningModal/AggressiveWarningModal.test.tsx
Outdated
Show resolved
Hide resolved
Might be good to get a quick review from @siepra also |
packages/mobile/src/components/AggressiveWarning/AggressiveWarning.stories.tsx
Outdated
Show resolved
Hide resolved
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.
Ideally I'd want desktop and mobile changes to be done in separate pull requests
It just came to me, the name "AgressiveWarning" is a little bit odd. It doesn't really tell what's going on. I think something like "DuplicatedUsernameWarning" would be more accurate |
packages/mobile/src/components/AggressiveWarning/AggressiveWarning.component.tsx
Outdated
Show resolved
Hide resolved
We already have something similar as |
I wish there were RTL and RNTL tests for displaying the modal. Also I know this is inconvenient but there should be a base screenshot for mobile visual regressions tests uploaded. Until we have a dedicated GitHub runner I can help you with running those tests. |
Pull Request Checklist