[FIX]: Inconsistent behavior when saving existing name without edit and unnecessary API calls - #38757
Conversation
|
@eh2077 I will be the C+ here. Sorry for the wrong ping. |
|
Friendly bump @shubham1206agra |
|
@GandalfGwaihir Can you merge main here? |
|
oh yes @shubham1206agra :) |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-03-26.at.6.34.23.PM.movAndroid: mWeb ChromeScreen.Recording.2024-03-26.at.6.07.57.PM.moviOS: NativeScreen.Recording.2024-03-26.at.6.17.17.PM.moviOS: mWeb SafariScreen.Recording.2024-03-26.at.6.02.32.PM.movMacOS: Chrome / SafariScreen.Recording.2024-03-26.at.5.59.45.PM.movMacOS: DesktopScreen.Recording.2024-03-26.at.6.12.55.PM.mov |
mountiny
left a comment
There was a problem hiding this comment.
Thanks, very close @GandalfGwaihir
|
@mountiny, updated the docs, can you review this again please |
|
@GandalfGwaihir Fix lint here. |
|
done @shubham1206agra 👍 |
mountiny
left a comment
There was a problem hiding this comment.
I would say we could add that comment above the editTAg useCallback but its fine
Thank you for working on this 🚀
|
@mountiny looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
Test were passing |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Details
We were getting inconsistent errors for
tagsandcategories, fixed that over here, and also fixed unnecessaryapicalls which were made without any edit to the text savedFixed Issues
$ #38668
PROPOSAL: #38668 (comment)
Tests
Same as QA
Offline tests
Same as QA
QA Steps
Precondition:
Observe that when the name is being edit but no change has been done, it do nothing and the modal just closes and the API call is skipped
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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
MacOS: Chrome / Safari
Untitled.Project.mp4
MacOS: Desktop
issue38668-macDesktop.mp4
iOS: mWeb Safari
WhatsApp.Video.2024-03-21.at.11.34.14.PM.mp4
iOS: Native
WhatsApp.Video.2024-03-21.at.11.34.11.PM.mp4
Android: Native
simplescreenrecorder-2024-03-21_23.30.06.mp4
Android: mWeb Chrome
simplescreenrecorder-2024-03-21_23.30.22.mp4