-
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
[$125] Workspace - System message changes in the #admins room after changing WS description #53534
Comments
Triggered auto assignment to @trjExpensify ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.System message changes in the #admins room after changing WS description. "updated the description of this workspace from "" to" message is briefly visible before it changes to "updated the description of this workspace to". What is the root cause of that problem?We don't have a translation for ![]() What changes do you think we should make in order to solve the problem?
App/src/libs/ReportActionsUtils.ts Line 1245 in 00f0dee
App/src/libs/ReportActionsUtils.ts Line 1289 in 00f0dee
OPTIONAL: When we update workspace description we can generate this action in optimistic data and send the reportActionID to backend to generate this action What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?None What alternative solutions did you explore? (Optional) |
Job added to Upwork: https://www.upwork.com/jobs/~021864276008252275164 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee ( |
@nkdengineer's proposal LGTM. I think a unit test might be appropriate here though? |
🎀👀🎀 C+ reviewed |
Triggered auto assignment to @mountiny, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
If we want I think we can add a unit test for |
this needs to be fixed on the BE i guess, if the admin/owner is editing description for the first time, this bug occurs because BE doesn't check if we are editing for the first time. The OpenReport call sends the correct data which means we only need to fix the changelog when the user updates the description, what do you think @jjcoffee ? |
This is a BE bug |
Ah my bad I thought it was being set optimistically! @mountiny I guess it doesn't make sense to add a new translation for |
We already do this for update room description so I think we can do the same for update policy description. Line 5302 in ccc5efd
cc @trjExpensify What do you think? |
Still need to make this change in the be |
Gotcha, okay. |
Started a draft |
@trjExpensify, @jjcoffee, @mountiny Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@trjExpensify, @jjcoffee, @mountiny Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Alrighty, that Auth PR has been deployed. Are we good here? |
@trjExpensify What do you think about my comment here #53534 (comment)? |
Do other actualy workspace change logs to settings on the workspace get translated now, or only this room description example? |
@trjExpensify Yes some other change logs like remove/invite member, update workspace name,... have already translated. |
"some other" ... but not all workspace change logs? 🤔 |
Yes, not all workspace change logs. |
That's a sorta' weird inconsistency. Any idea why, @JmillsExpensify? |
@trjExpensify I think this because we have many workspace change logs action, we're only focusing on the translation for the popular system logs mentioned above. |
Hm, I don't think "workspace description" is that popular. But equally, whatever they change it to will be in the language they write. So I think it's probably fine. I do think we should consider being consistent with translating workspace change logs and not partial ones though at some point. |
@trjExpensify, @jjcoffee, @mountiny 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@trjExpensify, @jjcoffee, @mountiny Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it! |
I have also updated the copy in Web https://github.com/Expensify/Web-Expensify/pull/44911 |
What is the conclusion about the translations? I agree we should be consistent @trjExpensify |
Yeah, seems like we should do the following:
|
Workspace change logs are super old, so I wouldn't be surprised if the entirety of them are not translated. In fact, workspace description would only added more recently right, as part of simplified collect? So maybe we didn't add the right translation at that point. |
Hm yeah, it's strange that apparently only the workspace change logs for invite/remove workspace members and updating the workspace name are translated. |
@trjExpensify, @jjcoffee, @mountiny Eep! 4 days overdue now. Issues have feelings too... |
Upwork job price has been updated to $125 |
@nkdengineer do you want to add the translations here for 125? |
@mountiny Yeah I can do this. |
Sorry for the late response - it doesn't look like we discussed translations at all in the original Workspace Change Logs design doc, so I'm not surprised that the functionality isn't really there for most changes. I agree that we should create a separate issue to translating workspace change logs overall. |
Nice so i think we can close this one |
Yup, thanks everyone! |
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: 9.0.71-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5296387&group_by=cases:section_id&group_id=229065&group_order=asc
Email or phone of affected tester (no customers): N/A
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
System message should be "updated the description of this workspace to".
Actual Result:
System message changes in the #admins room after changing WS description. "updated the description of this workspace from "" to" message is briefly visible before it changes to "updated the description of this workspace to".
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6683907_1733291774960.bandicam_2024-12-04_06-47-43-549.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @mountinyThe text was updated successfully, but these errors were encountered: