-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
Alerting: Fix reusing last url in tab when reopening a new tab in rule detail a… #79801
Conversation
7ffa8b5
to
7c0be0d
Compare
/deploy-to-hg |
|
|
I'm pretty sure that's not supposed to be the default behaviour of a browser; there might be something else at play here? Can we dig a bit deeper to find out why it's just re-opening that last tab instead of opening a new tab with the target URL? |
you're right! even these changes fixed the problem, I found the real cause of opening the same tab anytime... |
7c0be0d
to
c86679d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
What is this feature?
This PR fixes some buttons reusing the last url in the tab recently opened instead of opening the url assigned to these
hrefs
In particular this happened when accessing the alerting list page on an instance and clicking:
The problem was we were using
__blank
instead of_blank
, so the new tab was reusing this existing__blank
named tab instead of opening a new one (as_blank
option does).Who is this feature for?
All users.
Special notes for your reviewer:
Before the fix:
before-fix-tab-reoopening-last-one.mp4
After the fix:
after-fix-tab-reoopening-last-one.mp4
Please check that: