-
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
[HOLD for #27884] [$500] Task - Disabled "Add Reaction" on deleted assignee task notification after a moment #28621
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01cd509c6ee69b901c |
Triggered auto assignment to @stephanieelliott ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 ( |
ProposalPlease re-state the problem that we are trying to solve in this issueWhen adding a task, completing it and then we cancel it, first time we are able to hover and see the reactions. What is the root cause of the problemThis is due to this code , where we don't check for type of action (in this case it's TASKCANCELLED) - ReportActionsUtils.js function isMessageDeleted(reportAction) {
return lodashGet(reportAction, ['message', 0, 'isDeletedParentAction'], false);
} What changes do you think we should make in order to solve the problem?We can add an additional check for the action name to see if the it's type is TASKCANCELLED and if it is - we don't display the reactions function isMessageDeleted(reportAction) {
return reportAction.actionName === CONST.REPORT.ACTIONS.TYPE.TASKCANCELLED || lodashGet(reportAction, ['message', 0, 'isDeletedParentAction'], false);
} What alternative solutions did you explore? (Optional) |
📣 @martin12345678900! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
ProposalPlease re-state the problem that we are trying to solve in this issue."Add Reaction" is disabled after a moment when hovering over the deleted assigned tasks notification. What is the root cause of that problem?There're 2 root causes:
What changes do you think we should make in order to solve the problem?
and add What alternative solutions did you explore? (Optional)In |
On @martin12345678900 's proposal here #28621 (comment) And I am not aligned on the solution to add action name check to the |
On @tienifr 's proposal here #28621 (comment) On the root cause 1. the below is an example reportAction from server for the cancel action after refreshing. Even in the reportAction, the Could you kindly provide information on why its working(reactions not shown in context menu) on this case as well?
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Emojis, emoji picker icon, and edit icon are disappeared when hovering over notification from completed task What is the root cause of that problem?The task system message is stored in task report but it has Lines 3501 to 3503 in 81a6a52
What changes do you think we should make in order to solve the problem?Actually, #24644 is closed because we don't have priority to fix from BE. If we want to fix this issue from FE side, we can update
Lines 3501 to 3503 in 81a6a52
What alternative solutions did you explore? (Optional)We can check if the report action is task system action we will return |
@abdulrahuman5196 Please see the When you refresh the page, if you try to log the The |
ProposalPlease re-state the problemEmoji actions are enabled for some time for report actions indicating closing/re-opening of a task. What is the root cause of this problem?The root cause if that the emojis are only shown when the App/src/pages/home/report/ContextMenu/BaseReportActionContextMenu.js Lines 57 to 62 in cf9ad20
Now this
This Lines 690 to 692 in cf9ad20
Basically this function checks if the Now if we see the task completed action created optimistically, we see that there is no What changes should be done to fix this?We should return the Lines 2436 to 2445 in cf9ad20
like this: childReportID: taskReportID |
Hey @abdulrahuman5196 can you please review these proposals when you get a chance? |
Yes. Will do it today. On my checklist for today items. |
Actually I think this will get fixed in this issue: #27884 |
@stephanieelliott, @abdulrahuman5196 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
TAL now |
On @dukenv0307 's proposal here #28621 (comment). I think its the opposite we want here, like Could you confirm this @stephanieelliott ? |
Yep, agreed @abdulrahuman5196 |
Reviewing again |
@stephanieelliott |
@stephanieelliott @abdulrahuman5196 this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Put on |
#27884 was merged, looks like it fixed this issue -- retested and it's not happening anymore! |
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:
"Add Reaction" should not be disabled when hovering over the deleted assigned tasks notification after refreshing the page. It should either remain disabled after deleting the assigned tasks without waiting a moment, or it should not be disabled at all.
Actual Result:
"Add Reaction" is disabled after a moment when hovering over the deleted assigned tasks notification.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number:
Reproducible in staging?:
Reproducible in production?:
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
Screen.Recording.2023-10-02.at.7.06.10.AM.mov
Screen.Recording.2023-10-01.at.9.05.57.PM.mov
Screen.Recording.2023-10-01.at.9.02.11.PM.mov
Recorder_02102023_064835.mp4
Screen.Recording.2023-10-01.at.8.43.39.PM.mov
Screen.Recording.2023-10-01.at.8.37.51.PM.mov
screen-capture.6.mp4
Expensify/Expensify Issue URL:
Issue reported by: @tewodrosGirmaA
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1695449091829779
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: