Add back missing educational tooltip on Has filter#91683
Conversation
|
@marufsharifi Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b86907cf42
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
I haven't been following this, but I kinda think the tooltip is the wrong pattern here and if anything we should maybe just do as simple as:
Does this work for everything Reason I'm saying the tooltip is wrong is because it feels like it's a bit delayed and also this is a very quick interaction area and I worry that the tooltip won't even stay up enough to matter. cc @Expensify/design @trjExpensify |
Yes. It works for other filters too actually, for example, I can do "-amount:1" and it will show all expenses with an amount not equal to 1. |
|
The tooltip was added in #81737 |
|
I think those are valid points Jon. Putting a floating element (tooltip) on top of another floating element (filter UI) is definitely a bit tricky, so I like what you are suggesting here. That being said, curious if @JmillsExpensify might argue that we could avoid this tooltip/hint text altogether if we just had any kind of negation UI? Maybe that's the real solution here? |
|
Might even be as simple as doing something like:
It's a bit awkward but I think it would work? |
I think that kinda works. I tinkered with some is/isn't on the chips at some point when doing the filters but didn't wanna complicate it for now. But this might hold us over until we find a more holistic solution |
|
I like the little message you're presenting in the Filter menu Jon, but I also don't hate Shawn's idea. It is a little bit awkward but for our users it definitely seems way easier to understand. We could honestly do both and that would not seem that insane to me (based on what we've learned from FS and such...) |
|
So, what's the design decision? Just to remind again that this |
|
@JmillsExpensify can you chime in here please? |

Explanation of Change
Fixed Issues
$ #91657
PROPOSAL:
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
Prerequisite: haven't dismissed the has receipt filter educational tooltip before (can easily be tested with a new account)
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
web.mp4