-
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
[$250] Search - Hold and Delete option are available for expense in the deleted (archived) workspace #50352
Comments
Triggered auto assignment to @mallenexpensify ( |
@mallenexpensify 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-control |
Edited by proposal-police: This proposal was edited at 2024-10-07 19:47:40 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Hold and Delete option are available for expense in the deleted (archived) workspace What is the root cause of that problem?Here we set canHold to App/src/components/Search/index.tsx Line 84 in fb4e24e
What changes do you think we should make in order to solve the problem?We need to add new checks here for cases like where if workspace is deleted we don't show hold button. We can do something like this here
and then we can use this here If we also want to hide delete button we can do the same for What alternative solutions did you explore? (Optional)Alternatively, we can add
And if we want to hide the delete button we can do the same for delete button |
ProposalPlease re-state the problem that we are trying to solve in this issue.Hold and Delete option are available for expense in the deleted (archived) workspace What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
We might need BE support here as well. What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
Job added to Upwork: https://www.upwork.com/jobs/~021843452809268772596 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
@fedirjh are you able to reproduce? I wasn't (but I did a couple additional steps to add another workspace cuz I couldn't delete mine without another) |
@mallenexpensify I was able to reproduce. The bug appears on the search page, not the expense page : |
Thanks @fedirjh , added |
@mallenexpensify, @fedirjh Huh... This is 4 days overdue. Who can take care of this? |
Thanks to @Nodebrute and @ChavdaSachin for the suggestions. @Nodebrute's proposal seems clear and simple. Backend changes aren't necessary as the bug only impacts the front end. We can resolve it using the fix provided by @Nodebrute. Let's move forward with @Nodebrute's proposal. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @Gonals, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@Gonals waiting for assignment |
@Gonals , 👀 please on the proposal above, thx |
📣 @Nodebrute 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
This issue has not been updated in over 15 days. @Gonals, @mallenexpensify, @fedirjh, @Nodebrute eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
@Nodebrute can you provide an update plz? Doesn't look like much action's been happening on the PR. Thx |
@mallenexpensify The backend no longer archives IOUs from deleted workspaces, which results in users being able to delete the expenses. We will start archiving them again based on this comment. I’m testing it periodically to see if it starts working as expected. |
@Gonals, @mallenexpensify, @fedirjh, @Nodebrute Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@Gonals, @mallenexpensify, @fedirjh, @Nodebrute Eep! 4 days overdue now. Issues have feelings too... |
@Gonals, @mallenexpensify, @fedirjh, @Nodebrute 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it! |
Thanks @Nodebrute , I made me the issue owner and made it a monthly. If anyone has an update on when we start archiving expenses, please comment. |
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.39-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: N/A
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Hold and Delete option should not be available for expense in the deleted (archived) workspace
Actual Result:
Hold and Delete option are available for expense in the deleted (archived) workspace
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6609901_1726834959751.20240920_201913.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @mallenexpensifyThe text was updated successfully, but these errors were encountered: