In editor, make "Review issues" link open in a new tab#5319
Merged
westonruter merged 4 commits intodevelopfrom Sep 3, 2020
Merged
In editor, make "Review issues" link open in a new tab#5319westonruter merged 4 commits intodevelopfrom
westonruter merged 4 commits intodevelopfrom
Conversation
Contributor
Author
|
I have to look into these test failures, which I don't think are directly related to this change: |
Member
|
It may be an issue introduced in the latest Gutenberg. I'll check it out. |
Member
|
The test failure doesn't happen in Gutenberg v8.8.0. It does happen in v8.9.0. Looking into what changed. |
Member
|
Using git-bisect identified the failure to be introduced by WordPress/gutenberg@7fbdda2. |
Member
|
This looks like a bug with Gutenberg. It's exporting the |
Contributor
|
Plugin builds for 54c0bde are ready 🛎️!
|
Merged
6 tasks
Member
|
…) on Gutenberg v8.9.0
6 tasks
westonruter
approved these changes
Sep 2, 2020
…rom filtering customize_loaded_components
pierlon
suggested changes
Sep 3, 2020
Co-authored-by: Pierre Gordon <16200219+pierlon@users.noreply.github.com>
pierlon
approved these changes
Sep 3, 2020
westonruter
added a commit
that referenced
this pull request
Sep 3, 2020
Co-authored-by: John Watkins <johnwatkins0@gmail.com> Co-authored-by: Pierre Gordon <16200219+pierlon@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This relates to #5304, but I'm not sure it fixes it.
In the editor, various incarnations of this notice display when there are AMP validation issues at the post's URL:
Previously, this would open in the same tab. Now this will open in a new tab.
Unfortunately, what we are able to do with that link is very limited, so I didn't add the usual icon to visually indicate it would open in a new tab. There is an
__unstableHTMLparameter we can add to the notice options to allow HTML strings to be passed into the notice, but the inline documentation for notices states very emphatically not to use it.For similar reasons, we have to use an onClick handler instead of href with a target attribute to open the link in a new tab.
Checklist