Update tagSelection and categorySelection copies#38242
Conversation
|
@marcochavezf 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] |
| threadSentMoneyReportName: ({formattedAmount, comment}: ThreadSentMoneyReportNameParams) => `${formattedAmount} sent${comment ? ` for ${comment}` : ''}`, | ||
| tagSelection: ({tagName}: TagSelectionParams) => `Select a ${tagName} to add additional organization to your money.`, | ||
| categorySelection: 'Select a category to add additional organization to your money.', | ||
| tagSelection: 'Select a tag to better organize your spend.', |
There was a problem hiding this comment.
Why are we no longer using the tagName? If the field is called "Department" for example, they won't know what "tag" means right?
There was a problem hiding this comment.
See the linked conversation, but 2 reasons:
- The tag list can be called
Departments,Select a Departments to better organize your spend.is not english Departmentsis present at the top of the view
| SizeExceededParams, | ||
| SplitAmountParams, | ||
| StepCounterParams, | ||
| TagSelectionParams, |
There was a problem hiding this comment.
I think we should also remove this from types since it's no longer used
Line 213 in 09eb438
There was a problem hiding this comment.
Good catch, fixed! Very strange to me that this type existed just to define a string 😕
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Desktop |
|
✋ 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/marcochavezf in version: 1.4.55-0 🚀
|
|
🚀 Deployed to staging by https://github.com/marcochavezf in version: 1.4.55-0 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.4.55-3 🚀
|


Details
Fixed Issues
Discussed internally https://expensify.slack.com/archives/C03U7DCU4/p1710182899209589
See #26954 (comment)
See #29266 (comment)
Tests
Select a category to better organize your spend.Select a tag to better organize your spend.Offline tests
Select a category to better organize your spend.Select a tag to better organize your spend.QA Steps
Select a category to better organize your spend.Select a tag to better organize your spend.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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop