-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable / Disable multi level tags #42315
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; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same ^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good. Testing...
tests/actions/PolicyTagTest.ts
Outdated
@@ -395,7 +395,7 @@ describe('actions/Policy', () => { | |||
Onyx.set(`${ONYXKEYS.COLLECTION.POLICY_TAGS}${fakePolicy.id}`, fakePolicyTags); | |||
}) | |||
.then(() => { | |||
Policy.setWorkspaceTagEnabled(fakePolicy.id, tagsToUpdate); | |||
Policy.setWorkspaceTagEnabled(fakePolicy.id, tagsToUpdate, fakePolicyTags[0].orderWeight); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Policy.setWorkspaceTagEnabled(fakePolicy.id, tagsToUpdate, fakePolicyTags[0].orderWeight); | |
Policy.setWorkspaceTagEnabled(fakePolicy.id, tagsToUpdate, fakePolicyTags[tagListName].orderWeight); |
tests/actions/PolicyTagTest.ts
Outdated
@@ -468,7 +468,7 @@ describe('actions/Policy', () => { | |||
.then(() => { | |||
mockFetch?.fail?.(); | |||
|
|||
Policy.setWorkspaceTagEnabled(fakePolicy.id, tagsToUpdate); | |||
Policy.setWorkspaceTagEnabled(fakePolicy.id, tagsToUpdate, fakePolicyTags[0].orderWeight); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix the test and
@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] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
Selected
button.Selected
button and clickDisable
Customers/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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectionTested this on web desktop
toggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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