-
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-08-13] [$250] mWeb - Workspace - In archived workspace, in iou details page sideways caret are shown for fields #45851
Comments
Triggered auto assignment to @joekaufmanexpensify ( |
@joekaufmanexpensify 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 |
We think that this bug might be related to #wave-collect - Выпуск 1 |
ProposalPlease re-state the problem that we are trying to solve in this issue.mWeb - Workspace - In archived workspace, in iou details page sideways caret are shown for fields What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
if (isArchivedRoom(moneyRequestReport, getReportNameValuePairs(moneyRequestReport?.reportID))) {
return false;
}
if (!reportAction || reportAction?.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE) {
return true;
} What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
with:
|
Proposal Updated
|
This doesn't seem to be happening only on Android. I reproduced it on Chrome web. I also don't think the task steps are necessary for reproducing. They help show that you can't edit fields on a task with an archived workspace, but I removed them from OP to make the bug easier to reproduce. |
Makes sense to me that we wouldn't allow you to edit any fields on an expense when the workspace it's reported on is archived. |
Job added to Upwork: https://www.upwork.com/jobs/~019bd42da3fc0d7c59 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hungvu193 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.mWeb - Workspace - In archived workspace, in iou details page sideways caret are shown for fields What is the root cause of that problem?The root cause of the problem is that Lines 2717 to 2719 in 38cddee
However, if the expense is not open, the What changes do you think we should make in order to solve the problem?Let's check if the Line 2719 in 38cddee
Just like how a user can not edit a task from an archived report. Screen.Recording.2024-07-23.at.10.53.31.mov |
Pending review of proposals |
I'll take a look tomorrow morning |
This comment has been minimized.
This comment has been minimized.
Triggered auto assignment to @cristipaval, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@hungvu193 Any feedback about my solution? Using |
@hungvu193 FYI, your selected proposal does not fix the case that the expense report failed to create like below: Screen.Recording.2024-07-24.at.11.25.09.movor maybe I do not understand what that proposal's author means. Please correct me if I was wrong. |
Thanks for the information, IIRC we still allow user to edit information with error report. |
I see your point here, no need to discuss further, let wait for this confirmation. Thanks |
@hungvu193 please tag me again after you clarify. Thanks! |
Will be ready in a few hours. |
TY! |
Still working on it. The PR will be ready shortly. |
PR merged |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.16-8 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-08-13. 🎊 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:
|
@hungvu193 could you complete BZ so we can prep for payment? |
Regression test:
Do we 👍 or 👎 ? |
Checklist is complete. TY! |
All set to issue payment. We need to pay:
|
@dominictb $250 sent and contract ended! |
Upwork job closed. |
Closing for now, since all that's left is for @hungvu193 to request payment via NewDot. Thanks everyone! |
$250 approved for @hungvu193 |
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.10
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Go to https://staging.new.expensify.com/home
Tap on a workspace chat
Submit an expense entering all fields
Navigate to LHN
Tap profile icon -- workspaces -- workspace
Tap on 3 dots icon next to workspace
Delete the workspace
Navigate to LHN
Open the archived workspace chat
Open the IOU
Open amount and description field using sideways caret
Note hhm not here page is shown
Expected Result:
Like in task details page, sideways caret must not be shown in iou details page in archived workspace
Actual Result:
In archived workspace, in iou details page sideways caret for amount & description field are shown directing to hhm not here page
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6547855_1721460264010.Screenrecorder-2024-07-20-12-37-14-543_compress_1.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @joekaufmanexpensifyThe text was updated successfully, but these errors were encountered: