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

Issue 2917003003: [MD Bookmarks] Support elision of bookmark names in the bookmark toast. (Closed)

Created:
3 years, 6 months ago by calamity
Modified:
3 years, 6 months ago
Reviewers:
tsergeant, hirono
CC:
chromium-reviews, michaelpg+watch-md-ui_chromium.org, jlklein+watch-closure_chromium.org, oshima+watch_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-closure_chromium.org, arv+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD Bookmarks] Support elision of bookmark names in the bookmark toast. This CL makes the translated string in the bookmark toast for deletion collapse bookmark names when the bookmark name is too long, without affecting the prior or subsequent parts of the string BUG=725786 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2917003003 Cr-Commit-Position: refs/heads/master@{#478227} Committed: https://chromium.googlesource.com/chromium/src/+/e0917640f381ceb2e2822f9f697bf62447ad4034

Patch Set 1 : #

Total comments: 10

Patch Set 2 : address comments #

Patch Set 3 : rebase #

Patch Set 4 : fix cros tests #

Total comments: 5

Patch Set 5 : fix multiline #

Unified diffs Side-by-side diffs Delta from patch set Stats (+211 lines, -21 lines) Patch
M chrome/app/bookmarks_strings.grdp View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/command_manager.js View 1 2 3 1 chunk +12 lines, -12 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/toast_manager.html View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/toast_manager.js View 1 1 chunk +32 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/md_bookmarks/md_bookmarks_ui.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/test/data/webui/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/webui/load_time_data_browsertest.js View 1 2 3 4 1 chunk +95 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/background/js/device_handler_unittest.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/file_manager/file_manager/background/js/file_operation_handler_unittest.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/progress_center_item_group_unittest.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/webui/resources/html/load_time_data.html View 1 chunk +1 line, -0 lines 0 comments Download
M ui/webui/resources/js/compiled_resources2.gyp View 1 chunk +4 lines, -1 line 0 comments Download
M ui/webui/resources/js/load_time_data.js View 1 2 3 4 1 chunk +51 lines, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 47 (32 generated)
calamity
3 years, 6 months ago (2017-06-02 06:50:37 UTC) #4
tsergeant
https://codereview.chromium.org/2917003003/diff/20001/chrome/browser/resources/md_bookmarks/toast_manager.js File chrome/browser/resources/md_bookmarks/toast_manager.js (right): https://codereview.chromium.org/2917003003/diff/20001/chrome/browser/resources/md_bookmarks/toast_manager.js#newcode64 chrome/browser/resources/md_bookmarks/toast_manager.js:64: this.$.toast.open = true; This looks like it was leftover ...
3 years, 6 months ago (2017-06-05 03:33:54 UTC) #6
calamity
https://codereview.chromium.org/2917003003/diff/20001/chrome/browser/resources/md_bookmarks/toast_manager.js File chrome/browser/resources/md_bookmarks/toast_manager.js (right): https://codereview.chromium.org/2917003003/diff/20001/chrome/browser/resources/md_bookmarks/toast_manager.js#newcode64 chrome/browser/resources/md_bookmarks/toast_manager.js:64: this.$.toast.open = true; On 2017/06/05 03:33:54, tsergeant wrote: > ...
3 years, 6 months ago (2017-06-06 05:36:03 UTC) #14
tsergeant
lg, but tests are currently failing -- looks like the CommandManager tests require a ToastManager ...
3 years, 6 months ago (2017-06-06 07:15:56 UTC) #17
tsergeant
Oh, that failure is due to the upstream CL. lgtm.
3 years, 6 months ago (2017-06-06 07:17:17 UTC) #18
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/2917003003/80001
3 years, 6 months ago (2017-06-08 03:17:15 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/443760)
3 years, 6 months ago (2017-06-08 04:59:17 UTC) #26
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/2917003003/80001
3 years, 6 months ago (2017-06-08 05:46:34 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/443856)
3 years, 6 months ago (2017-06-08 07:22:49 UTC) #30
calamity
+hirono for ui/file_manager OWNERS.
3 years, 6 months ago (2017-06-08 08:36:10 UTC) #35
hirono
https://codereview.chromium.org/2917003003/diff/90001/ui/webui/resources/js/load_time_data.js File ui/webui/resources/js/load_time_data.js (right): https://codereview.chromium.org/2917003003/diff/90001/ui/webui/resources/js/load_time_data.js#newcode107 ui/webui/resources/js/load_time_data.js:107: return label.replace(/\$(.|$)/g, function(m) { /\$(.|$)/g does not match something ...
3 years, 6 months ago (2017-06-09 01:02:21 UTC) #38
calamity
https://codereview.chromium.org/2917003003/diff/90001/ui/webui/resources/js/load_time_data.js File ui/webui/resources/js/load_time_data.js (right): https://codereview.chromium.org/2917003003/diff/90001/ui/webui/resources/js/load_time_data.js#newcode107 ui/webui/resources/js/load_time_data.js:107: return label.replace(/\$(.|$)/g, function(m) { On 2017/06/09 01:02:21, hirono wrote: ...
3 years, 6 months ago (2017-06-09 05:55:23 UTC) #39
hirono
lgtm https://codereview.chromium.org/2917003003/diff/90001/ui/webui/resources/js/load_time_data.js File ui/webui/resources/js/load_time_data.js (right): https://codereview.chromium.org/2917003003/diff/90001/ui/webui/resources/js/load_time_data.js#newcode128 ui/webui/resources/js/load_time_data.js:128: var pieces = (label.match(/(\$[1-9])|(([^$]|\$([^1-9]|$))+)/g) || On 2017/06/09 05:55:23, ...
3 years, 6 months ago (2017-06-09 06:01:25 UTC) #40
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/2917003003/110001
3 years, 6 months ago (2017-06-09 06:11:55 UTC) #44
commit-bot: I haz the power
3 years, 6 months ago (2017-06-09 07:34:52 UTC) #47
Message was sent while issue was closed.
Committed patchset #5 (id:110001) as
https://chromium.googlesource.com/chromium/src/+/e0917640f381ceb2e2822f9f697b...

Powered by Google App Engine
This is Rietveld 408576698