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

Issue 2570253002: [MD History] Fix toolbar dates in grouped mode. (Closed)

Created:
4 years ago by calamity
Modified:
3 years, 9 months ago
CC:
arv+watch_chromium.org, chrome-apps-syd-reviews_chromium.org, chromium-reviews, dbeam+watch-history_chromium.org, Patrick Dubroy, jshin+watch_chromium.org, michaelpg+watch-md-ui_chromium.org, pam+watch_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD History] Fix toolbar dates in grouped mode. This CL fixes the date format in the toolbar when the history page is in grouped mode. BUG=589357 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2570253002 Cr-Commit-Position: refs/heads/master@{#444976} Committed: https://chromium.googlesource.com/chromium/src/+/a220c70742bf9de3bb7212c1c78ed4f992976400

Patch Set 1 : #

Total comments: 5

Patch Set 2 : address comments #

Total comments: 2

Patch Set 3 : use date interval format #

Total comments: 4

Patch Set 4 : rebase, address comments #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -49 lines) Patch
M base/i18n/time_formatting.h View 1 2 3 3 chunks +18 lines, -0 lines 0 comments Download
M base/i18n/time_formatting.cc View 1 2 3 4 chunks +37 lines, -0 lines 0 comments Download
M base/i18n/time_formatting_unittest.cc View 1 2 3 3 chunks +22 lines, -0 lines 0 comments Download
M chrome/browser/resources/history/externs.js View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/history/history.js View 1 2 3 2 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/resources/md_history/app.html View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/resources/md_history/app.crisper.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/md_history/app.vulcanized.html View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/md_history/compiled_resources2.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_history/grouped_list.js View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/resources/md_history/history_toolbar.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/md_history/history_toolbar.js View 1 2 2 chunks +9 lines, -10 lines 0 comments Download
M chrome/browser/resources/md_history/lazy_load.crisper.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/md_history/list_container.html View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/webui/browsing_history_handler.cc View 1 2 3 2 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/history_ui.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/md_history_ui.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/test/data/webui/history_browsertest.js View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M chrome/test/data/webui/md_history/history_grouped_list_test.js View 1 2 3 2 chunks +18 lines, -6 lines 0 comments Download
M chrome/test/data/webui/md_history/test_util.js View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M components/history_strings.grdp View 1 2 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 56 (34 generated)
calamity
https://codereview.chromium.org/2570253002/diff/20001/chrome/browser/resources/md_history/history_toolbar.js File chrome/browser/resources/md_history/history_toolbar.js (right): https://codereview.chromium.org/2570253002/diff/20001/chrome/browser/resources/md_history/history_toolbar.js#newcode58 chrome/browser/resources/md_history/history_toolbar.js:58: queryInfo: Object, Just FYI, I considered adding a couple ...
4 years ago (2016-12-15 02:17:52 UTC) #4
tsergeant
https://codereview.chromium.org/2570253002/diff/20001/chrome/test/data/webui/md_history/history_grouped_list_test.js File chrome/test/data/webui/md_history/history_grouped_list_test.js (right): https://codereview.chromium.org/2570253002/diff/20001/chrome/test/data/webui/md_history/history_grouped_list_test.js#newcode98 chrome/test/data/webui/md_history/history_grouped_list_test.js:98: app.set('queryState_.range', HistoryRange.MONTH); This test is a bit confusing to ...
4 years ago (2016-12-15 06:31:37 UTC) #5
calamity
https://codereview.chromium.org/2570253002/diff/20001/chrome/test/data/webui/md_history/history_grouped_list_test.js File chrome/test/data/webui/md_history/history_grouped_list_test.js (right): https://codereview.chromium.org/2570253002/diff/20001/chrome/test/data/webui/md_history/history_grouped_list_test.js#newcode98 chrome/test/data/webui/md_history/history_grouped_list_test.js:98: app.set('queryState_.range', HistoryRange.MONTH); On 2016/12/15 06:31:37, tsergeant wrote: > This ...
4 years ago (2016-12-15 06:57:00 UTC) #6
tsergeant
lgtm
4 years ago (2016-12-15 22:35:48 UTC) #7
calamity
+jshin for base/i18n OWNERS.
4 years ago (2016-12-16 02:19:51 UTC) #9
jungshik at Google
See the comment below. https://codereview.chromium.org/2570253002/diff/40001/chrome/browser/ui/webui/browsing_history_handler.cc File chrome/browser/ui/webui/browsing_history_handler.cc (right): https://codereview.chromium.org/2570253002/diff/40001/chrome/browser/ui/webui/browsing_history_handler.cc#newcode535 chrome/browser/ui/webui/browsing_history_handler.cc:535: TimeFormatWeekdayMonthAndDay(query_results_info->end_time)); Instead of concatenating two ...
4 years ago (2016-12-16 09:08:38 UTC) #14
calamity
Happy Googleversary! https://codereview.chromium.org/2570253002/diff/40001/chrome/browser/ui/webui/browsing_history_handler.cc File chrome/browser/ui/webui/browsing_history_handler.cc (right): https://codereview.chromium.org/2570253002/diff/40001/chrome/browser/ui/webui/browsing_history_handler.cc#newcode535 chrome/browser/ui/webui/browsing_history_handler.cc:535: TimeFormatWeekdayMonthAndDay(query_results_info->end_time)); On 2016/12/16 09:08:38, jungshik at google ...
4 years ago (2016-12-19 04:12:55 UTC) #15
jungshik at Google
On 2016/12/19 04:12:55, calamity wrote: > Happy Googleversary! > > https://codereview.chromium.org/2570253002/diff/40001/chrome/browser/ui/webui/browsing_history_handler.cc > File chrome/browser/ui/webui/browsing_history_handler.cc (right): ...
4 years ago (2016-12-19 07:19:22 UTC) #16
calamity
On 2016/12/19 07:19:22, jungshik at google wrote: > On 2016/12/19 04:12:55, calamity wrote: > > ...
4 years ago (2016-12-20 03:11:48 UTC) #17
calamity
Our designer is fine with this. I updated the CL to use the date interval ...
3 years, 11 months ago (2017-01-06 00:28:12 UTC) #22
jungshik at Google
Sorry for the delay. See my comments below. The first comment does not require any ...
3 years, 11 months ago (2017-01-10 01:12:29 UTC) #23
calamity
https://codereview.chromium.org/2570253002/diff/60001/base/i18n/time_formatting.h File base/i18n/time_formatting.h (right): https://codereview.chromium.org/2570253002/diff/60001/base/i18n/time_formatting.h#newcode47 base/i18n/time_formatting.h:47: }; On 2017/01/10 01:12:29, jungshik at Google (ooo) wrote: ...
3 years, 11 months ago (2017-01-16 02:49:25 UTC) #25
jungshik at Google
On 2017/01/16 02:49:25, calamity wrote: > https://codereview.chromium.org/2570253002/diff/60001/base/i18n/time_formatting.h > File base/i18n/time_formatting.h (right): > > https://codereview.chromium.org/2570253002/diff/60001/base/i18n/time_formatting.h#newcode47 > ...
3 years, 11 months ago (2017-01-18 20:08:07 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/2570253002/120001
3 years, 11 months ago (2017-01-19 04:36:22 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: closure_compilation on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/closure_compilation/builds/5601)
3 years, 11 months ago (2017-01-19 04:49:29 UTC) #31
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/2570253002/140001
3 years, 11 months ago (2017-01-19 06:23:50 UTC) #39
commit-bot: I haz the power
Failed to apply patch for chrome/browser/resources/md_history/app.vulcanized.html: While running git apply --index -p1; error: patch failed: ...
3 years, 11 months ago (2017-01-19 07:27:45 UTC) #41
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/2570253002/160001
3 years, 11 months ago (2017-01-20 03:58:24 UTC) #48
commit-bot: I haz the power
Committed patchset #5 (id:160001) as https://chromium.googlesource.com/chromium/src/+/a220c70742bf9de3bb7212c1c78ed4f992976400
3 years, 11 months ago (2017-01-20 04:06:37 UTC) #51
agrieve
On 2017/01/20 04:06:37, commit-bot: I haz the power wrote: > Committed patchset #5 (id:160001) as ...
3 years, 11 months ago (2017-01-23 17:54:44 UTC) #52
Wez
Hallo jochen@chromium.org! Due to a depot_tools patch which mistakenly removed the OWNERS check for non-source ...
3 years, 10 months ago (2017-02-08 02:08:34 UTC) #55
jochen (gone - plz use gerrit)
3 years, 9 months ago (2017-03-21 21:22:49 UTC) #56
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698