-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Missing View Post from Admin Bar AFTER Publish (not update) #20309
Comments
@paaljoachim Not sure I follow completely. Is this an issue with the ExactMetrics plugin? I'd recommend writing some Steps for Reproduction. The black top bar isn't part of the block editor, so I think either way this issue doesn't belong here in the Gutenberg repo. It should either be moved to core trac (https://core.trac.wordpress.org/) or you should let the plugin dev know. |
Hey Dan @talldan Your correct on both accounts. Thanks for your reply...:) |
This is on Trac now: https://core.trac.wordpress.org/ticket/53948 If we implement the first option, hiding the link until publish/save action, how could the editor remove the (Or if you think showing the link even before the URL resolves is acceptable, please comment about that on the ticket.) |
Reopening the issue as a related ticket still exists on Trac. |
@audrasjb I was just catching up on the discussion in core Slack. I know the Trac ticket is on the 6.0 milestone, and it seems like the actual fix needs to take place in Gutenberg first. I will add this to the 6.0 Project Board for discussion. |
Could we update the issue title and description to use the proper format for bug reports and be clearer about the actual problem (@paaljoachim, it looks like you made this, so it'd be appreciated if you could revisit it)? Maybe borrow some of the details from trac. I find this really report hard to follow because it sounds like a plugin issue. It's not great to force every person that reads it to also have to read all the comments in the issue as well as the trac ticket and comments there too. |
I retested and the title and content is edited. |
Thanks! |
I don't think we can fix this in Gutenberg. Admin bar menu item would require a full page refresh to render. |
From a purely personal perspective, I think this is an acceptable "bug" to simply ignore. When you go through the publish flow, there are many links that a user can click on the "View Page/Post". I also work in Fullscreen Mode and never see the admin bar so that might be influencing my thoughts here. 😬 |
This is probably more enhancement than bug, but I kept the type as reported due to the lack of parity with the Classic Editor. Using Classic, the View Post link has been available in the admin toolbar immediately after publishing/saving because it refreshes the page and switches from New Post to the Edit Post screen. If the link is added in the admin toolbar for the New Post screen (on the Trac ticket), I would need help with the editor side. The editor would need to check whether the link exists and then remove the If it needs to wait until next release, I could update the |
I think it could be possible, but it would probably require a bit of work in core. Gutenberg could use a react portal to the admin bar to render a component there. It would require a couple of things:
Like others mention, I don't know whether it's worth it. This bug is likely to have been present since 5.0, and it's only being reported now. |
We adapt to what is present and find work arounds. Anyhow it might need a bigger resolution through design. Make Permalink/View Post easier to access Site Editor - 'Preview Site' feature. (Linked to my comment there) |
Closing this out as it hasn't gained much traction with additional reports in the two years since and since we have a "view post" option after publishing: view.post.mov |
(Title and content edited 7th April 2022.)
Local test site in Desktop Server.
Running WP 5.9.3
Twenty Twenty-Two
Chrome
View Post not seen in the top admin bar after publish.
Create a new post/page.
Click Publish.
Notice there is no View Post link in the top admin toolbar.
A View Post link is seen at the end of the Publish panel.
A View Post snackbar is seen (for a few moments).
No top admin toolbar View Post link.
Exiting the post/page and returning to edit View Post is seen in the top admin toolbar.
The text was updated successfully, but these errors were encountered: