Dialogs: Show top or bottom border when there's more content to scroll to |
||||||||||||||||||
Issue descriptionUpdating description to #17 from dbeam: i think the only thing left is borders on the dialog contents when there's overflow (or maybe only when scrolling?). see: paper-dialog-scrollable
,
Mar 25 2016
Setting default priority/type
,
Mar 25 2016
Setting default priority/type
,
Mar 29 2016
Are these dialogs still in progress?
,
Apr 15 2016
I'll pick up the remaining work to make the <settings-dialog> conform to the spec.
,
Apr 15 2016
,
Apr 18 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/0c5cee3f2dc56e81cef3a02e673114db58131370 commit 0c5cee3f2dc56e81cef3a02e673114db58131370 Author: dpapad <dpapad@chromium.org> Date: Mon Apr 18 20:17:01 2016 MD Settings: Bring <settings-dialog> closer to dialog spec. BUG= 595804 Review URL: https://codereview.chromium.org/1893663003 Cr-Commit-Position: refs/heads/master@{#387998} [modify] https://crrev.com/0c5cee3f2dc56e81cef3a02e673114db58131370/chrome/browser/resources/settings/settings_dialog.html [modify] https://crrev.com/0c5cee3f2dc56e81cef3a02e673114db58131370/chrome/browser/resources/settings/settings_shared_css.html
,
Apr 25 2016
@bettes: The dialogs are much closer to the spec now. There are some issues that I was not able to address 1) diameter of ripple effect on the 'x' button. Polymer does not seem to expose this for customization. 2) In the mocks there is an example of overflowing content with a custom looking scrollbar, not sure if this is intentional. Current implementation uses native scrollbars instead. 3) Overflow behavior in general. In the mocks, the buttons are always visible and the content above the buttons is scrolled. Implementation currently scrolls the contents of the entire dialog (including the title and the buttons).
,
Apr 26 2016
Looking a lot better. Thanks for the update. 1.) I don't think that's true. Check the "x-to-close" on the downloads page. 2.) Native scrollbars is fine. Those mocks are meant to reflect an updated native scrollbar but we haven't gotten there yet. 3.) What's an example of this? I can't find any.
,
Apr 26 2016
Just reviewed your implementation on mac and cros. Quite a few discrepancies still: Typography - header text should be 16px - content area text should be 13px - paper-item in paper-dropdown-menu should be 13px Buttons - button text should be 13px - button height should be 32px. - button tray's left & right padding incorrect (16px not 24px) Container - dialogs should have a 2px corner radius.
,
Apr 26 2016
Most of the discrepancies you are mentioning do not reproduce on my Linux, which is odd. I'll try again on my Mac and update this bug. Are you using Chrome Canary version? Regarding an example of a scrolling dialog, you can trigger this with any dialog if you make the height of the window too small. I also attached a screenshot.
,
Apr 26 2016
Yes. Same discrepancies are on my Cros machine v52.0.2715
,
Apr 26 2016
@bettes: Can you paste a screenshot of the CSS inspector for the font size of the header text? In my case it is 15.9992px (as close as possible to 16px), see screenshot (on the right).
,
Apr 26 2016
Re: scrolling I see now. That's not what we want just for the record.
,
Apr 26 2016
Actually, you're correct - I see the same. I was looking at the highlighted CSS in the attachment, which is inherited from what?
,
Apr 26 2016
,
Apr 26 2016
It is inherited via multiple layers of CSS mixins, and eventually from https://code.google.com/p/chromium/codesearch#chromium/src/third_party/polymer/v1_0/components-chromium/paper-styles/typography.html&l=116. It does, not really matter though, because we override that value by multiplying with 114.28% to get from 14px to the desired 16px.
,
Apr 26 2016
Okay, good to know. I do believe the other text-size discrepancies hold true still. Let me know otherwise
,
Apr 26 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/3ca59f87d882632c9bb47acb15fcbc3d337f8282 commit 3ca59f87d882632c9bb47acb15fcbc3d337f8282 Author: dpapad <dpapad@chromium.org> Date: Tue Apr 26 22:33:22 2016 More <settings-dialog> tweaks to match the spec. - Change dialog body and buttons font to 13px. - Change button container padding from 24px to 16px. - Add 2px border radius around dialog. BUG= 595804 Review URL: https://codereview.chromium.org/1921823005 Cr-Commit-Position: refs/heads/master@{#389918} [modify] https://crrev.com/3ca59f87d882632c9bb47acb15fcbc3d337f8282/chrome/browser/resources/settings/settings_dialog.html
,
May 24 2016
,
May 24 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/69c033875a2909ea96f107244452ba3a77f77825 commit 69c033875a2909ea96f107244452ba3a77f77825 Author: dbeam <dbeam@chromium.org> Date: Tue May 24 19:07:23 2016 MD Settings: make bluetooth add device dialog prettier Remove some artifacts from when it implemented <settings-dialog>-esque style itself. R=stevenjb@chromium.org BUG= 595804 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2002363002 Cr-Commit-Position: refs/heads/master@{#395665} [modify] https://crrev.com/69c033875a2909ea96f107244452ba3a77f77825/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.html
,
May 25 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/0726838693d45b022178e8ddaea8120364ea876d commit 0726838693d45b022178e8ddaea8120364ea876d Author: dbeam <dbeam@chromium.org> Date: Wed May 25 06:16:47 2016 MD Settings: fix overflow scrolling for <settings-dialog> Currently the whole dialog scrolls if there's too much middle content. We really just want a scrollbar between the title and the buttons. BUG= 595804 R=dpapad@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/1974193002 Cr-Commit-Position: refs/heads/master@{#395813} [modify] https://crrev.com/0726838693d45b022178e8ddaea8120364ea876d/chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html [modify] https://crrev.com/0726838693d45b022178e8ddaea8120364ea876d/chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.js [modify] https://crrev.com/0726838693d45b022178e8ddaea8120364ea876d/chrome/browser/resources/settings/settings_dialog.html [modify] https://crrev.com/0726838693d45b022178e8ddaea8120364ea876d/chrome/browser/resources/settings/settings_dialog.js
,
May 25 2016
with [1], here's a screenshot. bettes@: purdy 'nuff? [1] https://codereview.chromium.org/2009383003/
,
May 25 2016
whooops
,
May 25 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/8a8aadddb9e4b863f28c9d417310eb24eb716d48 commit 8a8aadddb9e4b863f28c9d417310eb24eb716d48 Author: dbeam <dbeam@chromium.org> Date: Wed May 25 23:52:22 2016 MD Settings: fix settings-dialog (X) close button styles to match spec BUG= 595804 R=dpapad@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2009383003 Cr-Commit-Position: refs/heads/master@{#396045} [modify] https://crrev.com/8a8aadddb9e4b863f28c9d417310eb24eb716d48/chrome/browser/resources/settings/settings_dialog.html
,
May 26 2016
It's purdy!
,
May 26 2016
@dbeam: According to https://bugs.chromium.org/p/chromium/issues/detail?id=595804#c10 the button height should be 32px. I had not fixed this initially because I was hitting https://github.com/PolymerElements/paper-button/issues/113, which was later fixed by https://github.com/PolymerElements/paper-button/commit/dddb83469d381df84766b05af56720b0b53e7cbd. Not sure if you addressed this already. If not, latest paper-button version should have the fix, so we could easily adjust the height to conform to the spec after a polymer roll.
,
Jun 30 2016
Unassigning myself as an owner, since I am not actively working on this. @dbeam: Do you know the status of this issue?
,
Jun 30 2016
i think the only thing left is borders on the dialog contents when there's overflow (or maybe only when scrolling?). see: paper-dialog-scrollable
,
Jul 28 2016
@dbeam: Is crbug.com/621659 addressing what you are referring to at comment #29? If so, let's connect those bugs.
,
Jul 29 2016
,
Dec 9 2016
,
Dec 9 2016
,
Dec 9 2016
,
Dec 10 2016
,
Dec 10 2016
,
Mar 17 2017
,
Mar 17 2017
I attempted to land a CL for this before the M58 branch-cut (https://codereview.chromium.org/2702523005/), and we decided to hold off on this because there were debates on whether or not having a bottom border is intuitive/meaningful enough of an indicator. Some alternatives that were brought up were inner-shadow or inner-fade-gradient. If dbeam@ or bettes@ could chime in with a final call, I could pick up my CL again and try to land it. Also just to double check, the dialogs that this bug still applies to I can find are: - Clear Browsing Data (currently it has a permanent bottom-border, which is incorrect) - Language -> Add language - Autofill -> Add Address (on a small viewport) Are there any potentially scrollable dialog that I missed?
,
Mar 21 2017
The same approach I tried at https://bugs.chromium.org/p/chromium/issues/detail?id=699302&desc=2#c5, might be useful here. Will give it a shot and report back.
,
Mar 22 2017
Re #38, the bottom border is the standard way in Material Design to indicate that more scrollable content is available: https://material.googleplex.com/components/dialogs.html#dialogs-specs We should use the common pattern unless there is a very strong reason to diverge.
,
Mar 24 2017
,
Apr 3 2017
|
||||||||||||||||||
►
Sign in to add a comment |
||||||||||||||||||
Comment 1 by bettes@chromium.org
, Mar 17 2016Owner: dschuyler@chromium.org
Status: Assigned (was: Untriaged)