Open Bug 1031585 Opened 7 years ago Updated 6 months ago
Media Query Visualizer in Responsive Design Mode
Several tools now give a visual / interactive breakdown of the media queries used on a page: * Chrome Canary * Response Inspector extension for Chrome I'll attach screenshots. These let you see the different width ranges that will trigger CSS changes to be applied as window size changes. Canary's is also helpfully interactive: clicking on a bar sets the width to the nearest end of that range, and clicking the same bar again jumps to the other end of the range.
Actually, the Responsive Inspector extension also resizes the window if you click a range bar, although only to a single size per bar.
There are lots of nice things about it: the color scheme, etc. hate the res-zing but they don't really have a responsive design view to drive like we do ( except in Canary ) The thing I like from chrome is that the visual bars line up with the viewport sizes. The thing I *don't* like there and think is srsly weird is it is a sub-mod of the emulation feature, you can't just get it by itself.
We should discuss the UX of this in depth before getting too far down any particular path. The multiple viewport project is also on the horizon, which would likely impact the UX we choose here. For some additional background, I did a survey of responsive design tools and MQ inspectors a while back (needs to be updated for recent Chrome changes, etc.): https://docs.google.com/document/d/1j21pXdZOCrBgwT_LnMvkI8LG5Y47N0xpXRU-S3mVrks/edit
I've started the visual design of the media query displays here: http://jsfiddle.net/ntim/kbvva20o/ For now, this visual design just assumes a Chrome-like integration with the responsive mode. I'd have to see how the multiple viewports stuff works before actually integrating the media query stuff in it.
Duplicate of this bug: 1235255
Unassigning until we have a concrete plan.
Assignee: ntim.bugs → nobody
Status: ASSIGNED → NEW
5 years ago
Whiteboard: [devtools-ux] → [rdm-v2]
5 years ago
No longer blocks: multiple-viewports-v1
Summary: Visual and interactive media queries → [meta] Media Query Visualizer in Responsive Design Mode
Summary: [meta] Media Query Visualizer in Responsive Design Mode → Media Query Visualizer in Responsive Design Mode
You need to log in before you can comment on or make changes to this bug.