Show highlighting in tags only when we have dependent tags#65956
Show highlighting in tags only when we have dependent tags#65956yuwenmemon merged 1 commit intoExpensify:mainfrom
Conversation
| import {isReceiptError} from '@libs/ErrorUtils'; | ||
| import {hasEnabledOptions} from '@libs/OptionsListUtils'; | ||
| import {getTagLists, hasDependentTags, isTaxTrackingEnabled} from '@libs/PolicyUtils'; | ||
| import {getTagLists, hasDependentTags as hasDependentTagsPolicyUtils, isTaxTrackingEnabled} from '@libs/PolicyUtils'; |
There was a problem hiding this comment.
This is a weird alias for the function. Why can't you just keep it hasDependentTags?
There was a problem hiding this comment.
it's according to style.md
There was a problem hiding this comment.
if variable name and function name are the same, then we should use PolicyUtils as suffix to the function name
There was a problem hiding this comment.
Okay, I guess I see some other examples of that. But technically I feel like that was for two conflicting method names of the same name.
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / 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/yuwenmemon in version: 9.1.81-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.1.81-7 🚀
|

Explanation of Change
Fixed Issues
$ #64544
PROPOSAL: N/A
Tests
Offline tests
QA Steps
Verify that there is not highlight in tags field when we open it.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand 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.Screen.Recording.2025-07-11.at.10.37.53.PM.mov
Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop