[wp-trac] [WordPress Trac] #31195: Add a user-friendly way to preview site responsiveness in the Customizer

WordPress Trac noreply at wordpress.org
Thu Sep 24 18:57:31 UTC 2015


#31195: Add a user-friendly way to preview site responsiveness in the Customizer
--------------------------+------------------------------------------------
 Reporter:                |       Owner:
  celloexpressions        |      Status:  new
     Type:  feature       |   Milestone:  Future Release
  request                 |     Version:
 Priority:  normal        |  Resolution:
Component:  Customize     |     Focuses:  ui, accessibility, administration
 Severity:  normal        |
 Keywords:  has-patch     |
--------------------------+------------------------------------------------

Comment (by folletto):

 Please note that:

 1. '''The feature should be simple'''. Portrait-Landscape usually makes
 the theme fall into the intermediate buckets (i.e. a landscape tablet is
 basically a desktop, a landscape phone is basically a portrait tablet).
 This feature is meant to be a quick preview, not a technical tool.
 2. On desktop, where this feature shows, you are going to have a resizable
 window, so if you really need to, you can just resize the window. Or use
 the Inspector as shown above. In other words: this feature is meant to be
 quick, if you want precision, you already know and have better tools to do
 that, and we shouldn't replicate these tools (I know, already discussed
 above, but I'll still point it out ;) ).
 3. I disagree with "let theme author define the size breakpoints " exactly
 because "we now have plenty of different display sizes". The theme adapts
 to screens, not the other way around. Thus the responsive UI is something
 that exists independently from the themes, and should be set at proper
 sizes determined by industry averages. '''Themes should not have any
 bearing on the responsive UI.''' This will have also the ripple effect of
 helping more theme authors to see the industry averages, exactly because
 we provide a good way to preview them.

 That said:

 > why not enable people that have medium size displays to preview their
 site on a wide display ? That's possible if you extend the size of the
 iframe and use scrollbars.

 I agree. This is definitely something I'd go for, even if likely in a
 separate issue and discussion, because I'd still start with this UI and
 then work to achieve that.

 The logic behind that would be to have the controls always visible (so, no
 hiding) but then it detects the screen size and defaults to that, and the
 other options then will grow/shrink accordingly.

 > So changing the size of the preview window could also toggle some
 controls that are specific to the screen size.

 This could be very useful, and should be a separate ticket imho to discuss
 it. ;)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31195#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list