-
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
Create EditTagPage #38240
Create EditTagPage #38240
Conversation
@DylanDylann 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] |
@waterim could you please resolve conflicts? |
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.
In addition to my other comments, we should clear all selected tags in navigateToTagSettings
, like we did for categories here
@luacmartins resolved |
@waterim Please check this error |
@waterim Some minor comments. let's address it |
Thats issue regarading parent+child tags, thats not a scope of this issue |
@waterim Please fix Lint error |
This will likely be reported as a blocker, so we can tackle it then. |
@waterim BUG: the edit page should be closed when saving the old value Screen.Recording.2024-03-19.at.00.29.41.mov |
@DylanDylann Fixed saving and lint |
@waterim Lint error |
@DylanDylann Fixed |
@waterim Please check this comment |
@DylanDylann that's the old API params, the new one takes |
@luacmartins do you mean that we don't divide tag into multiple list |
@DylanDylann yes, multi-level tags are not supported on collect policies, so these users will only have a single list for now. |
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.
LGTM and tests well!
@luacmartins What happens when we create multiple tags on olddot? Wait a minute, I will post a video for more detail |
@luacmartins If we create multiple tags on olddot Screen.Recording.2024-03-19.at.22.35.49.movthere are some problems in newdot with the current implementation |
@DylanDylann Hm, I think thats because right now we are getting not only the first tagList, but mapping through all of them and of course different tagList can have the same name as another tagList tag: We can restrict with just first tagList |
Will be ooo for 30 min |
@luacmartins Currently, in the olddot we still support multiple tags, so It will cause some inconsistency with newdot. Could you help to confirm if it is intentional? |
Yea, I think that's out of the scope for this issue |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-03-19.at.23.11.52.movAndroid: mWeb ChromeScreen.Recording.2024-03-19.at.22.53.46.moviOS: NativeScreen.Recording.2024-03-19.at.23.07.06.moviOS: mWeb SafariScreen.Recording.2024-03-19.at.22.52.30.movMacOS: Chrome / SafariScreen.Recording.2024-03-19.at.22.47.50.movMacOS: DesktopScreen.Recording.2024-03-19.at.22.58.24.mov |
@waterim BUG: Status of tag is disabled when editing tag offline Screen.Recording.2024-03-19.at.22.56.12.mov |
It seems the RCA with above comment (I am using policy with multiple tag) |
let's ignore |
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.
@luacmartins All yours
✋ 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/luacmartins in version: 1.4.55-0 🚀
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 1.4.55-0 🚀
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.4.55-3 🚀
|
Details
Edit Tag Page
Fixed Issues
$ #37312
Tests
Offline tests
Same as tests
QA Steps
None
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)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
Screen.Recording.2024-03-18.at.15.09.39.mov