Enable / Disable multi level tags#42315
Conversation
| * When the tags are imported as multi level tags, the index of the top | ||
| * most tag list item | ||
| */ | ||
| tagListIndex?: number; |
|
@hayata-suenaga Can we merge this PR first #42149? So we can cover the |
|
Changed the base branch to the QBO freeze branch. We can merge there anytime |
|
Can you please fix the lint issue |
|
ah I didn't realize that. thank you for letting me know 😄 I'll update my PR |
tests/actions/PolicyTagTest.ts
Outdated
| }) | ||
| .then(() => { | ||
| Policy.setWorkspaceTagEnabled(fakePolicy.id, tagsToUpdate); | ||
| Policy.setWorkspaceTagEnabled(fakePolicy.id, tagsToUpdate, fakePolicyTags[0].orderWeight); |
There was a problem hiding this comment.
| Policy.setWorkspaceTagEnabled(fakePolicy.id, tagsToUpdate, fakePolicyTags[0].orderWeight); | |
| Policy.setWorkspaceTagEnabled(fakePolicy.id, tagsToUpdate, fakePolicyTags[tagListName].orderWeight); |
tests/actions/PolicyTagTest.ts
Outdated
| mockFetch?.fail?.(); | ||
|
|
||
| Policy.setWorkspaceTagEnabled(fakePolicy.id, tagsToUpdate); | ||
| Policy.setWorkspaceTagEnabled(fakePolicy.id, tagsToUpdate, fakePolicyTags[0].orderWeight); |
There was a problem hiding this comment.
| Policy.setWorkspaceTagEnabled(fakePolicy.id, tagsToUpdate, fakePolicyTags[0].orderWeight); | |
| Policy.setWorkspaceTagEnabled(fakePolicy.id, tagsToUpdate, fakePolicyTags[tagListName].orderWeight); |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.movAndroid: mWeb ChromeNetworking issue iOS: Nativeios.moviOS: mWeb Safarimweb-safari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
|
@arosiclair 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] |
arosiclair
left a comment
There was a problem hiding this comment.
Don't have much context but LGTM
…vel-tags Enable / Disable multi level tags
|
🚀 Deployed to staging by https://github.com/arosiclair in version: 1.4.77-11 🚀
|
|
🚀 Deployed to staging by https://github.com/arosiclair in version: 1.4.77-11 🚀
|
|
@hayata-suenaga #42315 failing with #42314 in desktophttps://platform.applause.com/services/links/v1/external/03a18aec5fd806bbc900f164f8aeea0f398fff1b91024577f20675ea458b776d |
|
@kavimuru thank you for letting me know is the issue only happening on desktop? |
|
@hayata-suenaga This is happening only in desktop, retested. Screen.Recording.2024-06-03.at.6.54.05.in.the.evening.mp4 |
|
I believe this is a pusher related issue. will post this in Slack |
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.78-5 🚀
|
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.79-11 🚀
|
Details
Fixed Issues
$ #42314
PROPOSAL: N/A
Tests / QA Steps
Selectedbutton.Selectedbutton and clickDisableCustomers/Projects. Do the same thing as above. Confirm that they work.Offline tests
Follow the same steps from Step 1 to Step 2 offline and confirm it works
Do Step 3 while the device is online
Follow Step 4 to Step 8 offline and confirm it works
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionTested this on web desktop
toggleReportand 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
Screen.Recording.2024-05-16.at.11.57.38.AM.mov
MacOS: Desktop