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

Issue 2223083003: MD Settings: Skip hidden nodes when searching. (Closed)

Created:
4 years, 4 months ago by dpapad
Modified:
4 years, 4 months ago
Reviewers:
Dan Beam
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
Base URL:
https://chromium.googlesource.com/chromium/src.git@fix_subpage_assertion
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: Skip hidden nodes when searching. Nodes that are hidden, either with the "hidden" attribute, or via an explicit style "display: none" are not applicable to the user's current state and should be skipped. Nodes that are hidden via a different CSS class, for example <iron-pages> CSS rule :host > ::content > :not(.iron-selected) { display: none !important; } are still being searched, and need to be addressed in follow up. BUG=608535 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/2e78a5383cf4651004dace4e7f708eba0c30753f Cr-Commit-Position: refs/heads/master@{#410915}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Address comments #

Patch Set 3 : Change class to attribute. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -5 lines) Patch
M chrome/browser/resources/settings/search_settings.js View 1 2 4 chunks +12 lines, -5 lines 0 comments Download
M chrome/browser/resources/settings/settings_page/settings_section.html View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/settings_page/settings_section.js View 1 2 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (10 generated)
dpapad
4 years, 4 months ago (2016-08-09 21:05:23 UTC) #9
Dan Beam
generally lgtm but i really don't want to start doing this ternary thing i don't ...
4 years, 4 months ago (2016-08-09 22:01:38 UTC) #10
dpapad
https://codereview.chromium.org/2223083003/diff/1/chrome/browser/resources/settings/search_settings.js File chrome/browser/resources/settings/search_settings.js (right): https://codereview.chromium.org/2223083003/diff/1/chrome/browser/resources/settings/search_settings.js#newcode141 chrome/browser/resources/settings/search_settings.js:141: node.style.display == 'none'))) { On 2016/08/09 at 22:01:38, Dan ...
4 years, 4 months ago (2016-08-09 23:03:02 UTC) #11
Dan Beam
https://codereview.chromium.org/2223083003/diff/1/chrome/browser/resources/settings/settings_page/settings_section.html File chrome/browser/resources/settings/settings_page/settings_section.html (right): https://codereview.chromium.org/2223083003/diff/1/chrome/browser/resources/settings/settings_page/settings_section.html#newcode45 chrome/browser/resources/settings/settings_page/settings_section.html:45: :host(.hidden-for-search) { On 2016/08/09 23:03:02, dpapad wrote: > On ...
4 years, 4 months ago (2016-08-09 23:05:01 UTC) #12
Dan Beam
https://codereview.chromium.org/2223083003/diff/1/chrome/browser/resources/settings/search_settings.js File chrome/browser/resources/settings/search_settings.js (right): https://codereview.chromium.org/2223083003/diff/1/chrome/browser/resources/settings/search_settings.js#newcode347 chrome/browser/resources/settings/search_settings.js:347: visible ? On 2016/08/09 23:03:02, dpapad wrote: > On ...
4 years, 4 months ago (2016-08-09 23:05:38 UTC) #13
dpapad
https://codereview.chromium.org/2223083003/diff/1/chrome/browser/resources/settings/settings_page/settings_section.html File chrome/browser/resources/settings/settings_page/settings_section.html (right): https://codereview.chromium.org/2223083003/diff/1/chrome/browser/resources/settings/settings_page/settings_section.html#newcode45 chrome/browser/resources/settings/settings_page/settings_section.html:45: :host(.hidden-for-search) { On 2016/08/09 at 23:05:01, Dan Beam wrote: ...
4 years, 4 months ago (2016-08-09 23:30:29 UTC) #14
Dan Beam
still lgtm
4 years, 4 months ago (2016-08-09 23:32:45 UTC) #15
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/2223083003/40001
4 years, 4 months ago (2016-08-10 00:35:24 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-10 01:46:09 UTC) #18
commit-bot: I haz the power
4 years, 4 months ago (2016-08-10 01:49:35 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2e78a5383cf4651004dace4e7f708eba0c30753f
Cr-Commit-Position: refs/heads/master@{#410915}

Powered by Google App Engine
This is Rietveld 408576698