-
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 Members #48876
Add import and export CSV flow for Members #48876
Conversation
…/import-members-csv
…-fork into filip-solecki/import-members-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.
Overall looks good! 👍
Co-authored-by: Błażej Kustra <[email protected]>
…-fork into Guccio163/import-members-csv
…-fork into Guccio163/import-members-csv
…-fork into Guccio163/import-members-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] |
@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.09.34.movScreen.Recording.2024-09-15.at.22.12.20.movAndroid: mWeb ChromeiOS: NativeScreen.Recording.2024-09-15.at.22.18.13.moviOS: mWeb SafariScreen.Recording.2024-09-15.at.22.16.40.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 #47869 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
@madmax330 Merged the newest main for you 😄 |
Thanks for review @rlinoz, I also merged newest main when applying changes |
…-fork into Guccio163/import-members-csv
…-fork into Guccio163/import-members-csv
…-fork into Guccio163/import-members-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.
Nice work!
@madmax330 just LYK I think it's ready for merge |
…-fork into Guccio163/import-members-csv
…-fork into Guccio163/import-members-csv
…-fork into Guccio163/import-members-csv
@madmax330 bumping, ready for merge |
@madmax330 looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
All tests were passing |
✋ 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/madmax330 in version: 9.0.40-0 🚀
|
@@ -531,7 +535,7 @@ function WorkspaceMembersPage({personalDetails, route, policy, currentUserPerson | |||
return null; | |||
} | |||
return ( | |||
<View style={styles.w100}> | |||
<View style={[styles.flexRow, styles.gap2, shouldUseNarrowLayout && styles.mb3]}> |
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.
This seems to have caused this: #49749, why did we change the style here? @Guccio163
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.
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.
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.0.40-6 🚀
|
const policyID = route.params.policyID; | ||
|
||
return ( | ||
<ImportSpreedsheet |
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.
We need to wrap it with AccessOrNotFoundWrapper
to avoid issue #51129
Details
This PR adds the import and export logic to the
Members
sections of the workspace. 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
Tags
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
$ #47869
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