Closed Bug 1288238 Opened 8 years ago Closed 8 years ago

Improvement: Move computed devtools-toolbar just below the Box Model

Categories

(DevTools :: Inspector, defect, P1)

defect

Tracking

(firefox50 fixed)

RESOLVED FIXED
Firefox 50
Tracking Status
firefox50 --- fixed

People

(Reporter: magicp.jp, Assigned: gl)

References

Details

Attachments

(3 files, 1 obsolete file)

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
Build ID: 20160720030208

Steps to reproduce:

In Bug 1247729, the box model panel into the computed view. It is a good idea, and also we can improve usability more.


Actual results:

- Filter inputbox and the property view are divided
- Box model will be confused as a filter result
- Scrollbar affects the box model panel


Expected results:

Move computed devtools-toolbar just below the Box Model. Please find attached image.
Blocks: 1247729
Has STR: --- → yes
Component: Untriaged → Developer Tools: Computed Styles Inspector
OS: Unspecified → All
Hardware: Unspecified → All
Attached image example-2.png
Move layout-info into layout-header
- layout-info is always visible
- Reduce height of layout-container
Thanks for the suggestion magicp. I think it is a good idea to make the move just want to run this with our UX. I know there are varying opinions in terms of the consistency with the placement of the filter inputbox between the 2 views.
Flags: needinfo?(hholmes)
(In reply to Gabriel Luong [:gl] (ΦωΦ) from comment #2)
> Thanks for the suggestion magicp. I think it is a good idea to make the move
> just want to run this with our UX. I know there are varying opinions in
> terms of the consistency with the placement of the filter inputbox between
> the 2 views.

Thanks Gabe! I agree with you and magicp, though—this seems like a solid change, seems like it's placement is pretty weird right now.

I think this is a P1 as it's based on the Box Model work you did, Gabe—can you take this on right now?
Flags: needinfo?(hholmes) → needinfo?(gl)
Assignee: nobody → gl
Status: NEW → ASSIGNED
Flags: needinfo?(gl)
Priority: -- → P1
Attached patch 1288238.patch [1.0] (obsolete) — Splinter Review
Attachment #8773633 - Flags: ui-review?(hholmes)
Attachment #8773633 - Flags: review?(jdescottes)
I haven't tested the patch, but it would be nice if the toolbar was sticky. If you scroll down past the box model view, the toolbar would stick to the top.
Comment on attachment 8773633 [details] [diff] [review]
1288238.patch [1.0]

Review of attachment 8773633 [details] [diff] [review]:
-----------------------------------------------------------------

Code change looks good, thanks! 

While we are discussing height/space issues, I propose (again :)) to only use the compact version of the box model.

I also really like magicp's suggestion in attachment 8773176 [details], displaying a summary of the layout info when the box is collapsed. 
Would be nice to track this in a follow up if we don't handle it in this bug.
Attachment #8773633 - Flags: review?(jdescottes) → review+
Attachment #8773633 - Flags: ui-review?(hholmes)
Attachment #8773633 - Attachment is obsolete: true
Attachment #8773894 - Flags: review+
https://hg.mozilla.org/mozilla-central/rev/48cee0fccdb3
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 50
Product: Firefox → DevTools
Component: Inspector: Computed → Inspector
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: