-
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
[Awaiting checklist completion] [$500] Workspace – Workspace chat name and avatar changes to the default after deleting WS #37759
Comments
Triggered auto assignment to @twisterdotcom ( |
We think that this bug might be related to #wave8 |
@twisterdotcom FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
Job added to Upwork: https://www.upwork.com/jobs/~01478bd4327a5c24c1 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane ( |
37759.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Workspace – Workspace chat name and avatar changes to the default after deleting WS What is the root cause of that problem?Here we are falling back to Lines 597 to 598 in 5787691
as we set oldPolicyName when we delete workspaceApp/src/libs/actions/Policy.ts Lines 298 to 299 in 5787691
Lines 74 to 75 in 5787691
What changes do you think we should make in order to solve the problem?We need to prioritize Lines 2639 to 2641 in 5787691
As we might need only to use oldPolicyName for archived workspace we can use isArchivedRoom(report) condition to prioritize oldPolicyName to only use it when the workspace is archived oneLines 597 to 598 in 5787691
What alternative solutions did you explore? (Optional)We can make the change here if we don't want to change the Lines 2594 to 2595 in 5787691
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Workspace chat name and avatar changes to the default. The workspace name should be consistent across #admin, #announce and workspace room What is the root cause of that problem?When we delete the workspace, we update the App/src/libs/actions/Policy.ts Line 299 in a04481f
It leads Line 597 in a04481f
After That's the root cause of this issue What changes do you think we should make in order to solve the problem?Since BE will return
App/src/libs/actions/Policy.ts Line 299 in a04481f
What alternative solutions did you explore? (Optional)When we change the display name of WS, we should update |
ProposalPlease re-state the problem that we are trying to solve in this issue. The chat name and avatar in the workspace are reset to the default. The workspace name must remain consistent across #admin, #announce, and the workspace room. What is the root cause of that problem? When the workspace is deleted, we ensure that the oldPolicyName is left empty. here What changes do you think we should make in order to solve the problem? App/src/libs/actions/Policy.ts Lines 298 to 299 in a04481f
What alternative solutions did you explore? (Optional) we need to check if Workspace got deleted then use report?.oldPolicyName else report?.policyName Line 597 in a04481f
|
@sobitneupane lots of proposals to go at here. |
Please re-state the problem that we are trying to solve in this issue.Workspace – Workspace chat name and avatar changes to the default after deleting WS What is the root cause of that problem?The root cause of this problem lies in how the system handles the retrieval of workspace names. Currently, the system prioritizes What changes do you think we should make in order to solve the problem?https://github.com/Expensify/App/blob/main/src/libs/ReportUtils.ts#L590
Handle finalPolicyName as potentially undefined.
Video:-https://drive.google.com/file/d/1cINMbBK3n5VRVuxrMuVgVQWgGH5r6XSX/view?usp=sharing |
I believe the best place to handle this is on the back end such that when a workspace is deleted, Line 597 in a04481f
|
bump @sobitneupane |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Thanks for the proposal everyone. Proposal from @dukenv0307 looks good to me. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @cead22, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
❌ There was an error making the offer to @dukenv0307 for the Contributor role. The BZ member will need to manually hire the contributor. |
Not overdue, just hired @dukenv0307 |
@sobitneupane The PR is ready for review. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.55-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-03-29. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Payment Summary:
|
Bump @sobitneupane |
No overdue |
#33691 This regression was probably caused by typescript migration PR.
N/A
Yes.
|
Regression Test Proposal
Do we agree 👍 or 👎 |
$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: 1.4.47-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4378569
Email or phone of affected tester (no customers): [email protected]
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
Workspace chat has the same name as in step 3
Actual Result:
Workspace chat name and avatar changes to the default. The workspace name should be consistent across #admin, #announce and workspace room
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6402837_1709646269288.WS_with_name_changes_avatar_and_name.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @sobitneupaneThe text was updated successfully, but these errors were encountered: