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

Issue 2825203003: MD Settings: Remove subpage animation when landing directly on it. (Closed)

Created:
3 years, 8 months ago by scottchen
Modified:
3 years, 6 months ago
Reviewers:
michaelpg, dpapad
CC:
arv+watch_chromium.org, chromium-reviews, dbeam+watch-settings_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, stevenjb+watch-md-settings_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Experiment to remove subpage animation when landing directly on it. BUG=700547, 722790 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2825203003 Cr-Commit-Position: refs/heads/master@{#476060} Committed: https://chromium.googlesource.com/chromium/src/+/d84ddac6a6b61604f0057ccb8046144287f795ec

Patch Set 1 #

Patch Set 2 : clean up #

Total comments: 11

Patch Set 3 : feedback #

Total comments: 10

Patch Set 4 : feedback #

Total comments: 13

Patch Set 5 : merge #

Patch Set 6 : fix compiler error #

Total comments: 1

Patch Set 7 : merge #

Patch Set 8 : use events instead of passing down a boolean to toggle container #

Patch Set 9 : format #

Total comments: 10

Patch Set 10 : feedback #

Patch Set 11 : fix broken test #

Patch Set 12 : style #

Total comments: 4

Patch Set 13 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -40 lines) Patch
M chrome/browser/resources/settings/settings_page/main_page_behavior.js View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +64 lines, -29 lines 0 comments Download
M chrome/browser/resources/settings/settings_page/settings_section.js View 1 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/settings_ui/settings_ui.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/test/data/webui/settings/settings_main_test.js View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +14 lines, -11 lines 0 comments Download

Messages

Total messages: 68 (34 generated)
scottchen
attempt to remove the animation with minimal code-change, you can see the result screen capture ...
3 years, 8 months ago (2017-04-19 18:05:22 UTC) #4
Dan Beam
i think michaelpg@ is probably the best reviewer for this...
3 years, 8 months ago (2017-04-22 01:31:22 UTC) #6
michaelpg
https://codereview.chromium.org/2825203003/diff/20001/chrome/browser/resources/settings/settings_page/main_page_behavior.js File chrome/browser/resources/settings/settings_page/main_page_behavior.js (right): https://codereview.chromium.org/2825203003/diff/20001/chrome/browser/resources/settings/settings_page/main_page_behavior.js#newcode92 chrome/browser/resources/settings/settings_page/main_page_behavior.js:92: document.body.querySelector('settings-ui::shadow #container') ::shadow makes me sad, is there no ...
3 years, 8 months ago (2017-04-22 04:01:59 UTC) #7
scottchen
https://codereview.chromium.org/2825203003/diff/20001/chrome/browser/resources/settings/settings_page/main_page_behavior.js File chrome/browser/resources/settings/settings_page/main_page_behavior.js (right): https://codereview.chromium.org/2825203003/diff/20001/chrome/browser/resources/settings/settings_page/main_page_behavior.js#newcode92 chrome/browser/resources/settings/settings_page/main_page_behavior.js:92: document.body.querySelector('settings-ui::shadow #container') On 2017/04/22 04:01:58, michaelpg wrote: > ::shadow ...
3 years, 8 months ago (2017-04-26 17:26:41 UTC) #8
dpapad
michaelpg@ is a better reviewer for this. Removing myself.
3 years, 8 months ago (2017-04-26 20:16:20 UTC) #9
michaelpg
https://codereview.chromium.org/2825203003/diff/40001/chrome/browser/resources/settings/basic_page/basic_page.js File chrome/browser/resources/settings/basic_page/basic_page.js (right): https://codereview.chromium.org/2825203003/diff/40001/chrome/browser/resources/settings/basic_page/basic_page.js#newcode71 chrome/browser/resources/settings/basic_page/basic_page.js:71: shouldHideContainer: { this should be added by the behavior ...
3 years, 7 months ago (2017-04-27 20:00:20 UTC) #11
scottchen
I've updated the CL based on your comments, michaelpg@. I also had to add a ...
3 years, 7 months ago (2017-05-01 19:25:07 UTC) #12
michaelpg
On 2017/05/01 19:25:07, scottchen wrote: > I've updated the CL based on your comments, michaelpg@. ...
3 years, 7 months ago (2017-05-03 00:17:37 UTC) #21
scottchen
Before I jump into refactoring, I just want to make sure that we're up for ...
3 years, 7 months ago (2017-05-03 15:59:18 UTC) #23
dpapad
On 2017/05/03 at 15:59:18, scottchen wrote: > Before I jump into refactoring, I just want ...
3 years, 7 months ago (2017-05-03 17:24:27 UTC) #24
dpapad
https://codereview.chromium.org/2825203003/diff/60001/chrome/browser/resources/settings/settings_page/main_page_behavior.js File chrome/browser/resources/settings/settings_page/main_page_behavior.js (right): https://codereview.chromium.org/2825203003/diff/60001/chrome/browser/resources/settings/settings_page/main_page_behavior.js#newcode164 chrome/browser/resources/settings/settings_page/main_page_behavior.js:164: this.tagName == 'SETTINGS-BASIC-PAGE' && On 2017/05/03 at 00:17:36, michaelpg ...
3 years, 7 months ago (2017-05-03 17:47:20 UTC) #25
michaelpg
On 2017/05/03 17:24:27, dpapad wrote: > On 2017/05/03 at 15:59:18, scottchen wrote: > > Before ...
3 years, 7 months ago (2017-05-03 21:53:37 UTC) #26
dpapad
> > I had mentioned in the past the idea of a singleton "view switcher" ...
3 years, 7 months ago (2017-05-03 22:07:47 UTC) #27
Dan Beam
when I imagined this CL's content, it was a bunch of animation times being set ...
3 years, 7 months ago (2017-05-03 22:36:04 UTC) #28
scottchen
On 2017/05/03 22:36:04, Dan Beam wrote: > when I imagined this CL's content, it was ...
3 years, 7 months ago (2017-05-03 23:10:57 UTC) #29
michaelpg
On 2017/05/03 23:10:57, scottchen wrote: > On 2017/05/03 22:36:04, Dan Beam wrote: > > when ...
3 years, 7 months ago (2017-05-03 23:36:37 UTC) #30
Dan Beam
On 2017/05/03 23:10:57, scottchen wrote: > On 2017/05/03 22:36:04, Dan Beam wrote: > > when ...
3 years, 7 months ago (2017-05-04 02:11:01 UTC) #31
scottchen
> why can't we just land a simpler patch that turns the times to 0 ...
3 years, 7 months ago (2017-05-04 20:34:49 UTC) #32
michaelpg
On 2017/05/04 20:34:49, scottchen wrote: > > why can't we just land a simpler patch ...
3 years, 7 months ago (2017-05-05 20:40:34 UTC) #33
Dan Beam
michaelpg@'s a better reviewer for this stuff
3 years, 7 months ago (2017-05-23 16:38:04 UTC) #35
scottchen
On 2017/05/23 16:38:04, Dan Beam wrote: > michaelpg@'s a better reviewer for this stuff michaelpg@ ...
3 years, 7 months ago (2017-05-23 23:55:22 UTC) #36
dpapad
As dbeam@ said, Michael is a better reviewer for this. Moving myself to the cc ...
3 years, 7 months ago (2017-05-24 20:17:33 UTC) #39
michaelpg
https://codereview.chromium.org/2825203003/diff/160001/chrome/browser/resources/settings/settings_page/main_page_behavior.js File chrome/browser/resources/settings/settings_page/main_page_behavior.js (right): https://codereview.chromium.org/2825203003/diff/160001/chrome/browser/resources/settings/settings_page/main_page_behavior.js#newcode98 chrome/browser/resources/settings/settings_page/main_page_behavior.js:98: this.fire('hide-container'); Can we limit this event to the !oldRoute ...
3 years, 7 months ago (2017-05-24 21:29:40 UTC) #41
scottchen
https://codereview.chromium.org/2825203003/diff/160001/chrome/browser/resources/settings/settings_page/main_page_behavior.js File chrome/browser/resources/settings/settings_page/main_page_behavior.js (right): https://codereview.chromium.org/2825203003/diff/160001/chrome/browser/resources/settings/settings_page/main_page_behavior.js#newcode98 chrome/browser/resources/settings/settings_page/main_page_behavior.js:98: this.fire('hide-container'); On 2017/05/24 21:29:40, michaelpg wrote: > Can we ...
3 years, 7 months ago (2017-05-25 19:28:30 UTC) #42
michaelpg
lgtm
3 years, 7 months ago (2017-05-25 22:39:58 UTC) #43
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/2825203003/180001
3 years, 7 months ago (2017-05-25 23:11:14 UTC) #45
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/465095)
3 years, 7 months ago (2017-05-26 00:01:19 UTC) #47
scottchen
Worked with dpapad to find out why the test was failing. Summary: The existing test ...
3 years, 6 months ago (2017-05-31 00:36:36 UTC) #55
dpapad
Test changes LGTM with nits. https://codereview.chromium.org/2825203003/diff/220001/chrome/test/data/webui/settings/settings_main_test.js File chrome/test/data/webui/settings/settings_main_test.js (right): https://codereview.chromium.org/2825203003/diff/220001/chrome/test/data/webui/settings/settings_main_test.js#newcode196 chrome/test/data/webui/settings/settings_main_test.js:196: * @param {string} Expected ...
3 years, 6 months ago (2017-05-31 00:40:42 UTC) #56
scottchen
https://codereview.chromium.org/2825203003/diff/220001/chrome/test/data/webui/settings/settings_main_test.js File chrome/test/data/webui/settings/settings_main_test.js (right): https://codereview.chromium.org/2825203003/diff/220001/chrome/test/data/webui/settings/settings_main_test.js#newcode196 chrome/test/data/webui/settings/settings_main_test.js:196: * @param {string} Expected 'display' value for the basic ...
3 years, 6 months ago (2017-05-31 18:25:28 UTC) #57
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/2825203003/240001
3 years, 6 months ago (2017-05-31 18:26:23 UTC) #60
commit-bot: I haz the power
Try jobs failed on following builders: android_cronet on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_cronet/builds/150847) linux_chromium_headless_rel on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 6 months ago (2017-05-31 19:24:07 UTC) #62
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/2825203003/240001
3 years, 6 months ago (2017-05-31 21:30:17 UTC) #64
commit-bot: I haz the power
3 years, 6 months ago (2017-05-31 22:21:53 UTC) #68
Message was sent while issue was closed.
Committed patchset #13 (id:240001) as
https://chromium.googlesource.com/chromium/src/+/d84ddac6a6b61604f0057ccb8046...

Powered by Google App Engine
This is Rietveld 408576698