Skip to content
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

[WEB-3377] - "Last Reviewed" and "PatientDrawer" flags occassionally missing on TIDE Dashboard #1502

Merged
merged 4 commits into from
Jan 27, 2025

Conversation

henry-tp
Copy link
Contributor

@henry-tp henry-tp commented Jan 17, 2025

WEB-3377

To reliably repro this error on master, a specific QA user on QA2 can be used. You can DM me on slack for their details.

The issue was that because our fetch for flags is async, they are not always set to true on the first render. They are missing from the memo deps array, so they don't trigger a re-render. Adding them to the deps array ensures that a re-render is triggered when they are flipped to true.

@henry-tp henry-tp marked this pull request as ready for review January 17, 2025 19:53
@henry-tp henry-tp changed the title [WEB-3377] - Flags occassionally missing on TIDE Dashboard [WEB-3377] - "Last Reviewed" and "PatientDrawer" flags occassionally missing on TIDE Dashboard Jan 17, 2025
Copy link
Member

@clintonium-119 clintonium-119 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Nice job debugging this one. Approved 👍

@henry-tp henry-tp merged commit e6c685b into develop Jan 27, 2025
2 checks passed
@henry-tp henry-tp deleted the WEB-3377-flags-missing branch January 27, 2025 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants