Containers with really long identity name break the UX
Categories
(Core :: DOM: Security, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox57 | --- | fix-optional |
People
(Reporter: jkt, Assigned: sdk, NeedInfo)
References
(Blocks 1 open bug)
Details
(Whiteboard: [userContextId][domsecurity-backlog])
Attachments
(2 files)
Updated•8 years ago
|
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
Reporter | ||
Comment 3•8 years ago
|
||
Comment 4•8 years ago
|
||
Reporter | ||
Comment 5•8 years ago
|
||
Comment 6•8 years ago
|
||
Updated•8 years ago
|
Comment 10•7 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 11•2 years ago
|
||
Assignee | ||
Comment 12•2 years ago
|
||
I don't think limiting the container name is the right approach.
Looking at it today a bit more, I now agree with Itiel. There's a few issues with enforcing a maxlength as a solution:
- It'll most likely affect different locales than english a lot more especially if the limit is 30 chars.
- Even 30 chars use more than half of the urlbar before we hit the rule to completely hide the label when the window width is lower than Nth pixels.
- Applying a limit in the chrome or in about:preference#containers won't prevent an addon using the ContextualIdentities API to create a container with more than 30 characters long name. I don't think we want to apply this limit directly on the API itself either.
Based on that, Itiel proposition to visually truncate the container name label seems like the right approach. We should enforce a max percentage that the label can use and be a little more aggressive in applying the rule that completely hide it when the window width is reduced (See 2). The container icon is still present whatever the width is and you can hover over to show a tooltip containing the name. This should be enough for the user to know in which container they are especially that I'm guessing it's pretty rare for users to have a window small that half the screen width.
Description
•