Implement same tag splitting logic we have in the API#36978
Merged
Conversation
2788f05 to
ade9319
Compare
ade9319 to
13583b5
Compare
50 tasks
Contributor
|
@yuwenmemon we may also want to use |
Contributor
Author
|
Ah yes thank you @Ollyws - updated! |
Contributor
Reviewer Checklist
Screenshots/Videos |
|
@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] |
marcochavezf
approved these changes
Feb 23, 2024
marcochavezf
left a comment
Contributor
There was a problem hiding this comment.
LGTM, all yours @AndrewGable
Contributor
Author
|
Thanks! We don't need to wait on Andrew |
OSBotify
pushed a commit
that referenced
this pull request
Feb 23, 2024
Implement same tag splitting logic we have in the API (cherry picked from commit 4a885f5)
Contributor
|
CP-d to staging and should be testable in version 1.4.43-18. |
Contributor
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.43-20 🚀
|
6 tasks
6 tasks
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.






@AndrewGable please review
cc @rezkiy37
Details
@rezkiy37 My bad I should have thought about this in the review but splitting tags ends up not becoming as simple as splitting by the colon delimiter. I'm just copying some logic from JS in OldDot since it's tried and true. A good follow-up will be to move this to expensify-common so it can be used by both repos but I don't know how much we want to put a transaction util method there or if it's worth the hassle as we move over to NewDot.
Fixed Issues
$ #36916
Tests/QA
Preconditions:
In OldDot under admin, create a Collect group policy, enable tags and add the tag "Child: Tom", add the employee to the policy. (For Applause, setup OldDot Collect Policy instructions here:
https://sites.google.com/applausemail.com/applause-expensifyproject/wiki-guides/newdot-categories?authuser=0)
Do the same steps as above but with a policy that has multiple levels of tags enabled. Make sure you can still select all tags.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.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 so 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