Closed
Bug 1026679
Opened 10 years ago
Closed 10 years ago
Make inContent preferences responsive
Categories
(Firefox :: Settings UI, defect)
Firefox
Settings UI
Tracking
()
VERIFIED
FIXED
Firefox 37
People
(Reporter: ntim, Assigned: shubham, Mentored)
References
Details
(Whiteboard: [good first bug][lang=css])
Attachments
(1 file, 1 obsolete file)
542 bytes,
patch
|
jaws
:
review+
ntim
:
feedback+
|
Details | Diff | Splinter Review |
Currently the inContent prefs are not responsive. When resizing the window in a too small width, it should hide the category labels.
Reporter | ||
Updated•10 years ago
|
OS: Windows 8.1 → All
Hardware: x86_64 → All
Reporter | ||
Updated•10 years ago
|
Blocks: ship-incontent-prefs
Reporter | ||
Updated•10 years ago
|
Mentor: jaws
Whiteboard: [good first bug][lang=css]
Reporter | ||
Updated•10 years ago
|
Mentor: ntim007
Reporter | ||
Comment 1•10 years ago
|
||
Basically, you'll need to add this :
@media (max-width: 800px) {
.category-name {
display: none;
}
}
to browser/themes/shared/incontentprefs/preferences.css
Comment 2•10 years ago
|
||
I'm not sure we want to hide the category labels. As great as the icons that we have are, I don't think the icons are distinguishable enough to live on their own. We could also try to slide them off screen until the user has clicked on a button to list all of them, but I'll leave the full interaction design to someone on the UX team.
Comment 3•10 years ago
|
||
(Removing [good first bug] until we know the desired route forward)
Whiteboard: [good first bug][lang=css] → [lang=css]
Reporter | ||
Comment 4•10 years ago
|
||
(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #2)
> I'm not sure we want to hide the category labels. As great as the icons that
> we have are, I don't think the icons are distinguishable enough to live on
> their own. We could also try to slide them off screen until the user has
> clicked on a button to list all of them, but I'll leave the full interaction
> design to someone on the UX team.
The add-on manager currently does the same thing, and it works great.
Comment 5•10 years ago
|
||
Oh, either I didn't know that before or I did and I forgot. Thanks for the correction.
Whiteboard: [lang=css] → [good first bug][lang=css]
Assignee | ||
Comment 6•10 years ago
|
||
Hi,
I have the file preferences.inc.css. Should I edit that file and can you tell where exactly can I see the actual bug in NightlyDebug?
Reporter | ||
Comment 7•10 years ago
|
||
(In reply to Shubham Jindal from comment #6)
> Hi,
>
> I have the file preferences.inc.css. Should I edit that file and can you
> tell where exactly can I see the actual bug in NightlyDebug?
When you resize the browser to a small width in the in-content prefs, you'll see that the UI is almost unusable. With the CSS you need to add, the category names should hide when the window size is lower than 800px, so there's more space for the content area.
Reporter | ||
Updated•10 years ago
|
Assignee: nobody → shubhamjindal18
Status: NEW → ASSIGNED
Assignee | ||
Comment 8•10 years ago
|
||
in-content prefs as in about:preferences right?
Reporter | ||
Comment 9•10 years ago
|
||
(In reply to Shubham Jindal from comment #8)
> in-content prefs as in about:preferences right?
Yep.
Assignee | ||
Comment 10•10 years ago
|
||
Attachment #8532943 -
Flags: review?(jaws)
Attachment #8532943 -
Flags: feedback?(ntim007)
Reporter | ||
Comment 11•10 years ago
|
||
Comment on attachment 8532943 [details] [diff] [review]
bug1026679.diff
Review of attachment 8532943 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/themes/shared/incontentprefs/preferences.inc.css
@@ +64,5 @@
> +@media (max-width: 800px) {
> + .category-name {
> + display: none;
> + }
> +}
Please place this code after the @media (min-resolution: 2dppx) block (at line 101)
Attachment #8532943 -
Flags: review?(jaws)
Attachment #8532943 -
Flags: feedback?(ntim007)
Assignee | ||
Comment 12•10 years ago
|
||
Attachment #8532943 -
Attachment is obsolete: true
Attachment #8533026 -
Flags: review?(jaws)
Attachment #8533026 -
Flags: feedback?(ntim007)
Reporter | ||
Comment 13•10 years ago
|
||
Comment on attachment 8533026 [details] [diff] [review]
bug1026679.diff
Review of attachment 8533026 [details] [diff] [review]:
-----------------------------------------------------------------
f+ assumming you tested the patch.
Attachment #8533026 -
Flags: feedback?(ntim007) → feedback+
Assignee | ||
Comment 14•10 years ago
|
||
tested as in trying to see if the bug has been solved by resizing the window to small width? or are there are some automated tests which I need to run?
Reporter | ||
Comment 15•10 years ago
|
||
(In reply to Shubham Jindal from comment #14)
> tested as in trying to see if the bug has been solved by resizing the window
> to small width? or are there are some automated tests which I need to run?
Just resize the window to a small width and see if the category names are gone.
Assignee | ||
Comment 16•10 years ago
|
||
Yeah. Already checked that :)
Comment 17•10 years ago
|
||
Comment on attachment 8533026 [details] [diff] [review]
bug1026679.diff
Review of attachment 8533026 [details] [diff] [review]:
-----------------------------------------------------------------
Tested and looks good. Thanks!
Attachment #8533026 -
Flags: review?(jaws) → review+
Reporter | ||
Comment 18•10 years ago
|
||
Now you can set the checkin-needed keyword to have this landed :)
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 19•10 years ago
|
||
Keywords: checkin-needed
Whiteboard: [good first bug][lang=css] → [good first bug][lang=css][fixed-in-fx-team]
Comment 20•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [good first bug][lang=css][fixed-in-fx-team] → [good first bug][lang=css]
Target Milestone: --- → Firefox 37
Comment 21•10 years ago
|
||
Verified fixed on Windows 7 64bit, Ubuntu 13.10 32bit and Mac OSX 10.9.5 using latest Nightly 37.0a1 (buildID: 20150106030201).
Status: RESOLVED → VERIFIED
Comment 22•9 years ago
|
||
The change made here is a step forward, but you can't quite call the design of `about:preferences` responsive yet. The forms are much too desktop-centric. Here are a couple of things that should be changed:
- Indenting of form elements based on text (length of which depends on locale as well) especially the `content` tab
- Non-wrapping text (security tab)
- Horizontal tabs (advanced tab)
Comment 23•9 years ago
|
||
(In reply to Ameen Ross from comment #22)
> The change made here is a step forward, but you can't quite call the design
> of `about:preferences` responsive yet. The forms are much too
> desktop-centric. Here are a couple of things that should be changed:
>
> - Indenting of form elements based on text (length of which depends on
> locale as well) especially the `content` tab
> - Non-wrapping text (security tab)
> - Horizontal tabs (advanced tab)
Thanks for the feedback. The future designs of in-content preferences are more responsive, but we needed to get something shipped for a version 1.
You need to log in
before you can comment on or make changes to this bug.
Description
•