-
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 #15212][$1000] Web - New marker does not go away when Report is automatically marked as read #21875
Comments
Triggered auto assignment to @sonialiap ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.New marker does not go away when Report is automatically marked as read What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?We should add this logic: if (!ReportUtils.isUnread(this.props.report) && this.state.newMarkerReportActionID != '') {
this.setState({
newMarkerReportActionID: '',
});
} inside |
@sonialiap please hold triaging this. I will try investigating this, maybe can be solved by #21557. |
@sonialiap It's okay now to triage this. We have different root causes for the issue in the PR above. Thank you! |
The unread line remains for me in both scenarios. Maybe it's some general delay with the page updating? Screen.Recording.2023-07-03.at.5.48.05.PM.mov |
Job added to Upwork: https://www.upwork.com/jobs/~0107af640eb3758e2b |
Current assignee @sonialiap is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
@sonialiap I think this should be hold for #15212 |
Hello |
📣 @hwakstar! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
There is an tracker issue for all unread marker issue, and all related issues, should be added to it. It doesn’t make sense to proceed with solution while we are working on a refactor. |
Ok, I understand, thanks! |
Contributor details |
|
Contributor details |
PR for #15212 is super close to being approved and merged, exciting! Hopefully soon we'll be able to re-test this one and either close or look for proposals |
PR for #15212 is close but not yet merged. Waiting |
Waiting for #25935 to test this again |
When marking the message as unread manually, the new marker should go second time. That said, this issue should be fixed. We can retest and most probably close it |
@MonilBhavsar I just retested and found that :
is that expected? CleanShot.2023-11-21.at.18.51.32.mp4 |
@MonilBhavsar bumping Fedi's question, do you know the answer? |
Sorry, missed it
I would say it is expected. When refreshing the page, the entire component is remounted losing the marker state. We do not store marker data in local storage or Onyx DB, and also OpenApp and OpenReport updates the lastReadTime. To persist unread data between refresh is out of scope and the losing of marker during refresh is expected |
@fedirjh sounds like we still have an issue here and need proposals, is that correct? |
@sonialiap I think refreshing the report marks the report as unread , that's expected and that fine. Additionally, I would expect that switching between tabs should also mark the report as read. What are your thoughts @MonilBhavsar ? If we should not mark the report as unread when switching between tabs (or when the app goes into the background), then I believe everything is working as expected, and we can consider closing this issue. |
As per the design, we should not remove marker when user switches the tab. For the refresh I think it is fine as the components are remounted. |
That looks good , I think this can be closed. |
In case a regression test is required : Regression Test Proposal
|
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:
The New marker should go away the first time.
Actual Result:
The New marker goes away the second time.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.33-4
Reproducible in staging?: y
Reproducible in production?: y
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
marker_twice.mp4
Recording.3310.mp4
Expensify/Expensify Issue URL:
Issue reported by: @DanutGavrus
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1687948133361189
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: