-
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
[$250] Update the behavior of the yellow thread highlight after exiting a thread #42165
Comments
Triggered auto assignment to @lschurr ( |
Job added to Upwork: https://www.upwork.com/jobs/~019325e864a40fa38f |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The yellow thread highlight in the Expensify app persists even after the user has exited the thread and performed other actions within the same chat. What is the root cause of that problem?The root cause lies in the What changes do you think we should make in order to solve the problem?We should modify the
To achieve this, we can introduce a state variable (e.g., Details on Events and Handling:1. Navigation Changes (Switching Chats):
2. Clicking into another thread within the same chat:
3. Sending a New Comment in the Same Chat:
4. Taking Any Action from the "+" Menu While in the Chat:
What alternative solutions did you explore? (Optional)One alternative solution could be to use a timer to automatically clear the highlight after a certain delay. However, this approach might not be ideal as it could lead to inconsistent behavior depending on the user's actions. Another alternative is to clear the highlight whenever the user interacts with any element outside the highlighted thread. This might be too broad and could unintentionally clear the highlight in some cases. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Highlight remains until you click out of the chat into another chat. It does not clear after any of the other cases mentioned above. What is the root cause of that problem?The report action is always highlighted if it's the linked action.
What changes do you think we should make in order to solve the problem?I think we can do the same behavior in Slack that only highlights the link action in a few seconds so we don't need to take care what action we should clear the highlighted action We can do this by using animated view here
What alternative solutions did you explore? (Optional)NA ResultScreen.Recording.2024-05-15.at.11.09.22.mov |
Hi @sobitneupane - Can you take a look at these proposals? |
Thanks for the review @sobitneupane ProposalAdded more detailed implementation steps for handling events that should clear the thread highlight |
Triggered auto assignment to @yuwenmemon, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@sobitneupane I think we shouldn't removing the highlight of a message when we do these action because in addition to those, we have many other actions that should also remove the highlight like edit another comment, react, ... Instead, we should only have an animation for linked report action like Slack so we don't need to care what action we should clear the highlight. What do you think? cc @yuwenmemon |
That's a good point @nkdengineer. I kind of agree with you. @yuwenmemon What's your take on highlighting just for few seconds and fading it out? |
I also think it makes sense, I even pointed out this solution in the "alternative solutions" section before. We just need to test it carefully, but I think it will be good too. |
@sobitneupane, @yuwenmemon and @nkdengineer What do you think about using both options together? It disappeared after a while and/or when the user performed some action. |
Hmmm... I'd defer to @Expensify/design on this question. The question is: Should the "yellow highlight" that highlights a linked message disappear a few seconds after showing? |
I think we want to do what is outlined in the original comment:
cc @sonialiap for confirmation though. I know this one was a long discussion, and I'm fairly certain we landed on the scenarios listed above. |
This has come up several times in Slack and there's been quite a bit of discussion about it. We've consistently received push-back about the highlight fading after a set period of time (some people are for it, some people are against it), and I think the consensus was to rely on actions to dismiss it rather than time. This seemed to be the best compromise amongst the entire team, so I think we should continue to pursue that path. |
Thanks @brunovjk . I appreciate your understanding. Proposal from @ishpaul777 looks good to me. I believe it will make the thread highlight behavior more consistent and intuitive. cc: @yuwenmemon |
📣 @ishpaul777 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
will create a PR over weekend |
PR is ready for review ^ |
PR is still under review |
Relabelling as Lauren is OOO now. |
Triggered auto assignment to @strepanier03 ( |
@yuwenmemon, @strepanier03, @sobitneupane, @lschurr, @ishpaul777 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
PR still WIP |
@yuwenmemon, @strepanier03, @sobitneupane, @lschurr, @ishpaul777 Huh... This is 4 days overdue. Who can take care of this? |
PR still WIP |
@yuwenmemon, @strepanier03, @sobitneupane, @lschurr, @ishpaul777 Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it! |
still WIP, @strepanier03 can we move this weekly i expect to finish by EOW |
@yuwenmemon, @strepanier03, @sobitneupane, @lschurr, @ishpaul777 10 days overdue. Is anyone even seeing these? Hello? |
@yuwenmemon, @strepanier03, @sobitneupane, @lschurr, @ishpaul777 12 days overdue now... This issue's end is nigh! |
This issue has not been updated in over 14 days. @yuwenmemon, @strepanier03, @sobitneupane, @lschurr, @ishpaul777 eroding to Weekly issue. |
PR in review. |
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:
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): everyone
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @JmillsExpensify
Slack conversation: https://expensify.slack.com/archives/C03U7DCU4/p1714062455602839
Action Performed:
Expected Result:
The yellow highlight should fade after
Actual Result:
Highlight remains until you click out of the chat into another chat. It does not clear after any of the other cases mentioned above.
Workaround:
Usable but many have found the highlight confusing and distracting
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Screen.Recording.2024-04-26.at.1.50.50.PM.mov
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @sobitneupaneThe text was updated successfully, but these errors were encountered: