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

fix: Using the browser's back arrow reopens intro popup #1725

Merged
merged 4 commits into from
Sep 6, 2024

Conversation

Ridwanah
Copy link
Contributor

@Ridwanah Ridwanah commented Sep 5, 2024

Description

I changed the modal logic to stop changes to the URL when a popup is displayed. Now, this functionality is controlled using show and hide instead.
I also had to change the modal close link so it doesn't append a hash symbol to the URL. I did this so that it only take one click to go back to the menu instead of 2.

How Has This Been Tested?

I used pytest -n auto to test the code. 59 tests passed and 1 was skipped. I did not run the selenium tests.

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have linked this PR to a ZenHub Issue.

This change is Reviewable

@faucomte97 faucomte97 linked an issue Sep 5, 2024 that may be closed by this pull request
Copy link
Contributor

@faucomte97 faucomte97 left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 4 of 4 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @Ridwanah)

@faucomte97 faucomte97 merged commit b23d08c into ocadotechnology:master Sep 6, 2024
5 of 6 checks passed
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.

Using the browser's back arrow reopens intro popup
2 participants