Repository navigation
Conversation
|
It's looking good so far. I'll finish testing and complete the checklist on Monday, but I noticed something. When we import categories with the same name, the notification modal counts all occurrences of the categories, including repeated ones, but the imported categories list does not: Screen.Recording.2024-11-23.at.09.14.33.movI'm not sure if this falls within the scope of the issue. What do you think, @abzokhattab and @neil-marcellini? Thanks! |
i agree, it should update to the correct number in this case ... should we consider it as a part of this issue or in another issue? @neil-marcellini |
|
Yes lets add it in scope of this, should be quick |
|
Thank you very much @mountiny. @abzokhattab, please, let me know if you need anything or when you have it ready to review 🚀 |
good i added a commit covering this point .. please have a look @brunovjk Result: Screen.Recording.2024-11-27.at.12.45.04.mov |
|
Great @abzokhattab! Do you mind fixing the lint/prettier errors before reviewing? Thanks |
|
There we go |
Reviewer Checklist
Screenshots/VideosAndroid: Native52992_android_native.movAndroid: mWeb Chrome52992_android_web.moviOS: Native52992_ios_native.moviOS: mWeb Safari52992_ios_web.movMacOS: Chrome / Safari52992_web_chrome.movMacOS: Desktop52992_web_desktop.mov |
mountiny
left a comment
There was a problem hiding this comment.
LGTM assuming the translations are correct
| column: ({name}: SpreadSheetColumnParams) => `Column ${name}`, | ||
| fieldNotMapped: ({fieldName}: SpreadFieldNameParams) => `Oops! A required field ("${fieldName}") hasn't been mapped. Please review and try again.`, | ||
| singleFieldMultipleColumns: ({fieldName}: SpreadFieldNameParams) => `Oops! You've mapped a single field ("${fieldName}") to multiple columns. Please review and try again.`, | ||
| emptyMappedField: ({fieldName}: SpreadFieldNameParams) => `Oops! the field ("${fieldName}") contains one or more empty values. Please review and try.`, |
There was a problem hiding this comment.
@abzokhattab please, Change "the" to "The" after "Oops!" and replace "try" with "try again"
|
@mountiny another step I missed—unit test. I think we can update PolicyCategoryTest.ts to add coverage for the new validation logic. Here's a draft:What do you think? |
Confirmed here |
|
✋ 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: 9.0.68-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.68-7 🚀
|
Explanation of Change
Fixed Issues
$ #52765
PROPOSAL: #52765 (comment)
Tests
Oops! The field ("Name") contains one or more empty values. Please review and try again.Offline tests
Same as tests
QA Steps
Same as tests
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
Screen.Recording.2024-11-23.at.03.45.15.mov
Android: mWeb Chrome
Screen.Recording.2024-11-23.at.03.46.44.mov
iOS: Native
Screen.Recording.2024-11-23.at.03.41.42.mov
iOS: mWeb Safari
Screen.Recording.2024-11-23.at.03.43.40.mov
MacOS: Chrome / Safari
Screen.Recording.2024-11-23.at.03.36.29.mov
MacOS: Desktop
Screen.Recording.2024-11-23.at.03.52.37.mov