Skip to content

[Outreachy Task Submission] Inconsistent Closing Behavior of Help and Support Modal for Privacy Policy and Terms & Conditions #4776

@blessingpeters

Description

@blessingpeters

Describe the bug
The Help and Support modal on the https://mzima-dev.staging.ush.zone/map exhibits inconsistent behavior upon clicking its links. Specifically, the modal properly closes when users click on the Documentation, Report Bug, Features, or Onboarding links, which then open its linked pages in a new browser tab or a modal (for onboarding). However, when clicking on the Privacy Policy or Terms and Conditions links, the modal remains open in the original tab even after navigating to the linked pages in a new tab, diverging from the expected behavior.

To Reproduce
Steps to reproduce the behavior:

  1. Navigate to https://mzima-dev.staging.ush.zone/map or http://localhost:4200/map
  2. Tap Help & Support on the sidebar which brings up the help & support modal.
  3. click on the links within the modal one by one: Documentation, Report a Bug, Features, Onboarding, Terms and Conditions and Privacy Policy.
  4. Observe the behavior of the modal for each link, noting the differences between the first four links and the last two.
  5. Notice the modal's behavior especially when clicking on the Privacy Policy and Terms and Conditions links, observing that it remains open in the original tab even after the new tab has been opened.

Expected behavior
Upon clicking any link within the Help and Support modal, the modal should close in the original tab, reflecting a consistent user experience across all options, and navigating the user to the respective link in a new browser tab.

Actual behavior
The modal closes as anticipated for Documentation, Report a Bug, Features, and Onboarding links but remains open for the Privacy Policy and Terms and Conditions links are clicked disrupting the uniformity of user experience across the platform.

Screen.Recording.2024-03-08.at.1.19.52.AM.mov

**Desktop Hardware Details **

  • OS: [Mac OS ventura]
  • Browser [chrome,]
  • Version [13.4.1]

@Angamanga Please help add the Outreachy Task Submission Label to this issue, I'm working on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions