Open
Bug 1374217
Opened 8 years ago
Updated 3 years ago
Make it possible to resize sidebar smaller and wider
Categories
(Firefox :: General, defect, P3)
Firefox
General
Tracking
()
NEW
| Tracking | Status | |
|---|---|---|
| firefox57 | --- | wontfix |
People
(Reporter: geoffreydebelie, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0
Build ID: 20170615030208
Steps to reproduce:
There is a lower limit and upper limit to the resizing of the WebExtensions sidebar. I don't think the defaults are good enough. If I want my sidebar 20px wide I should be able to resize it to 20px. When I want my sidebar to have a width of 600px, I should be able to resize it to that width.
Updated•8 years ago
|
Flags: needinfo?(amckay)
Updated•8 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Flags: needinfo?(amckay)
Resolution: --- → DUPLICATE
| Reporter | ||
Comment 2•8 years ago
|
||
I wasn't clear enough, let me explain. This is not a duplicate of bug 1346490 (which asks for a new API).
Currently, the user can resize the sidebar between some boundaries/limits. I merely asked to be more flexible in those boundaries/limits, for example you can't resize the sidebar to be 20px wide, because the minimum is a bit higher.
TLDR: Can we change the sidebar boundaries/limits (lower and higher) for a user to resize the sidebar width? I don't think it has implications whatoever, since we already allow the sidebar to be resized.
Status: RESOLVED → UNCONFIRMED
Flags: needinfo?(amckay)
Resolution: DUPLICATE → ---
Comment 3•8 years ago
|
||
That's a question for the Firefox UI team, so moving over there.
Component: WebExtensions: Untriaged → General
Flags: needinfo?(amckay)
Product: Toolkit → Firefox
| Reporter | ||
Comment 4•8 years ago
|
||
Andy, can you needinfo someone from the UI team to make some progress with this bug report?
Flags: needinfo?(amckay)
Updated•8 years ago
|
Flags: needinfo?(amckay)
Updated•8 years ago
|
Flags: needinfo?(shorlander)
Comment 5•8 years ago
|
||
This bug isn't specifically about WebExtensions, but rather any sidebar.
Summary: Make it possible to resize WebExtensions sidebar smaller and wider → Make it possible to resize sidebar smaller and wider
Updated•8 years ago
|
status-firefox57:
--- → wontfix
Comment 6•8 years ago
|
||
I don't think there is anything wrong with decreasing the minimum and increasing the maximum width of the sidebar.
We should just need to be sure that those values don't make it possible to break the layout or to put the sidebar into an unusable state.
Constraints on the min-width:
- It should always be wide enough to see the sidebar switcher AND the close button: e.g. https://cl.ly/1u1A3I3p321c
Constraints on the max-width:
- It should never be so wide that it's hard to resize
- It should never be so wide that it's not clear where content viewport is
- I would recommend no larger than 65% of the window width
Flags: needinfo?(shorlander)
| Reporter | ||
Comment 7•8 years ago
|
||
Sounds good if the sidebar switcher can hide its label dynamically.
Updated•6 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Comment 9•5 years ago
|
||
I think we'd take a patch, but it'd have to be a bit more nuanced than just increasing the max width / decreasing the min-width - I think we want some other constraints based on the size of the window, too. We can now (as of 75?) do this in pure CSS, I think, using something like max-width: min(72em, 50vw) or something like this -- but I don't know how performant that'd be... Alternatively, we'd need a (debounced) resize handler to deal with the window size constraints in comment #6.
Comment 10•4 years ago
|
||
I haven't used the sidebar, because similar designs often trigger my migraines. But if I could (a) open it in a new tab, and (b) widen it to the full width, I might be able to use it without the migraines.
65% would not be enough. 90% might.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•