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

Issue 1978673002: Make side panels auto-sized and resizeable. (Closed)

Created:
4 years, 7 months ago by benjhayden
Modified:
4 years, 7 months ago
CC:
catapult-reviews_chromium.org, tracing-review_chromium.org
Base URL:
https://github.com/catapult-project/catapult.git@master
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Make side panels auto-sized and resizeable. Currently, side panels hard-code their width, regardless of their contents. This can waste space if side panels don't need all of their space, or look unnecessarily cramped if side panels need more space than specified. This CL automatically sets the side panel's width based on its contents when it's created, and adds a drag handle to allow users to dynamically resize it, so that side panels don't need to hard-code their width. BUG=catapult:#2329 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/849bc5d4ec90569bceaa29274fc80482947a94dd

Patch Set 1 #

Patch Set 2 : reset width to fix timing #

Total comments: 4

Patch Set 3 : raf #

Patch Set 4 : fix glitch? #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -17 lines) Patch
M tracing/tracing/ui/side_panel/file_size_stats_side_panel.html View 1 chunk +0 lines, -1 line 0 comments Download
M tracing/tracing/ui/side_panel/metrics_side_panel.html View 1 2 3 chunks +7 lines, -6 lines 0 comments Download
M tracing/tracing/ui/side_panel/side_panel_container.html View 1 2 3 7 chunks +12 lines, -5 lines 0 comments Download
M tracing/tracing/ui/value_set_view.html View 1 2 6 chunks +9 lines, -5 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
benjhayden
The auto-sizing doesn't work quite right yet, but the manual resizing works.
4 years, 7 months ago (2016-05-12 21:32:36 UTC) #2
benjhayden
On 2016/05/12 at 21:32:36, benjhayden_chromium wrote: > The auto-sizing doesn't work quite right yet, but ...
4 years, 7 months ago (2016-05-12 21:40:13 UTC) #3
nednguyen
lgtm on the UI update, looks amazing! Petr would know about the nitty gritty of ...
4 years, 7 months ago (2016-05-13 03:36:40 UTC) #5
petrcermak
This is great! However, the proposed implementation has a glitch: If you click on "Metrics" ...
4 years, 7 months ago (2016-05-13 09:23:17 UTC) #6
benjhayden
I wasn't able to repro the glitch either with or without petr's fix, so I ...
4 years, 7 months ago (2016-05-13 18:42:09 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1978673002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1978673002/60001
4 years, 7 months ago (2016-05-13 18:46:31 UTC) #12
commit-bot: I haz the power
4 years, 7 months ago (2016-05-13 19:08:02 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698