-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Due for payment 2025-02-18] Trip - Room name field does not include left parenthesis of the trip room name #54539
Comments
Triggered auto assignment to @laurenreidexpensify ( |
@laurenreidexpensify Eep! 4 days overdue now. Issues have feelings too... |
I see latest version of staging is v9.0.79-4, so let's retest on that before moving forward |
@laurenreidexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Waiting for retest |
ProposalPlease re-state the problem that we are trying to solve in this issue.Trip - Room name field does not include left parenthesis of the trip room name What is the root cause of that problem?In code, the room name is assumed to always be prefixed with
What changes do you think we should make in order to solve the problem?Either prefix trip room names with -value={value?.substring(1)}
+value={value?.startsWith(CONST.POLICY.ROOM_PREFIX) ? value.substring(1) : value} What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?A test to validate the value of |
@laurenreidexpensify Since contributors don't have access to trip rooms. Please assign this to me and @blazejkustra. |
@blazejkustra pls comment on issue so I can assign you thanks |
@shubham1206agra @laurenreidexpensify this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
Sorry, I was OOO until today. Commenting for assignment @laurenreidexpensify |
I'm a bit confused, it seems like I can't edit the room name for my trips: Screen.Recording.2025-01-07.at.12.21.01.movCould it be that something changed during last two weeks and now editing the name is disabled? @IuliiaHerets Could you retest this or provide more detailed steps? cc @laurenreidexpensify |
@IuliiaHerets Could you add me to that workspace and make me an admin? That could make it easier to debug. Here is my email: |
Added you as a admin @blazejkustra |
Update: I have a draft PR. This is an edge case that occurs only when reserving a trip within a workspace where chats are disabled. In this scenario, the trip room is treated as a chat rather than a thread (which is the usual behavior). Slack thread with more details The approach I took was to simply disable the ability to edit the room name. By default, all Spotnana trips include a date in brackets at the beginning of the name, which violates the rule: "Room names can only include lowercase letters, numbers, and hyphens." Allowing this would require a significant refactor. |
Chatted 1:1 with @blazejkustra , we think we might be able to just remove the restriction |
There’s one potential approach we could explore, but it would require some backend changes. While chats currently have the naming restriction described earlier (only allowing lowercase letters, numbers, and hyphens), group chats do not. If we reuse the group chat logic for trip rooms, we could potentially support this functionality without naming restrictions. Here is how it would work: Screen.Recording.2025-01-09.at.15.11.01.movThat said, there’s one blocker to this approach. Under the hood |
Yes, will review it today. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.95-6 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 2025-02-18. 🎊 For reference, here are some details about the assignees on this issue:
|
@shubham1206agra @laurenreidexpensify @shubham1206agra The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test Proposal Template
Regression Test ProposalPrecondition:Test:Do we agree 👍 or 👎 |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalPrecondition:
Policy.getCurrent().policy.isPolicyExpenseChatEnabled Test:
Do we agree 👍 or 👎 |
I am not sure the pre condition is needed, but the test is good |
Payment Summary
BugZero Checklist (@laurenreidexpensify)
|
Job added to Upwork: https://www.upwork.com/jobs/~021891861354300781002 for payment @shubham1206agra pls apply |
Contract sent to Shubham in Upwork |
@shubham1206agra can you accept offer so we can release payment? Thanks |
@rlinoz, @stitesExpensify, @blazejkustra, @shubham1206agra, @laurenreidexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@shubham1206agra bump thanks |
Spoke to Shubnam about this, downgrading to monthly for now |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.78-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes, reproducible on both
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp #52823
Email or phone of affected tester (no customers): applausetester+0948501@applause.expensifail.com
Issue reported by: Applause Internal Team
Device used: Windows 11
App Component: Other
Action Performed:
Precondition:
Expected Result:
Room name field should contain the complete room name.
Actual Result:
Room name field does not include the first character of the room name, which is the left parenthesis.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6701758_1735042914890.bandicam_2024-12-24_20-18-38-084.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @laurenreidexpensifyThe text was updated successfully, but these errors were encountered: