fix: allow selection list to be greyed for tags#38332
Conversation
|
@ishpaul777 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] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeRecord_2024-03-15-04-48-42.mp4Android: mWeb ChromeRecord_2024-03-15-04-55-22.mp4iOS: NativeScreen.Recording.2024-03-15.at.3.51.36.AM.moviOS: mWeb SafariScreen.Recording.2024-03-15.at.4.13.51.AM.movMacOS: Chrome / SafariScreen.Recording.2024-03-15.at.4.11.46.AM.movMacOS: Desktop |
| [tagName]: { | ||
| errors: null, | ||
| }, |
There was a problem hiding this comment.
shouldn't we remove the tag also?
There was a problem hiding this comment.
We can if we want to. @mountiny @luacmartins Please enlighten us!
There was a problem hiding this comment.
Nice catch. Yes, I think in the ADD case, we should also remove the tag. For UPDATE or DELETE we just clear the error.
|
@allroundexperts any update on when can you finish? |
c047c0b
|
@ishpaul777 done! |
| tag.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.ADD | ||
| ? null | ||
| : { | ||
| errors: null, | ||
| }, | ||
| }, |
There was a problem hiding this comment.
I dont think this is gonna work, we update pendingAction to null when request fail, check the failureData in function just above it.
There was a problem hiding this comment.
Screen.Recording.2024-03-15.at.5.29.30.AM.mov
There was a problem hiding this comment.
Let's follow the same pattern as we have in this PR
| tag.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.ADD | ||
| ? null | ||
| : { | ||
| errors: null, | ||
| }, | ||
| }, |
There was a problem hiding this comment.
Let's follow the same pattern as we have in this PR
ishpaul777
left a comment
There was a problem hiding this comment.
Confirmed the fix works well!
Screen.Recording.2024-03-15.at.5.52.02.AM.mov
|
✋ 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/luacmartins in version: 1.4.53-0 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.4.53-2 🚀
|
Details
This PR adds offline behaviour to the tag display list.
Fixed Issues
$ #38289
PROPOSAL: N/A
Tests
POLICY_ID_HEREwith your workspace id:xbutton next to the error.x.Offline tests
N/A
QA Steps
POLICY_ID_HEREwith your workspace id:xbutton next to the error.x.PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.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 so 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
Screen.Recording.2024-03-14.at.10.39.14.PM.mov
Android: mWeb Chrome
Screen.Recording.2024-03-14.at.10.41.07.PM.mov
iOS: Native
Screen.Recording.2024-03-14.at.10.33.06.PM.mov
iOS: mWeb Safari
Screen.Recording.2024-03-14.at.10.31.03.PM.mov
Screen.Recording.2024-03-14.at.10.30.33.PM.mov
MacOS: Chrome / Safari
Screen.Recording.2024-03-14.at.10.00.57.PM.mov
Screen.Recording.2024-03-14.at.10.20.48.PM.mov
MacOS: Desktop
Screen.Recording.2024-03-14.at.10.27.10.PM.mov
Screen.Recording.2024-03-14.at.10.28.00.PM.mov