ux icon indicating copy to clipboard operation
ux copied to clipboard

[Network] Improve discoverability of the Header column menu

Open janodvarko opened this issue 5 years ago • 5 comments

Users might not now about the context menu that allows to show/hide columns in the Network panel. We could introduce an menu-icon in order to improve discoverability of this feature.

This menu-icon could appear at the right side of a column header as long as the user hovers mouse over the header. Clicking on the menu would open the same context menu as if the user just right clicked (anywhere) on the header.

Work started in bug 1460875

cc @digitarald @fvsch @violasong

Prior Art

Chrome

Chrome has transparent arrow to indicate sorting (there is no menu-icon)

image

The column label is shortened only when the column itself is too thin image

Edge

Edge is displaying sorting icon above the text image

And hiding the text when the column becomes thin (even under the icon, which doesn't seem to be necessary) image

Firefox

Firefox is already displaying sorting icon that can hide part of the label if no space

image

Combination of sort-arrow and icon-menu can take even more space image

Considerations

In case where the column is thin there isn't much space, especially in cases where:

  • The column label takes the entire horizontal space
  • Sorting icon is already there

Hiding the label:

  • Instead of using '...' three dots, we could use CSS mask just like for browser tab label. image

Other:

  • The menu-icon (meatball) should probably appear white one blue background (when the column is sorted)
  • The menu-icon (meatball) should change background like other (meatball) icons in the UI

image

Honza

janodvarko avatar May 01 '19 09:05 janodvarko

I like how the sorting icon doesn't take space in Chrome (as the label is more important than the arrow), maybe some smart CSS filter can improve contrast for that case.

As another prior art, Google spreadsheets shows the menu on hover and overlayed on top with a light button styling (screenshot showing hovered state): image

digitarald avatar May 01 '19 16:05 digitarald

maybe some smart CSS filter can improve contrast for that case.

Yes, I was thinking about this too.

@fvsch Could we have a CSS Mask applied around the triangle? (circular CSS mask?)

Honza

janodvarko avatar May 02 '19 09:05 janodvarko

Hiding the label:

  • Instead of using '...' three dots, we could use CSS mask just like for browser tab label.

Hi!

What about having this '...' and arrow icons appear when the user is hovering the column, whether it is focused or not? So the space needed is only used when the user is looking for this menu

Ilphrin avatar May 02 '19 12:05 Ilphrin

What about having this '...' and arrow icons appear when the user is hovering the column, whether it is focused or not? So the space needed is only used when the user is looking for this menu

I am not sure if I understand this, can you please explain more?

janodvarko avatar May 17 '19 08:05 janodvarko

Also, Google spreadsheets hides the menu-icon when the column is too small. In that case the menu is accessible only through right click.

Honza

janodvarko avatar May 17 '19 08:05 janodvarko