@scotbaston, @Misho, @striata & @devinelston,
Just wanted to chime in here to say there’s a lot of good thoughts going around here. Specifically to @striata’s point of where the breakpoint should default to (min or max value), I think that’s a great point and something we will certainly consider as we move this content back in. As for @devinelston’s ideas, I actually prototyped out an idea early on in this cycle of how I’d like things like this to be represented (such as showing common devices sizes, et cetera):
This is still a little fluid at the moment, but the idea is that the preview would be continually resizable like your browser, but as you hit certain key breakpoints where many devices are used, a list of little tooltips would show up, allowing you to see what devices you’re targeting at that size. I went and did some research at that time and created a big master list of the most common devices:
const devices = [
{
min: 320,
names: ['iPhone SE', 'iPhone 5s', 'iPod Touch']
},
{
min: 360,
names: ['Galaxy S9', 'Galaxy S9+', 'Galaxy S8', 'Galaxy S8+', 'Galaxy S7', 'Galaxy S7 Edge', 'Sony Xperia XZ2', 'Huawei P20 Lite', 'Huawei P20 Pro', 'Huawei P10', 'Huawei P10 Lite', 'Google Pixel', 'Nexus 6']
},
{
min: 375,
names: ['iPhone 11 Pro', 'iPhone XS', 'iPhone X', 'iPhone 8', 'iPhone 7', 'iPhone 6', 'iPhone 6s']
},
{
min: 393,
names: ['Pixel 3 XL', 'Pixel 3', 'Pixel 2 XL', 'Pixel 2', ' Pixel XL', 'Nexus 5X']
},
{
min: 414,
names: ['iPhone 11 Pro Max', 'iPhone 11', 'iPhone XS Max', 'iPhone XR', 'iPhone 8 Plus', 'iPhone 7 Plus', 'iPhone 6 Plus', 'iPhone 6s Plus']
},
{
min: 480,
names: ['Kindle Fire HD 7', 'Galaxy Note 5', 'LG G5', 'LG G6', 'One Plus 3']
},
{
min: 600,
names: ['Kindle Fire (non-HD)', 'Galaxy Tab 2 (7")']
},
{
min: 720,
names: ['Surface Pro 2', 'Surface Pro']
},
{
min: 768,
names: ['iPad Pro (9.7")', 'iPad 2017 / 2018', 'iPad Air / Air 2', 'iPad 4th gen (and earlier)', 'iPad Mini (all models)', 'Microsoft Surface']
},
{
min: 800,
names: ['Galaxy Note 10.1', 'Galaxy Tab 3 (10")', 'Galaxy Tab 2 (10")', 'Galaxy Tab S', 'Galaxy Tab 8.9"', 'Kindle Fire HD']
},
{
min: 834,
names: ['iPad Pro (10.5")']
},
{
min: 912,
names: ['Surface Pro 2017 (Portrait)']
},
]
So as you hit those pixel sizes for a device, their corresponding tooltips would show. This will really help in targeting certain devices, and then as you’re resizing a highlighted breakpoint would also show you what you’re currently operating in as it pertains to the theme itself. The ruler you’re seeing at the bottom would only be visible while resizing the preview, but it gives you a nice little way to target certain sizes.
Again, all of that is still a little fluid at the moment, but just wanted to share some of the concepts we’ve been working on behind the scenes with regards to these matters.