Closed
Bug 741576
Opened 12 years ago
Closed 12 years ago
Style tweaks for Computed view
Categories
(DevTools :: Inspector, defect)
DevTools
Inspector
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 18
People
(Reporter: harth, Assigned: harth)
References
Details
(Whiteboard: [fixed-in-fx-team])
Attachments
(1 file, 3 obsolete files)
5.72 KB,
patch
|
paul
:
review+
|
Details | Diff | Splinter Review |
We're making the computed view prettier in bug 735629, but in the meantime I suggest reducing the padding around each style property so you can scan more without scrolling and putting the search box on the left hand side to align with the properties.
Assignee | ||
Comment 1•12 years ago
|
||
Patch for proposed tweaks.
Comment 2•12 years ago
|
||
For the toolbar holding the checkbox and the searchbox, could we use the devtools theme as well? Using class="devtools-toolbar" class="devtools-searchinput" should work (not sure if it should be part of this bug, and if it even looks good)
Assignee | ||
Comment 3•12 years ago
|
||
Here's a screenshot with those two classes applied too.
Assignee | ||
Comment 4•12 years ago
|
||
Comment on attachment 611597 [details] [diff] [review] Reduce padding and put search box on left We can do the dark themeing of the toolbar in a separate bug.
Attachment #611597 -
Flags: review?(jwalker)
Comment 5•12 years ago
|
||
Comment on attachment 611597 [details] [diff] [review] Reduce padding and put search box on left Review of attachment 611597 [details] [diff] [review]: ----------------------------------------------------------------- r+ technically. I'd like to have a look but I'm travelling, so I'll try to have a look on monday.
Attachment #611597 -
Flags: review?(jwalker) → review+
Comment 6•12 years ago
|
||
(In reply to Joe Walker from comment #5) > r+ technically. I'd like to have a look but I'm travelling, so I'll try to > have a look on monday. It's monday still. In some part of the world. Maybe. Time travel aside. it looks good to me.
Assignee | ||
Comment 7•12 years ago
|
||
http://hg.mozilla.org/integration/fx-team/rev/e90f0d780ca9
Status: NEW → ASSIGNED
Whiteboard: [fixed-in-fx-team]
Comment 8•12 years ago
|
||
Backed out for timeouts in browser_bug589375_keybindings.js: https://tbpl.mozilla.org/?tree=Fx-Team&rev=e90f0d780ca9 https://tbpl.mozilla.org/php/getParsedLog.php?id=11470510&tree=Fx-Team https://hg.mozilla.org/integration/fx-team/rev/4a69124110a1
Assignee: nobody → fayearthur
Whiteboard: [fixed-in-fx-team]
Comment 9•12 years ago
|
||
I mentioned this on IRC but so it's not forgotten: the test depends on the order of elements - it's checking that pressing <tab> from the search field moves focus to the style checkbox. Since those got reordered, the test needs to be updated to match (could probably just add a shift modifier to the keypress at https://mxr.mozilla.org/mozilla-central/source/browser/devtools/styleinspector/test/browser_bug589375_keybindings.js#71)
Assignee | ||
Comment 10•12 years ago
|
||
Thanks Paul for the note! I updated the test, and it's passing on try server now.
Attachment #611597 -
Attachment is obsolete: true
Attachment #646084 -
Flags: review?(jwalker)
Updated•12 years ago
|
Attachment #646084 -
Flags: review?(jwalker) → review+
Assignee | ||
Comment 11•12 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/6b2d5e37140e
Whiteboard: [fixed-in-fx-team]
Comment 12•12 years ago
|
||
Sorry backed out for Win7-only timeouts in browser_styleinspector_bug_672744_search_filter.js (and later tests): https://tbpl.mozilla.org/?tree=Fx-Team&rev=6b2d5e37140e eg: https://tbpl.mozilla.org/php/getParsedLog.php?id=13892175&tree=Fx-Team https://tbpl.mozilla.org/php/getParsedLog.php?id=13898690&tree=Fx-Team https://hg.mozilla.org/integration/fx-team/rev/d70abeff7c08
Whiteboard: [fixed-in-fx-team]
Comment 13•12 years ago
|
||
Heather, my guess it that the SynthetizeMouse call fails: http://mxr.mozilla.org/mozilla-central/source/browser/devtools/styleinspector/test/browser_styleinspector_bug_672744_search_filter.js#51 The CSS change might be the problem here (s/5,5/2,2/ might solve the problem).
Assignee | ||
Comment 14•12 years ago
|
||
(In reply to Paul Rouget [:paul] from comment #13) > Heather, my guess it that the SynthetizeMouse call fails: > http://mxr.mozilla.org/mozilla-central/source/browser/devtools/ > styleinspector/test/browser_styleinspector_bug_672744_search_filter.js#51 > > The CSS change might be the problem here (s/5,5/2,2/ might solve the > problem). It does look like the synthesizeMouse() call is failing. I tried 2,2 and 8,8 but the test still fails.
Assignee | ||
Comment 15•12 years ago
|
||
Okay, sod switching the search box and check box for now. This patch tweaks the computed table to take up less room and reduce horizontal scrolling, it: * reduces the font size of property names. * makes property names <td>s so names are broken up if they're too long. * reduces some padding/margin between rows and after expanders. It will still scroll if you make the sidebar too small, and it's not a complete overhaul of the UI, but I think it's a good fix for now. Tests pass on try server.
Attachment #614005 -
Attachment is obsolete: true
Attachment #646084 -
Attachment is obsolete: true
Attachment #653662 -
Flags: review?(paul)
Comment 16•12 years ago
|
||
Comment on attachment 653662 [details] [diff] [review] tweak styles to lessen horizontal scrolling Optional: maybe you want to remove some padding/margin around the twisty. Up to you.
Attachment #653662 -
Flags: review?(paul) → review+
Updated•12 years ago
|
Whiteboard: [land-in-fx-team]
Assignee | ||
Comment 17•12 years ago
|
||
(In reply to Paul Rouget [:paul] from comment #16) > Comment on attachment 653662 [details] [diff] [review] > tweak styles to lessen horizontal scrolling > > Optional: maybe you want to remove some padding/margin around the twisty. Up > to you. That would be nice. -moz-apperance: treetwisty was too magic for me to figure out what was going on immediately, maybe a follow-up?
Comment 18•12 years ago
|
||
(In reply to Heather Arthur [:harth] from comment #17) > maybe a follow-up? Yep. Let's land that.
Comment 19•12 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/59b7b6ae1d1d
Whiteboard: [land-in-fx-team] → [fixed-in-fx-team]
Comment 20•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/59b7b6ae1d1d
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Target Milestone: --- → Firefox 18
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•