[UX] No way to know what user agent will be applied for a device
Categories
(DevTools :: Responsive Design Mode, defect, P3)
Tracking
(firefox73 fixed)
Tracking | Status | |
---|---|---|
firefox73 | --- | fixed |
People
(Reporter: karlcow, Assigned: daisuke)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [multiviewport][reserve-rdm][ux])
Attachments
(21 files, 2 obsolete files)
116.49 KB,
image/png
|
Details | |
98.54 KB,
image/png
|
Details | |
31.38 KB,
image/png
|
Details | |
557.43 KB,
image/png
|
Details | |
300.55 KB,
image/png
|
Details | |
1.85 MB,
video/mp4
|
Details | |
20.02 KB,
image/png
|
Details | |
9.34 KB,
image/png
|
Details | |
987.31 KB,
video/mp4
|
Details | |
303.57 KB,
image/png
|
Details | |
340.50 KB,
image/png
|
Details | |
102.13 KB,
image/png
|
Details | |
613.12 KB,
image/png
|
Details | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47.73 KB,
image/png
|
Details |
![]() |
Reporter | |
Comment 3•9 years ago
|
||
![]() |
Reporter | |
Comment 4•9 years ago
|
||
![]() |
Reporter | |
Comment 5•9 years ago
|
||
![]() |
Reporter | |
Comment 6•9 years ago
|
||
Comment 7•9 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Comment 10•7 years ago
|
||
Comment 11•7 years ago
|
||
![]() |
Reporter | |
Comment 12•7 years ago
|
||
![]() |
Reporter | |
Comment 13•7 years ago
|
||
![]() |
Reporter | |
Comment 14•7 years ago
|
||
Comment 15•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 16•6 years ago
|
||
Hi, I have made the first prototype which shows the browser and os information which the user agent string has.
The changes are the followings:
- Show the browser and os info on the device menu items.
- Show the browser and os info on the device list of the popup.
- Reduce the device list column from 3 to 2 in order to show the text as one line.
Assignee | ||
Comment 17•6 years ago
|
||
Hi! I'd like to hear your opinion about the prototype above.
What do you think??
![]() |
Reporter | |
Comment 18•6 years ago
|
||
Daisuke,
Very cool.
I think you can probably drop the parenthesis by making the information glanceable.
https://codepen.io/webcompat/pen/oNNGGyG
That should be easier on the eyes.
Assignee | ||
Comment 19•6 years ago
|
||
Indeed! Thank you very much for your feedback, Karl-san!
Comment 20•6 years ago
|
||
Thanks Daisuke, this looks great!
I agree with Karls comment. Also, we could consider using the icons again similar to the webcompat tool, this might help us to save some space.
Assignee | ||
Comment 21•6 years ago
|
||
Thanks, Martin!
Yeah, it seems that the icon helps to reduce the space. If we introduce icons, I'm wondering how we should show the version. Tooltip? But we are using a tooltip to show the device all info which includes the entire UA string.
And, can we also show the OS as an icon?
Comment 22•6 years ago
|
||
Clearing my needinfo on this one as I agree with what has been said so far: this is a great prototype!
Comment 23•6 years ago
|
||
This is looking great, and I like the idea for adding the browser icons!
It would be nice to use icons for the OS as well. Attached tiny mockup for how this could look.
I think it would be fine to add the browser name/version to the beginning of the tooltip (in its own row). The full tooltip could look like this:
Firefox 68 on Android 5
DPR: 3
Touch: True
UA: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:72.0) Gecko/20100101 Firefox/72.0
(When a version number ends in '.0' we can truncate that part for the top line)
I'll attach the Android and iOS icons separately.
Comment 24•6 years ago
|
||
On second thought, do we really need Android/iOS indicators? It seems intuitive enough that everything is Android, besides iPhone (and Nokia?). Is it fine to just have that in the tooltip?
Assignee | ||
Comment 25•6 years ago
|
||
Thank you very much for the mockup, Victoria!
Yep, the mockup and the tooltip idea is great :)
And regarding the OS icon, we don't have to use it for the mobile but may be able to use for other devices such as laptop type (windows, osx, linux and so on?).
I'll proceed using the browser icon at least.
Thanks!
Comment 26•6 years ago
|
||
Laptop OS would only show for custom devices, right? Maybe we can follow up in a later patch since it seems like a much less common need.
![]() |
Reporter | |
Comment 27•6 years ago
|
||
In fact Laptop OS are parts of the use cases, some issues happens only on certain OSes (it's more rare indeed). So yes please, we need to open another issue if it's not part of the MVP for this one :)
Comment 28•6 years ago
|
||
Ah, I see. To clarify, is this mostly an internal WebCompat use case, with custom Laptop entries? In that case, could the OS be indicated in the title of the device? The icon part is what I'm suggesting can come later. I'll check with UX to see if someone might already have a set somewhere.
Assignee | ||
Comment 29•6 years ago
|
||
Hi Victoria!
Because I made a new prototype, could you confirm the UI??
I used the icon for browsers, but I changed the order of displaying from device name, os name, icon to icon, device name, os name.
The reason why I changed the order is that the menu to select the device is created by xul menu, then we can't put the icon to except most left place on the menu. So, in order to keep the UI consistency, I changed.
What do you think??
Comment 30•6 years ago
|
||
Awesome, this is looking great! Would you mind attaching a hi-resolution screenshot as well? I'll mark up a few minor tweaks to spacing.
Assignee | ||
Comment 31•6 years ago
|
||
Thank you, Victoria! I'll attach the screenshots.
Assignee | ||
Comment 32•6 years ago
|
||
Assignee | ||
Comment 33•6 years ago
|
||
Comment 34•6 years ago
|
||
Thank you! Attached is some minor spacing tweaks. I forgot to mention that this doesn't actually need to block this work and can be done in a followup polish bug.
A bit more polish re: the OS version numbers:
- We can remove the trailing zeros from the iOS version numbers
- Android 8.0.0 can just be 8.0
- We can remove the parentheses from the numbers
Assignee | ||
Comment 35•6 years ago
|
||
Thank you so much, Victoria!
I will introduce your suggestions!
Assignee | ||
Comment 36•6 years ago
|
||
Assignee | ||
Comment 37•6 years ago
|
||
Depends on D55250
Assignee | ||
Comment 38•6 years ago
|
||
Depends on D55251
Assignee | ||
Comment 39•6 years ago
|
||
Depends on D55252
Assignee | ||
Comment 40•6 years ago
|
||
Depends on D55253
Assignee | ||
Comment 41•6 years ago
|
||
Depends on D55254
Assignee | ||
Comment 42•6 years ago
|
||
Depends on D55255
Assignee | ||
Comment 43•6 years ago
|
||
Assignee | ||
Comment 44•6 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 45•6 years ago
|
||
Comment 46•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d0a20aae4d2a
https://hg.mozilla.org/mozilla-central/rev/975949070c3b
https://hg.mozilla.org/mozilla-central/rev/c446bdb23bd1
https://hg.mozilla.org/mozilla-central/rev/d374533152c9
https://hg.mozilla.org/mozilla-central/rev/f038e448c900
https://hg.mozilla.org/mozilla-central/rev/7800ce1ac4df
https://hg.mozilla.org/mozilla-central/rev/b7864d9346d5
Comment 47•6 years ago
|
||
The Kindle Fire HDX is the only tablet without icon. Is this intended?
The Firefox icon is truncated. Also the decice name no longer fits the device field and is truncated.
Comment 48•6 years ago
|
||
Assignee | ||
Comment 49•6 years ago
|
||
Hello Sören, thank you very much for your reporting!
Regarding Kindle Fire HDX icon:
We support only the following major browsers for now.
https://searchfox.org/mozilla-central/source/devtools/client/responsive/utils/ua.js#7-33
Thus, silk browser is not supported yet.
Regarding the truncated icon and the label:
Thank you for finding this!
I'll file the bug.
Assignee | ||
Comment 50•6 years ago
|
||
Filed
- Bug 1601853 - Firefox icon is truncated on the device list modal in RDM
- Bug 1601854 - The device label of the menu button is truncated
Description
•