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

Issue 1963203002: [Chrome Settings UI] Show overruled User Exceptions as strike-through. (Closed)

Created:
4 years, 7 months ago by huangs
Modified:
4 years, 6 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, msramek+watch_chromium.org, michaelpg+watch-options_chromium.org, raymes+watch_chromium.org, arv+watch_chromium.org, markusheintz_, grt (UTC plus 2), Georges Khalil, ainslie
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Chrome Settings UI] Show ineffective User Exceptions as strike-through. If policy defaults (or other defaults) overrule exceptions, changing UI to show the exceptions texts in strike-through style. - Adding policy icons that display text bubble on click. - Fixing existing text misalignment in "Behavior" column for Policy or Extension Exceptions. This replaces the earlier (buggy) attempt http://crrev.com/1855393006/ BUG=568031 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/f99222b2b909b00abc34e874a05201de35071737 Cr-Commit-Position: refs/heads/master@{#396914}

Patch Set 1 #

Patch Set 2 : Also strike-through settings; using suggestions pop-up; simplify code. #

Patch Set 3 : Sync. #

Patch Set 4 : Change 'Behavior' colunm text sizing to fix alignment. #

Total comments: 19

Patch Set 5 : Fix typo. #

Total comments: 2

Patch Set 6 : Move common code to appendIndicatorElement(). #

Total comments: 12

Patch Set 7 : Update CSS and .overruled style usage. #

Patch Set 8 : Sync. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -53 lines) Patch
M chrome/browser/content_settings/host_content_settings_map_unittest.cc View 1 2 3 4 5 6 7 2 chunks +0 lines, -31 lines 0 comments Download
M chrome/browser/resources/options/content_settings.css View 1 2 3 4 5 6 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/content_settings.js View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/content_settings_exceptions_area.js View 1 2 3 4 5 6 5 chunks +41 lines, -9 lines 0 comments Download
M chrome/browser/resources/options/inline_editable_list.js View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M components/content_settings/core/browser/host_content_settings_map.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -3 lines 0 comments Download
M components/content_settings/core/browser/host_content_settings_map.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -9 lines 0 comments Download

Messages

Total messages: 32 (9 generated)
huangs
PTAL. I also sent out a short design doc with screenshots.
4 years, 7 months ago (2016-05-10 19:28:31 UTC) #3
Dan Beam
not lgtm who did UX for this? we use line-through very seldomly in Chrome. how ...
4 years, 7 months ago (2016-05-11 17:11:15 UTC) #4
huangs
Per discussion, UX review is underway. First round of feedback specifies that we should replace ...
4 years, 7 months ago (2016-05-12 22:00:01 UTC) #5
huangs
Got UI review approval from ainslie@, also fixing existing misalignment for "Behavior" item in Policy ...
4 years, 7 months ago (2016-05-16 20:25:03 UTC) #7
huangs
Ping review for JS/CSS. OWNER review to bauerb@ for all files.
4 years, 7 months ago (2016-05-17 18:17:41 UTC) #10
Bernhard Bauer
I wonder whether we should find out about overruled exceptions by looking for inversions in ...
4 years, 7 months ago (2016-05-18 09:55:13 UTC) #11
huangs
Changing the rule matching mechanism to prefer specific over general, across the different providers would ...
4 years, 7 months ago (2016-05-18 13:52:49 UTC) #12
huangs
Correction: the "redundant logic" already existed in JS and I'm just continuing to use it. ...
4 years, 7 months ago (2016-05-18 16:44:31 UTC) #13
huangs
PTAL.
4 years, 7 months ago (2016-05-19 14:14:06 UTC) #14
Bernhard Bauer
On 2016/05/18 16:44:31, huangs wrote: > Correction: the "redundant logic" already existed in JS and ...
4 years, 7 months ago (2016-05-19 14:20:41 UTC) #15
huangs
Updated, PTAL. Branch point is coming, but I think I'll merge it into Beta? On ...
4 years, 7 months ago (2016-05-20 15:16:46 UTC) #16
Bernhard Bauer
LGTM if you desperately want to merge this into M52, but see my note below ...
4 years, 7 months ago (2016-05-23 13:34:11 UTC) #17
huangs
Please see comments. Re. "bug", I'd argue it's a case of "incomplete fix"? Ping dbeam@, ...
4 years, 7 months ago (2016-05-24 05:02:00 UTC) #18
Bernhard Bauer
https://codereview.chromium.org/1963203002/diff/60001/chrome/browser/resources/options/content_settings_exceptions_area.js File chrome/browser/resources/options/content_settings_exceptions_area.js (right): https://codereview.chromium.org/1963203002/diff/60001/chrome/browser/resources/options/content_settings_exceptions_area.js#newcode551 chrome/browser/resources/options/content_settings_exceptions_area.js:551: if (item.dataItem.source == 'preference') { On 2016/05/24 05:02:00, huangs ...
4 years, 6 months ago (2016-05-24 16:54:34 UTC) #19
huangs
Okay, as long as the meaning is conveyed, wording is just a label. For a ...
4 years, 6 months ago (2016-05-24 17:30:30 UTC) #20
Dan Beam
https://chromiumcodereview.appspot.com/1963203002/diff/100001/chrome/browser/resources/options/content_settings.css File chrome/browser/resources/options/content_settings.css (right): https://chromiumcodereview.appspot.com/1963203002/diff/100001/chrome/browser/resources/options/content_settings.css#newcode27 chrome/browser/resources/options/content_settings.css:27: width: 112px; how is this width calculated? https://chromiumcodereview.appspot.com/1963203002/diff/100001/chrome/browser/resources/options/content_settings.css#newcode35 chrome/browser/resources/options/content_settings.css:35: ...
4 years, 6 months ago (2016-05-25 00:41:54 UTC) #21
huangs
Updated. Also removed bogus "title" change. PTAL, thanks! https://chromiumcodereview.appspot.com/1963203002/diff/100001/chrome/browser/resources/options/content_settings.css File chrome/browser/resources/options/content_settings.css (right): https://chromiumcodereview.appspot.com/1963203002/diff/100001/chrome/browser/resources/options/content_settings.css#newcode27 chrome/browser/resources/options/content_settings.css:27: width: ...
4 years, 6 months ago (2016-05-25 15:58:50 UTC) #22
huangs
Ping dbeam@ for review, PTAL.
4 years, 6 months ago (2016-05-26 18:12:28 UTC) #23
Dan Beam
i don't like "the event dance", but you are just moving it lgtm
4 years, 6 months ago (2016-05-31 18:10:36 UTC) #24
huangs
Thanks! Will sync, then commit.
4 years, 6 months ago (2016-05-31 18:13:20 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1963203002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1963203002/140001
4 years, 6 months ago (2016-05-31 19:20:13 UTC) #28
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 6 months ago (2016-05-31 20:27:51 UTC) #30
commit-bot: I haz the power
4 years, 6 months ago (2016-05-31 20:45:16 UTC) #32
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/f99222b2b909b00abc34e874a05201de35071737
Cr-Commit-Position: refs/heads/master@{#396914}

Powered by Google App Engine
This is Rietveld 408576698