-
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
[hold for payment 2024-09-17] [$500] Make the Details > Members view of rooms, groups, and reports consistent #46838
Comments
Triggered auto assignment to @joekaufmanexpensify ( |
|
Triggered auto assignment to Design team member for new feature review - @dannymcclain ( |
Edited by proposal-police: This proposal was edited at 2024-08-06 13:57:41 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.We need to make the members list of rooms and reports consistent with groups and workspace members list What is the root cause of that problem?New feature What changes do you think we should make in order to solve the problem?We should update the App/src/pages/RoomMembersPage.tsx Line 307 in 412fc60
if we need to align the select all checkbox with the other checkboxes, we need to add a listHeaderWrapperStyle={[styles.ph9]} Result: If we want to use the dynamic button with a dropdown we should:
turnOnSelectionModeOnLongPress
onTurnOnSelectionMode={(item) => item && toggleUser(item)}
onSelectRow={openRoomMemberDetails}
onCheckboxPress={(item) => toggleUser(item)}
listHeaderWrapperStyle={[styles.ph9]}
/** Opens the room member details page */
const openMemberDetails = useCallback(
(item: ListItem) => {
Navigation.navigate(ROUTES.ROOM_MEMBERS_DETAILS.getRoute(report.reportID, item?.accountID ?? -1));
},
[report],
);
ROOM_MEMBERS_DETAILS: {
route: 'r/:reportID/members/:accountID',
getRoute: (reportID: string, accountID: number) => `r/${reportID}/members/${accountID}` as const,
},
We can also refactor |
ProposalPlease re-state the problem that we are trying to solve in this issue.Make the Details > Members view of rooms, groups, and reports consistent What is the root cause of that problem?Feature Request What changes do you think we should make in order to solve the problem?We will:
|
ProposalUpdated to align the "select all" checkbox with other checkboxes |
@user Your proposal will be dismissed because you did not follow the proposal template. |
Hmm, @shawnborton - Do we need to update the room members page to use the new selection mode and remove the search input? I thought we only need to update the style of the list |
We want to keep the search functionality there when it's needed. I think we include the search bar if the list is greater than 8 or something like that? |
Job added to Upwork: https://www.upwork.com/jobs/~01cc3a8881c60b2cb7 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @paultsimura ( |
Reviewing today 👀 |
@shawnborton do we want to keep the header buttons as they are now? Or do we want it to use the dynamic button with a dropdown (does the dropdown make sense if there's only 1 option – "delete")? |
I'll let Shawn weigh in, but it makes sense to me to use the dynamic button (2nd & 3rd screenshots above) because that's consistent with how groups are currently working.
Personally I think this is fine |
ProposalUpdated to use the dynamic dropdown button and add a room member details page |
We are always including the search bar |
Interesting, I would think that we only include the search bar when we hit X number of members. Thoughts on that @Expensify/design @trjExpensify @JmillsExpensify? |
Yeah I agree. Not sure why we'd treat this differently than everything else. |
Agree with Danny and Shawn |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
This ^ was a very minor copy change issue, which I addressed in a follow-up PR: #48843. |
This issue has not been updated in over 15 days. @MariaHCD, @paultsimura, @joekaufmanexpensify, @rayane-djouah eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
Hm, that is not correct. |
The PR was deployed to production yesterday as part of #48791 production deploy checklist |
This is correct. The payment is due 2024-09-17. |
Sounds good! |
This is more of a design update issue, therefore no offending PRs. I will suggest a regression test for certain parts of the implemented logic.
Regression test proposalTest 1:
Test 2:
Do we agree 👍 or 👎 |
@rayane-djouah I agree this seems like a pretty simple copy change, but it was still a regression, no? |
Sounds good on checklist, I will handle! |
I would argue with this. It would have been a regression if it broke some functionality that existed before this feature was released. Since we added the search functionality only in this PR, I would consider it a missed use-case. Honestly, this PR was huge in terms of covering different scenarios. |
I agree with Pavlo, The search input was not previously present on the report participants page and was introduced in our PR. The issue occurred because the existing message, |
Cool cool, appreciate the context. I agree there should be no regression penalty here. I'm thinking we should just consider that follow up PR as part of the payment being sent here. Does that sound good to everyone? |
Sounds good to me 👍 |
Made regression test: https://github.com/Expensify/Expensify/issues/428848 |
All set to issue payment! We need to pay:
|
@rayane-djouah $500 sent and contract ended! |
@paultsimura $500 sent and contract ended! |
Upwork job closed. |
All set, thanks everyone! |
As part of the group chat clean up, we updated the Details > Members section look like a table view:
This view matches more closely with what the Members section of the workspace editor looks like.
However, we did not update this same view when viewing certain chat rooms, like this:
So let's make this part of the app consistent and use the updated members table style everywhere.
cc @marcaaron @JmillsExpensify
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @paultsimuraThe text was updated successfully, but these errors were encountered: