Repository navigation
Offer the workspace members bulk actions in the floating bar - #102380
Krishna2323 wants to merge 37 commits into
Conversation
Signed-off-by: krishna2323 <[email protected]>
Signed-off-by: krishna2323 <[email protected]>
Signed-off-by: krishna2323 <[email protected]>
|
@shubham1206agra 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] |
dylanexpensify
left a comment
There was a problem hiding this comment.
Looks good from a product perspective 👍
…01898-members-bulk-action-bar # Conflicts: # src/components/BulkActionBar/index.tsx
Signed-off-by: krishna2323 <[email protected]>
Signed-off-by: krishna2323 <[email protected]>
|
Hey, I noticed you changed If you want to automatically generate translations for other locales, an Expensify employee will have to:
Alternatively, if you are an external contributor, you can run the translation script locally with your own OpenAI API key. To learn more, try running: npx bun ./scripts/generateTranslations.ts --helpTypically, you'd want to translate only what you changed by running |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
Signed-off-by: krishna2323 <[email protected]>
Signed-off-by: krishna2323 <[email protected]>
Signed-off-by: krishna2323 <[email protected]>
|
@MelvinBot review |
ReviewThe approach looks right: the bar is driven by the table's controlled selection, so the bar, the page's 1. CI is red because the new copy exists only in 2. Pressing an action drops focus to Minor points
|
Signed-off-by: krishna2323 <[email protected]>
|
Oh I waaay prefer that. Great call 👍 |
|
Same! |
…01898-members-bulk-action-bar # Conflicts: # src/CONST/index.ts # src/pages/workspace/WorkspaceMembersPage.tsx # tests/ui/WorkspaceMembersTest.tsx
Signed-off-by: krishna2323 <[email protected]>
Signed-off-by: krishna2323 <[email protected]>
Signed-off-by: krishna2323 <[email protected]>
…01898-members-bulk-action-bar # Conflicts: # src/libs/PolicyUtils/index.ts
Signed-off-by: krishna2323 <[email protected]>
Signed-off-by: krishna2323 <[email protected]>
…01898-members-bulk-action-bar # Conflicts: # src/components/Table/Table.tsx # tests/ui/WorkspaceMembersTest.tsx
Signed-off-by: krishna2323 <[email protected]>
…odal state Signed-off-by: krishna2323 <[email protected]>
|
Failing check is on main |
|
@shubham1206agra friendly bump |
…01898-members-bulk-action-bar # Conflicts: # src/pages/workspace/WorkspaceMembersPage.tsx # src/pages/workspace/withPolicy.tsx # tests/ui/WorkspaceMembersTest.tsx
|
@Krishna2323 Fix tests please |
…01898-members-bulk-action-bar # Conflicts: # src/libs/Navigation/types.ts
Signed-off-by: krishna2323 <[email protected]>

Explanation of Change
Fixed Issues
$ #101898
PROPOSAL:
Tests
Setup: sign in as an admin of a Collect or Control workspace with at least 4 members in
assorted roles (admin, member, auditor). Open Workspaces > [workspace] > Members in a
maximized browser window.
The bar replaces the header dropdown
"1 selected" dropdown.
Actions in the bar
supports more actions than that.
like the bar rather than the page.
offered for that selection: Remove member, Make admin, Make auditor,
Make card admin (Control only), and no Make member for a member.
Keyboard
Esc.Escagain with nothing selected.Esc.Layout
N selected dropdown in the header.
Offline tests
of the old header dropdown.
QA Steps
Same as tests
Verify that no errors appear in the JS console
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso 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_hybrid.mp4
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
web_chrome.mp4