MD WebUI: Pull 'X selected' toolbar overlay from History into shared element
The overlay is designed for use with cr-toolbar, providing an overlay
with the number of items selected, and a 'cancel' and 'delete' button.
This new shared element will be used by MD Bookmarks.
BUG=692827
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Review-Url: https://codereview.chromium.org/2800603002
Cr-Commit-Position: refs/heads/master@{#463530}
Committed: https://chromium.googlesource.com/chromium/src/+/32875f8b059b68f17b1766f3df508c56b22911c4
Description was changed from ========== MD WebUI: Pull 'X selected' toolbar overlay from History into ...
3 years, 8 months ago
(2017-04-05 04:22:35 UTC)
#1
Description was changed from
==========
MD WebUI: Pull 'X selected' toolbar overlay from History into shared element
The overlay is designed for use with cr-toolbar, providing an overlay
with the number of items selected, and a 'cancel' and 'delete' button.
This new shared element will be used by MD Bookmarks.
BUG=692827
==========
to
==========
MD WebUI: Pull 'X selected' toolbar overlay from History into shared element
The overlay is designed for use with cr-toolbar, providing an overlay
with the number of items selected, and a 'cancel' and 'delete' button.
This new shared element will be used by MD Bookmarks.
BUG=692827
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
tsergeant
Patchset #2 (id:20001) has been deleted
3 years, 8 months ago
(2017-04-07 04:33:25 UTC)
#2
3 years, 8 months ago
(2017-04-10 05:14:07 UTC)
#14
Dry run: This issue passed the CQ dry run.
Dan Beam
I'll look at this Monday my time, btw (sorry for lag)
3 years, 8 months ago
(2017-04-10 05:35:35 UTC)
#15
I'll look at this Monday my time, btw (sorry for lag)
Dan Beam
https://codereview.chromium.org/2800603002/diff/80001/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_selection_overlay.html File ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_selection_overlay.html (right): https://codereview.chromium.org/2800603002/diff/80001/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_selection_overlay.html#newcode44 ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_selection_overlay.html:44: <div id="overlay-buttons"> nit: many of these IDs have presentational ...
3 years, 8 months ago
(2017-04-11 00:39:01 UTC)
#16
Thanks for reviewing! https://codereview.chromium.org/2800603002/diff/80001/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_selection_overlay.html File ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_selection_overlay.html (right): https://codereview.chromium.org/2800603002/diff/80001/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_selection_overlay.html#newcode44 ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_selection_overlay.html:44: <div id="overlay-buttons"> On 2017/04/11 00:39:01, Dan ...
3 years, 8 months ago
(2017-04-11 01:16:20 UTC)
#17
Thanks for reviewing!
https://codereview.chromium.org/2800603002/diff/80001/ui/webui/resources/cr_e...
File ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_selection_overlay.html
(right):
https://codereview.chromium.org/2800603002/diff/80001/ui/webui/resources/cr_e...
ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_selection_overlay.html:44:
<div id="overlay-buttons">
On 2017/04/11 00:39:01, Dan Beam wrote:
> why do we need #overlay-buttons rather than putting these styles on :host?
The extra div is used to ensure we can have the left spacing while still having
the children be centered with a max-width. I don't know of any way to make that
all behave correctly with only one diff.
> nit: many of these IDs have presentational details in them. I guess that's
not
> horrible, but it's better to have "delete" or "cancel" than "-button" in there
> in case the presentation changes, IMO.
>
> not a huge deal, just a general gripe of mine.
Got it. In this case, I most of the IDs, since they aren't really necessary.
https://codereview.chromium.org/2800603002/diff/80001/ui/webui/resources/cr_e...
File ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_selection_overlay.js
(right):
https://codereview.chromium.org/2800603002/diff/80001/ui/webui/resources/cr_e...
ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_selection_overlay.js:28:
onDeleteTap_: function() {
On 2017/04/11 00:39:01, Dan Beam wrote:
> nit: just name this deleteSelectedItems() and make public so we're not calling
a
> private method from tests?
Done, although the method being called from tests is in history_toolbar.js
tsergeant
The CQ bit was checked by tsergeant@chromium.org to run a CQ dry run
3 years, 8 months ago
(2017-04-11 01:17:26 UTC)
#18
CQ is committing da patch. Bot data: {"patchset_id": 100001, "attempt_start_ts": 1491883139201790, "parent_rev": "7ff10a8c4f7295430af4d3bac32ffb713fb42761", "commit_rev": "32875f8b059b68f17b1766f3df508c56b22911c4"}
3 years, 8 months ago
(2017-04-11 04:14:37 UTC)
#29
CQ is committing da patch.
Bot data: {"patchset_id": 100001, "attempt_start_ts": 1491883139201790,
"parent_rev": "7ff10a8c4f7295430af4d3bac32ffb713fb42761", "commit_rev":
"32875f8b059b68f17b1766f3df508c56b22911c4"}
commit-bot: I haz the power
Description was changed from ========== MD WebUI: Pull 'X selected' toolbar overlay from History into ...
3 years, 8 months ago
(2017-04-11 04:16:03 UTC)
#30
Message was sent while issue was closed.
Description was changed from
==========
MD WebUI: Pull 'X selected' toolbar overlay from History into shared element
The overlay is designed for use with cr-toolbar, providing an overlay
with the number of items selected, and a 'cancel' and 'delete' button.
This new shared element will be used by MD Bookmarks.
BUG=692827
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
to
==========
MD WebUI: Pull 'X selected' toolbar overlay from History into shared element
The overlay is designed for use with cr-toolbar, providing an overlay
with the number of items selected, and a 'cancel' and 'delete' button.
This new shared element will be used by MD Bookmarks.
BUG=692827
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Review-Url: https://codereview.chromium.org/2800603002
Cr-Commit-Position: refs/heads/master@{#463530}
Committed:
https://chromium.googlesource.com/chromium/src/+/32875f8b059b68f17b1766f3df50...
==========
commit-bot: I haz the power
Committed patchset #5 (id:100001) as https://chromium.googlesource.com/chromium/src/+/32875f8b059b68f17b1766f3df508c56b22911c4
3 years, 8 months ago
(2017-04-11 04:16:04 UTC)
#31
Issue 2800603002: MD WebUI: Pull 'X selected' toolbar overlay from History into shared element
(Closed)
Created 3 years, 8 months ago by tsergeant
Modified 3 years, 8 months ago
Reviewers: Dan Beam
Base URL:
Comments: 5