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

Receiving new report for child contact does not refresh contact detail page #9825

Open
dianabarsan opened this issue Mar 4, 2025 · 0 comments
Assignees
Labels
Regression Affects a feature that worked in a previous release Type: Bug Fix something that isn't working as intended
Milestone

Comments

@dianabarsan
Copy link
Member

Describe the bug
Webapp contact detail page is supposed to be responsive to incoming changes. If viewing a contact detail page of a clinic that has some person contacts (just some examples of contact types, the behavior applies to any types), receiving a new report for one of the person contacts should trigger a background reload and display this new report in the reports list.

To Reproduce
Steps to reproduce the behavior:

  1. Login as an offline user and load a clinic that has at least one person.
  2. In another browser, login as another user (can be an admin) and create a report for the person.
  3. As the offline user, sync and wait for syncing to complete.
  4. The new report does not show up in the list of reports on the clinic page automatically. Navigating to the page again (to trigger a reload) does show the new report.

Expected behavior
Contact detail pages should be responsive to incoming relevant changes.

Environment

  • App: webapp
  • Version: 3.10+ (this bug exists since the migration to Angular 10)

Additional context
Discovered during development for #9301

@dianabarsan dianabarsan added Regression Affects a feature that worked in a previous release Type: Bug Fix something that isn't working as intended labels Mar 4, 2025
@dianabarsan dianabarsan self-assigned this Mar 4, 2025
@andrablaj andrablaj added this to the 4.19.0 milestone Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Regression Affects a feature that worked in a previous release Type: Bug Fix something that isn't working as intended
Projects
Status: Todo
Status: Todo
Development

No branches or pull requests

2 participants