WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 6 days ago

#45177 new enhancement

admin bar View page button is missing in mobile view

Reported by: colomet Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Toolbar Keywords: has-patch
Focuses: ui, css, administration Cc:

Description (last modified by sabernhardt)

In a post, we can see the view post button in the admin bar. but that button is hidden in the mobile view

https://discourse.pressbooks.org/t/is-not-view-chapter-missing-in-mobile-view/746

Attachments (3)

41577.patch (2.6 KB) - added by sabernhardt 6 days ago.
adding icon and unhiding link on mobile screens
view-post-link-single-site.png (38.8 KB) - added by sabernhardt 6 days ago.
screenshots for single site installation
view-post-link-multisite.png (42.5 KB) - added by sabernhardt 6 days ago.
screenshots for a site within a network

Download all attachments as: .zip

Change History (7)

#1 @SergeyBiryukov
3 years ago

  • Component changed from General to Toolbar
  • Focuses ui administration added
  • Summary changed from admin bar View page buttom is missing in mobile view to admin bar View page button is missing in mobile view

#2 @cbutlerjr
2 years ago

Not sure what the design consideration was, but could it be that it was intentional as there space is more limited in a mobile view? I'm not sure that it's a bug (i.e. unintentional). There are differences from tablet sized viewport to phone sized view dropping the updates and WP menu items altogether as well.

#3 @sabernhardt
5 months ago

  • Focuses css added
  • Keywords needs-patch added
  • Type changed from defect (bug) to enhancement

Yes, the decision on #26071 was very selective about which links remain on mobile, particularly with network site options.

However, at least on a single site, it seems odd to click on the Edit post link and then have an empty space where the View post link could be.

@sabernhardt
6 days ago

adding icon and unhiding link on mobile screens

@sabernhardt
6 days ago

screenshots for single site installation

@sabernhardt
6 days ago

screenshots for a site within a network

#4 @sabernhardt
6 days ago

  • Description modified (diff)
  • Keywords has-patch added; needs-patch removed

Adding an icon would make it (visually) consistent with other top-level core links, and that can show on mobile.

Without plugins, the toolbar is not overcrowded in single or multisite. With additional links, this could start wrapping links to the next line in some cases. I do not consider this a blocker, though it would be better if the problem on #28983 is solved first.

Note: See TracTickets for help on using tickets.