-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$1000] Only "mark as unread" present in deleted message in main but it's not the case with staging #20816
Comments
Triggered auto assignment to @johncschuster ( |
Job added to Upwork: https://www.upwork.com/jobs/~01434e6d5b981d683c |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to @johncschuster ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 ( |
Triggered auto assignment to @mountiny ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Only "mark as unread" present in deleted message in main but it's not the case with staging What is the root cause of that problem?We are checking here to hide Emoji with Deleted Message shouldShow: (type, reportAction) => type === CONTEXT_MENU_TYPES.REPORT_ACTION && _.has(reportAction, 'message') && !ReportActionUtils.isMessageDeleted(reportAction), What changes do you think we should make in order to solve the problem?In case we still want to show the emoji for Deleted Message, we should remove In case we want to hide Mark as Read option from deleted message we should add more condition to the menu item of mark as read option: shouldShow: (type) => type === CONTEXT_MENU_TYPES.REPORT_ACTION && !ReportActionUtils.isMessageDeleted(reportAction) What alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.The visibility of the "mark as unread" action does not take into account whether the report item has been deleted. What is the root cause of that problem?The "shouldShow" function in ContextMenuActions.js is not as comprehensive for "mark as unread" as it is for other actions. What changes do you think we should make in order to solve the problem?Modify the relevant "shouldShow" function in ContextMenuActions.js. |
hey @johncschuster its expected to hide all the icons, only |
@dhairyasenjaliya @priya-zha has this really not been repro in staging/ production. I feel like this is intentional and this is not a bug as the comment deleted is a parent of a thread, hence we do not remove it from the history. |
@mountiny its expected to hide all the icons, only mark as unread is displayed for deleted message on purpose context here recently this has been fixed to remove on purpsoe #20074 (comment) and this issue can be closed |
Thanks for confirming I will go ahead and close this issue as a feature not a bug |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
Either mark as unread should not be present for deleted message or emoji option should also be present
Actual Result:
Only mark as unread present in deleted message in main but it's not the case with staging
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number:
main
Reproducible in staging?: N
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: @priya-zha
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686831763770099
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: