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

Issue 2403833002: Slightly increase the size of the CBD dialog body to hint at scrolling (Closed)

Created:
4 years, 2 months ago by msramek
Modified:
4 years, 2 months ago
Reviewers:
dschuyler, 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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Slightly increase the size of the CBD dialog body to hint at scrolling When opened in a small browser window, the CBD dialog is set to a size in which 4 checkboxes are visible*, and the remaining 4 are below the fold and need to be scrolled to. [*]the label of the 5th is slightly visible if checked While the scrollbar is usually visible, this is not the case on Mac (where it's only visible while scrolling is in progress). Other visual cues for scrolling are not applicable - the top and bottom border of paper-dialog-scrollable are not visible because the dialog body has its own borders, and shadows are not yet implemented. As discussed in the linked bug, until a general solution is applied to all such MD scrolling dialogs, we need a one-off solution for this case as it's particularly sensitive. This CL increases the size of the dialog body to hold 4.5 checkboxes, so the need to scroll is obvious. Note that this was also the original design; this CL fixes a regression. BUG=652027 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/ae25baeb7a5af9dad6ae2f8ad050d5564301d30d Cr-Commit-Position: refs/heads/master@{#424400}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Added a comment. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html View 1 1 chunk +3 lines, -2 lines 1 comment Download

Messages

Total messages: 23 (13 generated)
msramek
Hi Dave, Please have a look! I attached screenshots to the bug. Thanks, Martin
4 years, 2 months ago (2016-10-10 13:24:37 UTC) #4
dschuyler
After a comment is added LGTM. https://codereview.chromium.org/2403833002/diff/1/chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html File chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html (right): https://codereview.chromium.org/2403833002/diff/1/chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html#newcode105 chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html:105: max-height: 280px; Please ...
4 years, 2 months ago (2016-10-10 18:23:04 UTC) #5
msramek
Thanks! https://codereview.chromium.org/2403833002/diff/1/chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html File chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html (right): https://codereview.chromium.org/2403833002/diff/1/chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html#newcode105 chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html:105: max-height: 280px; On 2016/10/10 18:23:04, dschuyler wrote: > ...
4 years, 2 months ago (2016-10-11 09:39:23 UTC) #8
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/2403833002/20001
4 years, 2 months ago (2016-10-11 09:40:28 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/84341)
4 years, 2 months ago (2016-10-11 09:49:08 UTC) #14
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/2403833002/20001
4 years, 2 months ago (2016-10-11 09:49:49 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-11 10:29:11 UTC) #18
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/ae25baeb7a5af9dad6ae2f8ad050d5564301d30d Cr-Commit-Position: refs/heads/master@{#424400}
4 years, 2 months ago (2016-10-11 10:30:43 UTC) #20
Dan Beam
https://codereview.chromium.org/2403833002/diff/20001/chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html File chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html (right): https://codereview.chromium.org/2403833002/diff/20001/chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html#newcode106 chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html:106: max-height: 280px; could this be expressed as calc(4.5 * ...
4 years, 2 months ago (2016-10-11 17:35:03 UTC) #22
Dan Beam
4 years, 2 months ago (2016-10-11 18:00:02 UTC) #23
Message was sent while issue was closed.
https://codereview.chromium.org/2403833002/diff/1/chrome/browser/resources/se...
File
chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html
(right):

https://codereview.chromium.org/2403833002/diff/1/chrome/browser/resources/se...
chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html:105:
max-height: 280px;
On 2016/10/10 18:23:04, dschuyler wrote:
> Please add a comment or reference to the CL or bug
> so that this is less likely to be accidentally 
> regressed :) Maybe:
> /* Intentionally show four and a *half* items in the list. See Chromium
> CL 2403833002 for more information. */
> (Feel free to comment something else or use that directly).

we also generally discourage use of * or _ or / for emphasis in comments

Powered by Google App Engine
This is Rietveld 408576698