-
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
[HOLD for payment July 6] Unable to delete messages with attachments #3775
Comments
Triggered auto assignment to @MariaHCD ( |
@sketchydroide @roryabraham Would you be able to confirm if the inability to delete attachments is expected behavior? |
I think it is expected behaviour. @roryabraham can correct me on this, but I think that is expected. |
It may have been expected behavior at the time when we implemented the I think this was prettymuch a remnant from |
Yeah, totally agree. Deleting attachment is just like setting html to null on reportAction. We should have this behaviour. |
Thanks for the clarification! |
Triggered auto assignment to @JmillsExpensify ( |
ProposalWe change our shouldShow condition for the delete option to be a new function This will allow us to separate the checks for editing and deleting a message (they're the same at the moment, but we don't want to show the edit button in our attachments). We already set the html of a deleted comment to '' (both locally and in the backend), so we don't need to change the behavior of our |
@rdjuric Your proposal looks good! Nice and simple! Feel free to submit a PR once you've been hired on Upwork @JmillsExpensify Let's make sure that we get @rdjuric hired on Upwork. |
Thanks @roryabraham! PR is up at #3804 |
Just seeing this. Doing this now! |
@rdjuric Upwork job is here! https://www.upwork.com/jobs/~014420b47526ca3ac6 |
Triggered auto assignment to @Jag96 ( |
Offer sent @rdjuric! Updating title to keep track of payment |
Tested and paid! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
User should be able to delete messages with attachments.
Actual Result:
User is unable to delete messages with attachments
Workaround:
N/A
Platform:
Where is this issue occurring?
Web ✔️
iOS ✔️
Android ✔️
Desktop App ✔️
Mobile Web ✔️
Version Number: 1.0.74-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Expensify/Expensify Issue URL:
View all open jobs on Upwork
From @aliabbasmalik8 https://expensify.slack.com/archives/C01GTK53T8Q/p1624844541157000
The text was updated successfully, but these errors were encountered: