-
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 on June 15th] Edit comment - Saving an unedited comment shows the edited
status for a brief moment
#3219
Comments
Triggered auto assignment to @marcaaron ( |
Looks like the correct behavior would be for this text to persist. |
Triggered auto assignment to @Jag96 ( |
Or maybe not because it wasn't "actually" edited? Not too sure. Either way, it definitely shouldn't flash like that. |
Backend says |
Proposal
It seems that the backend ignores the ending whitespaces as well. So it may be doing the text comparisons. I am not sure that I should compare the HTML or text. @Jag96 Could you please clarify this? |
Proposal
I think the most efficient way to achieve these is that if the values are the same, making
expensify_issue3219.mov |
Both proposals look like they'll work, going to go with @parasharrajat's since he added his first. Regarding HTML vs text comparison, you can compare the HTML in this case since that's what the back end is doing. I also don't think we need any UI updates since there isn't any way for the user to know that adding a space to the message doesn't count as an edit. @parasharrajat I've invited you to the job on Upwork, once it's accepted feel free to create a PR. |
@Jag96 Okay, @parasharrajat 's solution doesn't provide a way to disable |
Reopening to update title for payment |
edited
status for a brief momentedited
status for a brief moment
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!
Upwork Posting: https://www.upwork.com/jobs/~014b1b019c459a02d5
Expected Result:
If the message was not changed the edited status should not appear.
Actual Result:
Edited status appears for a brief moment after saving a message (without changes)
Action Performed:
Workaround:
No need, visual issue.
Platform:
Where is this issue occurring?
Web ✔️
iOS ✔️
Android (another behaviour, please check notes)
Desktop App
Mobile Web ✔️
Version Number: 1.0.56-0
Logs:
Notes/Photos/Videos:
On android app, the edited status persists.
Recording.186.mp4
Expensify/Expensify Issue URL:
View all open jobs on Upwork
From @aliabbasmalik8 https://expensify.slack.com/archives/C01GTK53T8Q/p1622188890359100
The text was updated successfully, but these errors were encountered: