-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
multiple personas clickable [Fixes #12645] #12753
multiple personas clickable [Fixes #12645] #12753
Conversation
✅ Deploy Preview for ethereumorg ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Thanks @bhargavkakadiya! First glance looks like a great start, but per original issue (#12645):
Switch logic to "AND" and allow users to select multiple personas.
Looks like the logic here results in an "OR" result where it'll filter wallets that match a persona OR filters that match another persona (widening results with more checks)...
@konopkja Am I correct that we want to narrow the results as more checkboxes are added?
Thanks for the contribution!!! yeas our goal is to narrow down |
… into multi-select-user-persona
@wackerow I have updated to show narrowed results, can you please review it again? |
ping @corwintines @wackerow |
@bhargavkakadiya in this example, end result should be 4 wallets or less, as it was narrowed to 4 when clicking the mobile filter |
… into multi-select-user-persona
… into multi-select-user-persona
So close! This is definitely nuanced logic... @bhargavkakadiya Replicated Nico's steps above and it kept narrowing down appropriately, but when I uncheck the "Finance" persona, the filters do not broaden again, and the results stay filtered to only three: Screen.Recording.2024-05-07.at.14.17.15.mov |
… into multi-select-user-persona
In this current version, the broadening is working upon deselecting persona. Also, based on the example below, when mobile is checked, it checks Android and iOS, which is fine. Screencast.from.05-14-2024.09.46.36.AM.webm |
Hey @bhargavkakadiya, just circling through. Any luck here? Can open this up to others in the community if needed |
Flipping to draft for now, please flip to "Ready for review" when ready |
Just going to leave my 2 cents here. I think as far as the multiple personas standpoint, I think this works great. Nice work @bhargavkakadiya. One thing that needs to be ironed out is what happens if someone selects a filter after a persona. IMO, I think the personas should deselect, but keep the applied filters. @konopkja what do you think? I will bring this up in grooming next week to get on the same page here so we can get this across the finish line, but Just wanted to say great work @bhargavkakadiya. |
Hi, its great to see progress here! I think from clarity perspective it is not a good experience to deselect personas because there is no indication the system would behave this way (end user doesnt know personas and filters are connected unless they notice filters being activated, which may be complicated on mobile to depend on that). Instead expected system behavior should be to keep persona filter on and ADD to the selected filters another filter that has been activated. |
Thanks for the kind words; please do let me know if you want me to make any additional changes |
Hey @bhargavkakadiya. Thanks for everything you've done so far here, this is close. Chatted with @konopkja to scope out last bit of functionality here to get this over the finish line. At the moment the selection and deselection of personas works great. What functionality needs to be added now is just around what happens if someone adds or removes other filters.
Let me know if you have any questions around this, or if anything is unclear. |
… into multi-select-user-persona
@corwintines I have pushed the requested changes. There was a bug for new to crypto persona selection; should be fine now. Please review and let me know if it needs any fixes |
lgtm! @corwintines what should be the next steps? |
thank you @konopkja @corwintines @wackerow for your patience. Appreciate all your feedback and helping with the contribution |
Description
Allows multi select for personas
For display of wallet tables, when multiple personas are selected, filters are applied after applying AND on all persona preset filters from useWalletPersonas.tsx
The current filtering logic for displaying results is open for review. I welcome any suggestions or requirements for adjustments to ensure the functionality meets our needs
Preview link
https://deploy-preview-12753--ethereumorg.netlify.app/en/wallets/find-wallet
Related issue