firefox-devtools / ux

Firefox DevTools UX Community
Mozilla Public License 2.0
103 stars 21 forks source link

Table borders in Network's request list #109

Closed digitarald closed 4 years ago

digitarald commented 4 years ago

Came up in https://bugzilla.mozilla.org/show_bug.cgi?id=1416714#c27 with patches attached.

image

I wanted to file this issue to discuss the border idea as it might be something we want to continue. I find it a bit easier to scan the table on my large 4k screen. Profiler's tables (and Storage) also use the same border pattern.

cc @bomsy @violasong @janodvarko

fvsch commented 4 years ago

Screenshot with the current UI and using a --theme-splitter-color border (at 2x resolution):

Screenshot

I kinda like it.

janodvarko commented 4 years ago

Looks great to me.

Honza

bomsy commented 4 years ago

Same. i like it.

bomsy commented 4 years ago

Tried it with dark theme as well ..

Screenshot

violasong commented 4 years ago

This does look good! Could you try a bit more left/right padding on the columns? I know it takes space to do this, but I still think our horizontal spacing issues should be solved via tighter spacing on the columns with less text.

A tangent, but I was just looking at Finder and Chrome and now I'm wondering if we should be right-aligning our transferred and size columns.

fvsch commented 4 years ago

I opened bug 1614567 and I'll have a patch ready for review shortly.

Screenshots at 2x resolution:

What I did:

fvsch commented 4 years ago

@violasong @digitarald Patch is in good shape and accepted. You can use the screenshots in the previous comment for the UI review.

digitarald commented 4 years ago

@fvsch thanks for working on this and the code polish on top of it! I added my LGTM to the patch.

violasong commented 4 years ago

LGTM as well - thanks!

fvsch commented 4 years ago

Landed in the latest Nightly.