-
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
[Awaiting Payment 7th March] MEDIUM: [$500] Room visibility can’t be changed after a room is created. #33992
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01e677bbd00cd30d54 |
Triggered auto assignment to @trjExpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane ( |
Proposalfrom: @unicorndev-727 Please re-state the problem that we are trying to solve in this issue.Room visibility can’t be changed after a room is created. What is the root cause of that problem?The root cause is that we didn't add visibility options here. App/src/pages/settings/Report/ReportSettingsPage.js Lines 177 to 190 in dc3e19b
What changes do you think we should make in order to solve the problem?We need to add options here like this App/src/pages/workspace/WorkspaceNewRoomPage.js Lines 321 to 331 in 095161a
And need to implement the feature to update room visibility in frontend and backend when the visibility is changed in ValuePicker .
What alternative solutions did you explore?N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.Room visibility can’t be changed after a room is created What is the root cause of that problem?here we dont give the option to the user to change visiblity: App/src/pages/settings/Report/ReportSettingsPage.js Lines 177 to 193 in 9208c95
What changes do you think we should make in order to solve the problem?we need to use <MenuItemWithTopDescription
shouldShowRightIcon
title={report.visibility}
description={translate('newRoomPage.visibility')}
onPress={() => Navigation.navigate(ROUTES.REPORT_SETTINGS_VISIBILITY.getRoute(report.reportID))}
/> and the navigation should route to a new page similar to this but for visiblity and it should update the backend on change |
ProposalPlease re-state the problem that we are trying to solve in this issue.Room visibility can't be changed and no option What is the root cause of that problem?This is new feature, we never allow it before. What changes do you think we should make in order to solve the problem?In
If we want to directly use a Note for C+: Please make sure to look into the proposal edit history as well to assist with the review, at the time I posted my proposal, existing proposals are 1-line UI change that won't add the feature, then after I posted my proposal, those proposals were gradually updated to include changes in my proposal. What alternative solutions did you explore? (Optional)NA |
I think this is a |
Current assignee @trjExpensify is eligible for the NewFeature assigner, not assigning anyone new. |
I'll write the backend for this and then we can look for a contributor to help out with the front end! |
Proposal updated with minor changes for clarification |
Nice, thanks @jasperhuangg. |
Back-end PRs have been submitted for review |
@sobitneupane FWIW I like @tienifr's proposal, they go in depth and also include the edge cases where we aren't able to modify the room visibility in their solution. |
I agree with @jasperhuangg. Proposal from @tienifr has included all the facets required. 🎀 👀 🎀 C+ reviewed |
Current assignee @jasperhuangg is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
Correct! Are we worried at all about a |
The PR is up |
@jasperhuangg, @trjExpensify Should we show an alert when user selects Public visibility? I personally don't think it is necessary. Screen.Recording.2024-02-15.at.14.15.58.mov |
@sobitneupane yeah, we should. That was the outcome of the Slack thread. |
Yo! What's the latest ETA for merging this PR? |
@quinthar C+ is reviewing it right now, it's a pretty simple change so I estimate it'll be merged early next week. |
There are some minor issues in the PR. @tienifr Can you please prioritize the PR. |
bump @tienifr on above 🙇 |
@jasperhuangg @sobitneupane Thanks for pointing that out. I updated the PR |
PR merged! Thank you guys for your help on this issue. |
PR hit staging 15 hours ago. |
@trjExpensify PR hit production. Melvin is malfunctioning. Please add HOLD for payment label. |
👋 checklist time, @sobitneupane! |
Bump! :) |
Waiting on the checklist from @sobitneupane to proceed with payments. :) |
Regression Test Proposal:
Do we agree 👍 or 👎 |
@MitchExpensify @jasperhuangg I was just looking for regression tests related to user-created rooms and things like testing all the visibility types etc. I can't seem to find much at all in TestRail. Why is that? With UCR's now released, I think it would be good for you guys to audit what exists for rooms in TestRail and supply Applause with the missing regression test cases for the mainline flows. Discoverability/visibility settings seem like staples we should have included. |
Payment summary as follows:
|
Settled up. Reached out to @MitchExpensify about #33992 (comment) we can progress it elsewhere. |
That's a good call @trjExpensify, will tackle that audit here https://github.com/Expensify/Expensify/issues/381804 |
Perfect, thanks! |
$500 approved for @sobitneupane |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: v1.4.22-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @puneetlath
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1704300040652649
Action Performed:
1.Create a room by Selecting any visibility option
2.Click room details > settings
Expected Result:
Option to change room visibility
Actual Result:
Room visibility can't be changed and no option
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Visibility.mp4
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: