Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(881)

Issue 2458873002: Improve usability of groupby-picker. (Closed)

Created:
4 years, 1 month ago by benjhayden
Modified:
4 years, 1 month ago
CC:
catapult-reviews_chromium.org, tracing-review_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Improve usability of groupby-picker. There are 2 kinds of discoverability issues with the current groupby-picker: You need to click Add another in order to see disabled possible groupings, and You need to hover over a grouping and pay close attention to see its close button and figure out that the hand cursor suggests draggability. This CL changes the groupby-picker away from drag-drop to use more discoverable checkboxes and buttons. https://screenshot.googleplex.com/6SabSQRCAYE.png All available grouping keys are always visible. No hover effects. No mysterious cursor changes. This reduces the number of clicks required to enable a disabled grouping key from 2 to 1. This simplifies the gestures required to reorder grouping keys from a complicated mousedown-drag-mouseup gesture to 1 click, or click-move-click, or click-move-click-move-click, etc. Buttons that have no effect (like the left/right buttons for disabled groupings) are hidden in order to limit visual noise, but there are still lots of buttons when there are lots of enabled categories, which can happen in histogram-set-table. We'll keep a look out for emerging web designs that are more minimalist while maintaining the discoverability of buttons and checkboxes. Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/032f5e79f019a61bc8f4ffe61be7414f2df3f925

Patch Set 1 : . #

Patch Set 2 : hide useless buttons #

Total comments: 16

Patch Set 3 : arrows #

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -328 lines) Patch
M tracing/tracing/ui/base/grouping_table_groupby_picker.html View 1 2 3 4 chunks +129 lines, -292 lines 0 comments Download
M tracing/tracing/ui/base/grouping_table_groupby_picker_test.html View 2 chunks +16 lines, -32 lines 0 comments Download
M tracing/tracing/ui/side_panel/file_size_stats_side_panel.html View 1 chunk +5 lines, -1 line 0 comments Download
M tracing/tracing/value/ui/histogram_set_table.html View 1 chunk +7 lines, -3 lines 0 comments Download

Messages

Total messages: 28 (18 generated)
benjhayden
PTAL :-)
4 years, 1 month ago (2016-10-28 18:36:09 UTC) #12
eakuefner
lgtm let's probably wait for charlie to make sure he thinks the ux is what ...
4 years, 1 month ago (2016-10-31 17:56:40 UTC) #13
charliea (OOO until 10-5)
Controversial opinion that I'm hesitant to voice: I'm not convinced that the proposed UI is ...
4 years, 1 month ago (2016-10-31 20:50:33 UTC) #14
benjhayden
I made it hide buttons that have no effect instead of disabling them in order ...
4 years, 1 month ago (2016-11-01 19:03:58 UTC) #16
charliea (OOO until 10-5)
lgtm w/ comments If it's alright with you, I may poke at this later to ...
4 years, 1 month ago (2016-11-01 20:18:27 UTC) #17
benjhayden
Thanks! PTAL? https://codereview.chromium.org/2458873002/diff/100001/tracing/tracing/ui/base/grouping_table_groupby_picker.html File tracing/tracing/ui/base/grouping_table_groupby_picker.html (right): https://codereview.chromium.org/2458873002/diff/100001/tracing/tracing/ui/base/grouping_table_groupby_picker.html#newcode39 tracing/tracing/ui/base/grouping_table_groupby_picker.html:39: #left, #right { On 2016/11/01 at 20:18:27, ...
4 years, 1 month ago (2016-11-01 22:53:04 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2458873002/140001
4 years, 1 month ago (2016-11-02 20:17:03 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Android Tryserver on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Android%20Tryserver/builds/1887)
4 years, 1 month ago (2016-11-02 20:39:27 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2458873002/140001
4 years, 1 month ago (2016-11-02 22:08:27 UTC) #26
commit-bot: I haz the power
4 years, 1 month ago (2016-11-02 23:01:12 UTC) #28
Message was sent while issue was closed.
Committed patchset #4 (id:140001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698