-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[HOLD #2934] Enhancements for "Debounce account search typing & fix how validation displays in UI" #2936
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
Comments
Triggered auto assignment to @mateocole ( |
Triggered auto assignment to @thienlnam ( |
Removing @thienlnam b/c I'm happy to review proposals 👍 |
Oops, shouldn't have added |
Proposal 📄When entering an email address or phone number in OptionsSelector's TextInputWithFocuStyles (on all screens where this exists), the app should do a few things:
Research/Investigation 🕵🏻♂️
Approach 👨🏼💻File of concern : Multiple (UI + Logic/Services)
Best Practices 💃🏼
Testing Strategy 🧪
Expected Delivery Time 📦Approx 3-7 days. Considering any possible blockers Open Questions ❓
Previous Experience 🙅🏼♂️ |
Thanks for the proposal, @pranshuchittora ! Here's some responses to your questions:
|
Is that works @Beamanator Peek.2021-05-17.22-13.mp4Debounce Peek.2021-05-17.22-14.mp4 |
Hey @pranshuchittora ! I like the debouncing, but I believe we should show the spinner while we're waiting for the user to stop typing (for 300ms) and while waiting or the |
Hi @Beamanator
Not sure about this but I have decided to keep them because so that user have something to go for. Thinking in terms of the User Experience, it is better to show something instead of nothing. Would love to hear your thoughts on this as well :) |
✔️ Spinner Peek.2021-05-18.18-42.mp4cc @Beamanator |
I absolutely don't consider myself an expert in design, which is why I'd recommend we consult with the @Expensify/design group :D Hey designers! How do y'all feel about the above design, specifically:
|
I think we should show matching chats. I know there have been times where I partially know a phone/name/email and search results fill in the rest, so I think it's helpful.
This makes sense to me, yeah. |
I think the constant jumping around feels really strange. Could we do something where:
Basically this flow should feel ultra smooth and not bouncey/jumpy like it does in the video, so hopefully the ideas above will help us solve that. |
Ooh I like these ideas! What do you think @pranshuchittora ? |
Ooh that looks great! Let's see what the @Expensify/design team things too :D |
Done @michelle-thompson I have updated the PR |
The focus border is browser behaviour. It depends on the browser and platform (OS). Overriding it might not be feasible. |
@pranshuchittora I think you're right about that - also, there's another issue (#3108) to handle form styling, so as long as this PR doesn't introduce any new form styling issue (which I don't think it does), you can definitely leave this as is :D |
@Beamanator @pranshuchittora , can I get an update on this? Want to post in the parent issue where we're at. Thanks |
Waiting on @pranshuchittora to respond to my comments or work on requested changes |
Unassigning for lack of updates - I'm going to clean up requirements & put this on hold for #2934 |
Issue we're holding for hasn't been completely fixed yet |
Back to weekly since I'm focusing on some other tasks for now |
Closing this issue since it would be nice to have a fresh start when we're ready |
Canceled job in Upwork |
Uh oh!
There was an error while loading. Please reload this page.
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
On hold for #2934 since that one adds a necessary fix to phone number validation, and this one builds on that
These are enhancements are related to #2934. Please review that job for more details
Whomever is assigned that issue can work on these concurrently or after 2934 is fixed. If the assigner of 2934 doesn't want to work on this issue then it's held for anyone else until a week after 2934 is closed (to ensure there aren't regressions)
Enhancements:
When entering an email address or phone number in
OptionsSelector
'sTextInputWithFocuStyles
(on all screens where this exists), the app should do a few things:Str.isValidEmai
and!Str.isDomainEmail
)Str.isValidPhone
)IsValidPhoneNumber
, which validates phone numbers in this format:'(\+?\d{10,15}|\d\d\d-\d\d\d-\d\d\d\d)'
.Make sure validation error messages still show correctly
"Please enter a phone number including the country code e.g +447814266907"
. Example:"Please enter a valid email address"
. Examples:View all open jobs on Upwork
The text was updated successfully, but these errors were encountered: