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

Unable to dismiss competing modals #6266

Closed
aaemnnosttv opened this issue Dec 2, 2022 · 2 comments
Closed

Unable to dismiss competing modals #6266

aaemnnosttv opened this issue Dec 2, 2022 · 2 comments
Labels
invalid Reason for closed bug issues

Comments

@aaemnnosttv
Copy link
Collaborator

aaemnnosttv commented Dec 2, 2022

Bug Description

When a feature tour is triggered at the same time as the insufficient permissions modal, neither one is able to be dismissed using the mouse. The only thing which seems to work is the escape key which then dismisses the feature tour, after which the permissions modal is able to be interacted with as usual.

Steps to reproduce

  1. Setup SK
  2. With a different admin, connect AdSense
  3. With the first admin visit the dashboard while triggering a feature tour

Screenshots

Kapture.2022-12-01.at.22.54.15.mp4

In this scenario, the permissions modal was triggered by the GET:notifications request for AdSense which happens on the dashboard when connected but this issue is not AdSense-specific.


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

  • It should be possible to dismiss the feature tour OR the permissions modal when one appears on-screen.
    • It would probably be best to hide a feature tour anytime a permissions modal appears on-screen, as the permissions modal is "more important"/"urgent" and having both compete for attention is counter-productive.
    • So ideally, when the permissions modal appears, any active feature tour should be closed (but should be able to appear later, so not permanently dismissed). Focus should be moved to the permissions modal dialog.
    • If that isn't possible, make it so either modal can be interacted with/dismissed.

Implementation Brief

Test Coverage

QA Brief

Changelog entry

@aaemnnosttv aaemnnosttv added Type: Bug Something isn't working P1 Medium priority labels Dec 2, 2022
@aaemnnosttv aaemnnosttv added the Next Up Issues to prioritize for definition label Nov 8, 2023
@tofumatt tofumatt assigned tofumatt and unassigned tofumatt Nov 13, 2023
@zutigrm zutigrm self-assigned this Nov 15, 2023
@zutigrm
Copy link
Collaborator

zutigrm commented Nov 16, 2023

@aaemnnosttv I can't seem to reproduce this. The repro steps from description seem outdated - since we have shared dashboard, 1 admin can't connect AdSense for another admin (unless my understanding is wrong). But I tried by invoking the modals through console, tried several scenarios, and it works every time. One other difference from the attached video at that time, is also that permission modal prevents scroll now.

Here are the videos of the tests:

Screen.Recording.2023-11-16.at.11.07.23.mov
Screen.Recording.2023-11-16.at.11.08.21.mov
Screen.Recording.2023-11-16.at.11.12.03.mov

@aaemnnosttv
Copy link
Collaborator Author

I'm not sure the issue of competing modals is entirely solved, but it seems like the precondition for this happening was addressed in #5497. We can address this in a new issue if/when it comes up again.

@aaemnnosttv aaemnnosttv closed this as not planned Won't fix, can't repro, duplicate, stale Dec 22, 2023
@aaemnnosttv aaemnnosttv removed their assignment Dec 22, 2023
@aaemnnosttv aaemnnosttv added invalid Reason for closed bug issues and removed Type: Bug Something isn't working P1 Medium priority Next Up Issues to prioritize for definition labels Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid Reason for closed bug issues
Projects
None yet
Development

No branches or pull requests

3 participants