Fix FAB button state synchronization with create menu activity#57874
Fix FAB button state synchronization with create menu activity#57874Amoralchik wants to merge 17 commits intoExpensify:mainfrom
Conversation
|
@allroundexperts 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] |
|
@allroundexperts this is to fix a deploy blocker, do you think you could take a look at it soon? |
rushatgabhane
left a comment
There was a problem hiding this comment.
@Amoralchik this isn't quite working. The performance is not good and the fab button icon's state is inconsistent
Screen.Recording.2025-03-05.at.23.42.21.mov
|
@rushatgabhane Could you provide more information, perhaps some steps? |
|
For now, we will revert the original PR so you don't need to stress about this blocking the deploy. I've opened #57890 for the revert. |
|
@tgolen I think it's not my fault, something happened on the search page, that triggers FAB so it's starts lags, but okay, my main is pretty old, so maybe after revert we can investigate it 2025-03-06_01-24-22.mp4 |
|
oh sorry, I probably need to mention @rushatgabhane instead |
…ickable-emoji-for-exoense-task"" This reverts commit 65d675b.
|
@tgolen Sorry, My plate is full. Please re-assign if needed. |
…bject for better handling of refs
|
@rushatgabhane Please, take a look, and say what you think, as I say I still have lags onthe search page, but I guess now it works slightly better |
|
sorry, i dont have much context on this feature so I won't ve reviewing it |
|
The lag appears on main too for me, so I do not think the changes in this PR caused it. Regarding the old deploy blocker #57797, it happens because this Instead, it gets triggered first, so While using a local ref fixes this specific issue, there is still a case where the popover Screen.Recording.2025-03-10.at.8.03.47.PM.movIt does not close the first time because the |
|
@c3024 Thank you, I know about this behavior (and working on it), I just wanted to understand, if this way, works better, for rushatgabhane who pointed out performance issues in #57874 (review) for original fix |
|
Any update? |
|
@Amoralchik can you please take a look at this one? It would be great to get this out and done this week. Let us know if you are waiting on anything from anyone. |
7a8a868 to
d482b1b
Compare
|
Updated, add video, ready for review |
|
you've got conflicts here |
|
(AGAIN) Resolved by merging the latest main to the branch |
|
This a little reminder that you can start reviewing @c3024 |
|
Resolved a small conflict in ReportUtils, updated to latest main |
|
@c3024 all yours |
|
Resolved a small conflict in HTMLEngineProviderComponentList and BaseHTMLEngineProvider, updated to the latest main |
|
Resolved a conflict by updating to the latest main |
|
Resolved a conflict by updating to the latest main, again |
|
Resolved a conflict by updating to the latest main |
Explanation of Change
Fixed Issues
$ #54643 \ #57797
PROPOSAL: #54643 (comment)
Tests
Offline tests
QA Steps
Create new account
Choose "Get paid back by my employer" option in onboarding
Click the "Submit expense" task from Concierge
Make sure you can see a green emoji-like button inline with the text
Make sure you can click green button and finish Task (Create expense)
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))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
2025-03-20.13.53.48-1.mov
Android: mWeb Chrome
2025-03-20.12.33.25.mov
iOS: Native
2025-03-20.13.18.25.mov
iOS: mWeb Safari
2025-03-20.12.45.27.mov
MacOS: Chrome / Safari
2025-03-20.12.25.19-1.mov
MacOS: Desktop
2025-03-20.12.26.44-1.mov