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

Issue 2586803002: MD Settings: Fix label visibility in subpage search fields (Closed)

Created:
4 years ago by tsergeant
Modified:
3 years, 11 months ago
Reviewers:
dpapad
CC:
arv+watch_chromium.org, asanka, chrome-apps-syd-reviews_chromium.org, chromium-reviews, dbeam+watch-downloads_chromium.org, dbeam+watch-elements_chromium.org, dbeam+watch-history_chromium.org, Patrick Dubroy, michaelpg+watch-md-ui_chromium.org, michaelpg+watch-elements_chromium.org, oshima+watch_chromium.org, pam+watch_chromium.org, stevenjb+watch-md-settings_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: Fix label visibility in subpage search fields In crrev.com/438430, CrSearchFieldBehavior was simplified, removing compatibility with iron-input. However, iron-input was still used by <settings-subpage-search> to control the visibility of the input field label. This CL adds a public 'hasSearchText' property to the common search field behavior which does not require iron-input to compute. This allows <settings-subpage-search> to remove its dependency on iron-input, while also fixing two minor issues: - The input field label on <settings-subpage-search> now reappears when the 'clear search' button is clicked. - The search icon in <cr-toolbar-search-field> now appears unfocused when the search field is cleared while it is unfocused. BUG=665700, 665307, 634665 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2586803002 Cr-Commit-Position: refs/heads/master@{#444578} Committed: https://chromium.googlesource.com/chromium/src/+/d69fa965ea7ddc2e61c7701a6b209c1d5f8bccda

Patch Set 1 #

Patch Set 2 : Different approach #

Total comments: 2

Patch Set 3 : Rebase #

Patch Set 4 : Fix focus bug while we're at it #

Patch Set 5 : Rebase #

Messages

Total messages: 40 (30 generated)
tsergeant
PTAL, just a small fix to the patch from last week.
4 years ago (2016-12-19 04:37:00 UTC) #7
dpapad
On 2016/12/19 at 04:37:00, tsergeant wrote: > PTAL, just a small fix to the patch ...
4 years ago (2016-12-19 19:14:14 UTC) #8
tsergeant
On 2016/12/19 19:14:14, dpapad wrote: > On 2016/12/19 at 04:37:00, tsergeant wrote: > > PTAL, ...
3 years, 11 months ago (2017-01-17 07:04:26 UTC) #20
dpapad
Does this by any chance also fix https://bugs.chromium.org/p/chromium/issues/detail?id=665307? https://codereview.chromium.org/2586803002/diff/60001/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js File ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js (right): https://codereview.chromium.org/2586803002/diff/60001/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js#newcode66 ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js:66: if ...
3 years, 11 months ago (2017-01-18 02:52:26 UTC) #21
tsergeant
It does now! https://codereview.chromium.org/2586803002/diff/60001/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js File ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js (right): https://codereview.chromium.org/2586803002/diff/60001/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js#newcode66 ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js:66: if (this.hasSearchText) On 2017/01/18 02:52:26, dpapad ...
3 years, 11 months ago (2017-01-18 04:14:05 UTC) #24
dpapad
lgtm
3 years, 11 months ago (2017-01-18 17:56:04 UTC) #30
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/2586803002/120001
3 years, 11 months ago (2017-01-18 23:15:12 UTC) #32
commit-bot: I haz the power
Failed to apply patch for chrome/browser/resources/md_downloads/vulcanized.html: While running git apply --index -p1; error: patch failed: ...
3 years, 11 months ago (2017-01-18 23:25:49 UTC) #34
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/2586803002/140001
3 years, 11 months ago (2017-01-18 23:45:08 UTC) #37
commit-bot: I haz the power
3 years, 11 months ago (2017-01-19 01:01:24 UTC) #40
Message was sent while issue was closed.
Committed patchset #5 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/d69fa965ea7ddc2e61c7701a6b20...

Powered by Google App Engine
This is Rietveld 408576698