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

Issue 10832191: Major revision of page cycler UI. (Closed)

Created:
8 years, 4 months ago by clintstaley
Modified:
8 years, 2 months ago
Reviewers:
Aaron Boodman, clintstaley, Jeffrey Yasskin
CC:
chromium-reviews, mihaip-chromium-reviews_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Major revision of page cycler UI. This revision does several things: In this CL: 1. Reforms the JS UI to look more like Chrome|Settings, including look/feel and use of overlays for progress and error reporting. 2. Redesigns the UI to support maintaining on the extension side a record of captures, including their URLs and the cache state resulting from their initial capture run. Allows the user to add new captures to the record, delete unwanted ones, and run any he'd like. Later CLs: 3. Actually implements the underlying FileSystem-using code to do this, as opposed to current mockup. 4. Adds C++-side code to allow C++ directories to be copied to and from FileSystem sandbox directories. 5. Adds means of interrupting ongoing sub-browser sessions so that captures and replays may be cancelled from UI. 6. Improves stats reporting, including nice-looking charts instead of present rather nasty line-by-line text dump of runtimes per URL. Snapshots: Capture tab: http://imgur.com/Jb3UG Message overlay: http://imgur.com/afFVL Playback tab: http://imgur.com/PUGhx Playback w/o chosen capture: http://imgur.com/biKK1 Playback w/ no captures available: http://imgur.com/Zv4Bp Aaron's initial mockup/spec: https://moqups.com/aboodman/wDjKAEXR/p:aed59f081 Somewhat dated original design doc for the first version: https://docs.google.com/a/chromium.org/document/d/1HyiPO4DBfCzLtVKOMx6rGGa7Vw_GzNZX_FObc-mWiZo/edit?hl=en_US&sai=true Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162059

Patch Set 1 : Major revision to cycler UI #

Total comments: 48

Patch Set 2 : Newer version with requested decomposition into separate sources #

Total comments: 46

Patch Set 3 : Fixes per jyasskin #

Total comments: 10

Patch Set 4 : Next round of fixes, per jyasskin's comments #

Total comments: 4

Patch Set 5 : Retrying with new DumpRenderTree run #

Patch Set 6 : CL without binary elements (separately landed) #

Patch Set 7 : Trying again....\ #

Patch Set 8 : Retrying with redone cycler.zip #

Patch Set 9 : And again with very latest master merge #

Patch Set 10 : Interim fixes to browser_tests #

Patch Set 11 : Latest minus the offending PNG file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+840 lines, -63 lines) Patch
M chrome/browser/extensions/api/record/record_api.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/record/record_api.cc View 1 2 3 4 5 6 7 8 9 5 chunks +15 lines, -9 lines 0 comments Download
M chrome/browser/extensions/api/record/record_api_test.cc View 1 2 3 4 5 6 7 8 9 4 chunks +11 lines, -5 lines 0 comments Download
M chrome/common/extensions/api/experimental_record.json View 1 2 3 4 5 6 7 8 9 5 chunks +37 lines, -17 lines 0 comments Download
A chrome/common/extensions/docs/examples/apps/cycler/capture_tab.js View 1 2 3 1 chunk +92 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/examples/apps/cycler/cycler.css View 1 1 chunk +149 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/examples/apps/cycler/cycler.html View 1 2 3 1 chunk +107 lines, -0 lines 0 comments Download
A + chrome/common/extensions/docs/examples/apps/cycler/cycler.js View 1 2 3 4 5 6 7 8 9 6 chunks +30 lines, -31 lines 0 comments Download
A chrome/common/extensions/docs/examples/apps/cycler/cycler_data.js View 1 2 3 1 chunk +39 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/examples/apps/cycler/cycler_ui.js View 1 2 3 1 chunk +107 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/examples/apps/cycler/manifest.json View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/examples/apps/cycler/playback_tab.js View 1 2 3 4 5 6 7 8 9 1 chunk +234 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (0 generated)
clintstaley
Looking forward to your thoughts, folks.
8 years, 4 months ago (2012-08-09 00:16:31 UTC) #1
Aaron Boodman
Clint, I meant for https://moqups.com/aboodman/wDjKAEXR/p:aed59f081 to be only a wireframe showing how the screens would ...
8 years, 4 months ago (2012-08-09 00:51:20 UTC) #2
clintstaley_gmail.com
I stole CSS directly from the Settings page per request, but misunderstood about these Imgur ...
8 years, 4 months ago (2012-08-09 02:52:53 UTC) #3
clintstaley
On 2012/08/09 02:52:53, clintstaley_gmail.com wrote: > I stole CSS directly from the Settings page per ...
8 years, 4 months ago (2012-08-09 03:01:10 UTC) #4
clintstaley
On 2012/08/09 03:01:10, clintstaley wrote: > On 2012/08/09 02:52:53, http://clintstaley_gmail.com wrote: > > I stole ...
8 years, 4 months ago (2012-08-09 03:29:33 UTC) #5
Aaron Boodman
Yeah, Cycler seems more friendly.
8 years, 4 months ago (2012-08-09 15:34:44 UTC) #6
clintstaley_gmail.com
I could fish up an "Eye of Sauron" icon for Cyclops if you wanted :) ...
8 years, 4 months ago (2012-08-09 16:08:57 UTC) #7
Jeffrey Yasskin
Please include in your CL description a description of what the "major revision" consists of. ...
8 years, 4 months ago (2012-08-09 19:27:04 UTC) #8
clintstaley
New revision with some changes per Jeff's review, and the look/feel fixes Aaron requested. Aaron, ...
8 years, 4 months ago (2012-08-10 00:33:13 UTC) #9
Aaron Boodman
On 2012/08/10 00:33:13, clintstaley wrote: > New revision with some changes per Jeff's review, and ...
8 years, 4 months ago (2012-08-10 05:57:30 UTC) #10
clintstaley_gmail.com
chrome/common/extensions/api/experimental_record.json:64: "description": > "Unique >> name of capture. Use to determine cache." >> On 2012/08/09 ...
8 years, 4 months ago (2012-08-10 07:44:53 UTC) #11
Aaron Boodman
On 2012/08/10 07:44:53, clintstaley_gmail.com wrote: > chrome/common/extensions/api/experimental_record.json:64: "description": > > "Unique > >> name of ...
8 years, 4 months ago (2012-08-10 19:17:26 UTC) #12
clintstaley
I believe this latest has all comments responded to, and is decomposed into separate UI ...
8 years, 4 months ago (2012-08-13 22:51:59 UTC) #13
Jeffrey Yasskin
http://codereview.chromium.org/10832191/diff/1001/chrome/common/extensions/api/experimental_record.json File chrome/common/extensions/api/experimental_record.json (right): http://codereview.chromium.org/10832191/diff/1001/chrome/common/extensions/api/experimental_record.json#newcode27 chrome/common/extensions/api/experimental_record.json:27: "description": "Unique name of the capture.", On 2012/08/10 00:33:13, ...
8 years, 4 months ago (2012-08-15 01:03:59 UTC) #14
clintstaley
Back to you, Jeffrey. Thanks for the comments. http://codereview.chromium.org/10832191/diff/3002/chrome/common/extensions/docs/examples/apps/cycler/capture_tab.js File chrome/common/extensions/docs/examples/apps/cycler/capture_tab.js (right): http://codereview.chromium.org/10832191/diff/3002/chrome/common/extensions/docs/examples/apps/cycler/capture_tab.js#newcode72 chrome/common/extensions/docs/examples/apps/cycler/capture_tab.js:72: this.playbackTab_.updatePlaybackChoices_(); ...
8 years, 4 months ago (2012-08-15 23:54:20 UTC) #15
Jeffrey Yasskin
I'll go through your other changes now, but I wanted to give you a chance ...
8 years, 4 months ago (2012-08-16 18:31:51 UTC) #16
Jeffrey Yasskin
http://codereview.chromium.org/10832191/diff/3002/chrome/common/extensions/docs/examples/apps/cycler/capture_tab.js File chrome/common/extensions/docs/examples/apps/cycler/capture_tab.js (right): http://codereview.chromium.org/10832191/diff/3002/chrome/common/extensions/docs/examples/apps/cycler/capture_tab.js#newcode72 chrome/common/extensions/docs/examples/apps/cycler/capture_tab.js:72: this.playbackTab_.updatePlaybackChoices_(); On 2012/08/15 23:54:20, clintstaley wrote: > On 2012/08/15 ...
8 years, 4 months ago (2012-08-16 20:19:31 UTC) #17
clintstaley
Thanks again, Jeffrey. Here are followups on your comments today, plus those I overlooked yesterday. ...
8 years, 4 months ago (2012-08-17 04:12:24 UTC) #18
Jeffrey Yasskin
LGTM with the run_time_ms_ change. Thanks! http://codereview.chromium.org/10832191/diff/1001/chrome/common/extensions/api/experimental_record.json File chrome/common/extensions/api/experimental_record.json (right): http://codereview.chromium.org/10832191/diff/1001/chrome/common/extensions/api/experimental_record.json#newcode27 chrome/common/extensions/api/experimental_record.json:27: "description": "Unique name ...
8 years, 4 months ago (2012-08-17 19:32:14 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/clintstaley@chromium.org/10832191/9006
8 years, 4 months ago (2012-08-20 23:09:39 UTC) #20
commit-bot: I haz the power
Failed to request the patch to try. Please note that binary filesare still unsupported at ...
8 years, 4 months ago (2012-08-20 23:09:42 UTC) #21
clintstaley
Thanks. run_time_ms is changed now https://chromiumcodereview.appspot.com/10832191/diff/1001/chrome/common/extensions/api/experimental_record.json File chrome/common/extensions/api/experimental_record.json (right): https://chromiumcodereview.appspot.com/10832191/diff/1001/chrome/common/extensions/api/experimental_record.json#newcode90 chrome/common/extensions/api/experimental_record.json:90: "description": "Full multiline dump ...
8 years, 4 months ago (2012-08-20 23:17:06 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/clintstaley@chromium.org/10832191/9006
8 years, 4 months ago (2012-08-20 23:18:16 UTC) #23
commit-bot: I haz the power
Failed to request the patch to try. Please note that binary filesare still unsupported at ...
8 years, 4 months ago (2012-08-20 23:18:25 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/clintstaley@chromium.org/10832191/11009
8 years, 4 months ago (2012-08-20 23:33:13 UTC) #25
commit-bot: I haz the power
Failed to request the patch to try. Please note that binary filesare still unsupported at ...
8 years, 4 months ago (2012-08-20 23:33:15 UTC) #26
clintstaley
Aaron, can I also get your LGTM. yyasskin doesn't appear to be on the necessary ...
8 years, 4 months ago (2012-08-21 00:01:54 UTC) #27
Aaron Boodman
lgtm
8 years, 4 months ago (2012-08-21 00:03:55 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/clintstaley@chromium.org/10832191/4010
8 years, 4 months ago (2012-08-21 01:11:49 UTC) #29
commit-bot: I haz the power
Presubmit check for 10832191-4010 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 4 months ago (2012-08-21 01:12:01 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/clintstaley@chromium.org/10832191/9008
8 years, 4 months ago (2012-08-21 01:30:43 UTC) #31
commit-bot: I haz the power
Presubmit check for 10832191-9008 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 4 months ago (2012-08-21 01:30:49 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/clintstaley@chromium.org/10832191/3037
8 years, 4 months ago (2012-08-21 01:38:24 UTC) #33
commit-bot: I haz the power
Failed to apply patch for chrome/common/extensions/docs/samples.json: While running patch -p1 --forward --force; patching file chrome/common/extensions/docs/samples.json ...
8 years, 4 months ago (2012-08-21 01:38:28 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/clintstaley@chromium.org/10832191/40
8 years, 4 months ago (2012-08-21 01:42:20 UTC) #35
commit-bot: I haz the power
Try job failure for 10832191-40 (retry) on mac_rel for step "browser_tests". It's a second try, ...
8 years, 4 months ago (2012-08-21 03:03:36 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/clintstaley@chromium.org/10832191/21001
8 years, 2 months ago (2012-10-12 23:20:45 UTC) #37
commit-bot: I haz the power
Can't process patch for file chrome/common/extensions/docs/examples/apps/cycler/cycler_icon.png. Binary file support is temporarilly disabled due to a ...
8 years, 2 months ago (2012-10-12 23:20:46 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/clintstaley@chromium.org/10832191/26001
8 years, 2 months ago (2012-10-16 00:13:21 UTC) #39
commit-bot: I haz the power
8 years, 2 months ago (2012-10-16 03:07:40 UTC) #40
Change committed as 162059

Powered by Google App Engine
This is Rietveld 408576698