Realized useFocusEffect doesn't work because there are two other auxiliary screens we use for setting avatars. Reworked it to enable registrationMode while any of the 3 relevant screens are in focus
- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
All Stories
Jun 9 2023
address comments
address comments
Thanks for the annotations
If the avatar upload fails, we'll log the user in anyways, and display an error Alert. The user can then go and change their avatar using the normal flow. I opted for this approach because I figured trying to "undo" the registration would be more complicated, and leaving the registration in a half-complete state would be confusing to the user.
Following D8163, we no longer do the server call from AvatarSelection, so this diff is no longer necessary
address feedback
Did you try animation-timing-function: ease-in-out; by chance? Think it might look better for this sort of thing
Rebase on D8136
Rebase on D8136
Rebase on D8136
Rebase on D8136
Rebase on D8136
Expect role to be non-null
ESLint
Use invariant
Makes sense. To address replay attacks we should definitely make sure that the signature has a recent timestamp
address feedback
Fix comment
Address feedback
Jun 8 2023
rebase and land
rebase and land
address feedback
Preemptively remove the check for a parent admin. Tested with the changes
made in D8072
Preemptively remove the check for a parent admin. Tested with the changes
made in D8072
just some clarifying questions inline
Use a variant prop to style the label. Did a quick search prior to
confirm no other instances of Label pass in a custom color or bg
prop, so it would be safe to remove. Also confirmed the existing uses of
Label still look the same
rebase and land
Rebase
Rebase
Rebase
Rebase
Address feedback
Fix errorMessage string literal