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

Issue 2242863002: Settings Router Refactor: Allow no-op navigations. (Closed)

Created:
4 years, 4 months ago by tommycli
Modified:
4 years, 4 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Settings Router Refactor: Allow no-op navigations. If the router swallows no-op navigations, repeated navigations from settings-menu to the same section no longer scrolls the page. Moreover - repeated navigations to the same anchor link are normally are normally pushed to history, so coalescing these navigations into a single history entry might be confusing. BUG=636709 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/289c535c036c6a3120b884a5f1e41cb89b18cf6e Cr-Commit-Position: refs/heads/master@{#411782}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -5 lines) Patch
M chrome/browser/resources/settings/route.js View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/resources/settings/settings_main/settings_main.js View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 14 (8 generated)
tommycli
dbeam: PTAL. Less problematic to allow no-op navigations than to swallow them. Thanks Tommy
4 years, 4 months ago (2016-08-12 15:26:51 UTC) #5
Dan Beam
yay <3 swapping one set of problems for another! lgtm
4 years, 4 months ago (2016-08-12 21:28:06 UTC) #8
tommycli
On 2016/08/12 21:28:06, Dan Beam wrote: > yay <3 swapping one set of problems for ...
4 years, 4 months ago (2016-08-12 21:30:49 UTC) #9
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/2242863002/1
4 years, 4 months ago (2016-08-12 21:32:08 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-12 21:36:11 UTC) #12
commit-bot: I haz the power
4 years, 4 months ago (2016-08-12 21:39:19 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/289c535c036c6a3120b884a5f1e41cb89b18cf6e
Cr-Commit-Position: refs/heads/master@{#411782}

Powered by Google App Engine
This is Rietveld 408576698