-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add overflow menu to mini context menu #34031
Conversation
@rushatgabhane 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] |
@rushatgabhane The task of adding the new icons is still pending... |
src/styles/utils/generators/ReportActionContextMenuStyleUtils.ts
Outdated
Show resolved
Hide resolved
@esh-g please make sure that the performance tests pass. |
we got the icons here! - #33573 (comment) |
@rushatgabhane I have added the icons, fixed the lint and replied to the review comments. Let me know if anything is unclear! |
@esh-g could you please add screenshots for all platforms and fix conflicts |
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.
Bug: For a task, we're showing three dot menu two times.
Happens for system messages too. Please fix the root cause of this @esh-g
@rushatgabhane I wanted to ask if the steps in the tests are correct before attaching the test videos... Should I also include tests for things like money reports, attachments, tasks etc? Also, I made a small pivot where instead of using |
src/pages/home/report/ContextMenu/BaseReportActionContextMenu.js
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.
please fix the typescript errors too
@rushatgabhane Could you please confirm if the test steps are right? |
@dubielzyk-expensify Actualy I just realised that I tested the wrong branch (Was working on another bug) and attached videos for that in the PR. Will change that to the correct videos.
Yes, I was aware of this and has been discussed in slack here to be like this |
@dubielzyk-expensify @rushatgabhane I have updated this with the correct videos. Please let me know if anything is pending! |
Who is this waiting on? Can we merge today? |
@dubielzyk-expensify Yes, I was aware of this and has been discussed in slack here to be like this. Please bring your opinion to slack so that we can decide |
Thanks for that. Sorry, I was going through my GitHub issue before Slack this morning :) I've replied on the thread. Awaiting designers feedback, then we can charge ahead with the final decision. Thanks for raising this, @esh-g 👍 |
Reviewer Checklist
Screenshots/Videos |
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.
LGTM!
@esh-g @dubielzyk-expensify i think we can do that in a follow up PR after the discussion is done, it should be a small change.
So we can merge this PR. What do you think?
@esh-g can you resolve merge conflicts and retest afterwards please? @rushatgabhane could you give it a quick test after that too please? |
Looks like this is going great -- can we get this merged today so we can deploy it to staging tomorrow? |
Fixing conflicts now |
@rushatgabhane @mountiny I encountered a bug that when you select the three dot menu with keyboard, it shows up in the corner. I tried to prevent this but I think this is because the I have re-tested everything else and seems to work.. Screen.Recording.2024-01-17.at.12.40.33.PM.mov |
I dont think we have to hold for this we are still not focusing on accessibility features That being said i think you should aim for fix that in the following up pr in scope of this task as this is essentially an UX regression introduced by this change @esh-g |
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!
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/mountiny in version: 1.4.27-0 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.27-1 🚀
|
Details
Fixed Issues
$ #33573
PROPOSAL: #33573 (comment)
Tests
ThreeDot
menu and make sure the context menu is displayed.Offline tests
QA Steps
ThreeDot
menu and make sure the context menu is displayed.PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Screen.Recording.2024-01-12.at.1.55.00.PM.mov
Android: mWeb Chrome
Screen.Recording.2024-01-12.at.1.58.32.PM.mov
iOS: Native
Screen.Recording.2024-01-11.at.5.08.22.PM.mov
iOS: mWeb Safari
Screen.Recording.2024-01-12.at.2.01.50.PM.mov
MacOS: Chrome / Safari
Screen.Recording.2024-01-11.at.5.11.50.PM.mov
MacOS: Desktop
Screen.Recording.2024-01-11.at.5.24.40.PM.mov
Screen.Recording.2024-01-11.at.5.26.39.PM.mov