-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Add import and export CSV flow for Tags #48877
Add import and export CSV flow for Tags #48877
Conversation
…-fork into Guccio/import-tags-csv
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.
Looks good too! 🙌
…-fork into Guccio/import-tags-csv
…-fork into Guccio/import-tags-csv
@Expensify/design PR ready to check out |
@rushatgabhane 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] |
…-fork into Guccio/import-tags-csv
@rushatgabhane in case of conflicts/change requests please ping me, I'm going to take over from Wiktor as he will be OOO in the next days 😄 |
@rushatgabhane When do you think you'll be able to finish the review on this one? |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-09-15.at.22.02.57.movAndroid: mWeb ChromeiOS: NativeScreen.Recording.2024-09-15.at.22.00.24.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.
LGTM
We did not find an internal engineer to review this PR, trying to assign a random engineer to #47870 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
@MonilBhavsar Merged the newest main for you 😄 |
{text: translate('common.enabled'), value: CONST.CSV_IMPORT_COLUMNS.ENABLED, isRequired: true}, | ||
); | ||
|
||
if (isControl) { |
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.
NAB, let's use isControlPolicy(policy)
directly
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.
Or we can rename constant to isControlPolicy
Looks good overall! |
@MonilBhavsar Moved the condition, so it's used directly 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.
Thanks! Looks good 👍
✋ 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/MonilBhavsar in version: 9.0.37-0 🚀
|
🚀 Deployed to production by https://github.com/grgia in version: 9.0.38-4 🚀
|
Details
This PR adds the import and export logic to the
Tags
sections of the workspace. Right now it supports only workspaces with 1 tag list, no more. For workspaces with more than 1 tag list, the whole three-dot menu is invisible. This PR takes into account all raised and fixed bugs forCategory
section's import/export functions.Fyi: This PR is created in parallel with PR for
Members
import/export which operates on similar files - depending on which gets merged earlier there will be few minor conflicts to take care of.Fixed Issues
$ #47870
PROPOSAL:
Tests
Import:
Export:
Offline tests
N/A
QA Steps
N/A
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
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.mov
android.mov
Android: mWeb Chrome
mWeb-android.mov
mWeb-android.mov
iOS: Native
ios.mov
ios.mov
iOS: mWeb Safari
mWeb-ios.mov
mWeb-ios.mov
MacOS: Chrome / Safari
web.mov
web.mov
MacOS: Desktop
desktop.mov
desktop.mov