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

Issue 2077473002: MD History: add sign in promo in synced tabs when user isn't logged in (Closed)

Created:
4 years, 6 months ago by lshang
Modified:
4 years, 6 months ago
Reviewers:
tsergeant, calamity
CC:
chromium-reviews, dbeam+watch-options_chromium.org, michaelpg+watch-options_chromium.org, michaelpg+watch-md-settings_chromium.org, Patrick Dubroy, michaelpg+watch-md-ui_chromium.org, dbeam+watch-history_chromium.org, pam+watch_chromium.org, arv+watch_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD History: add sign in promo in synced tabs when user isn't logged in Show sign in promo when user is signed out. When user clicks to sign in, show messages when it's loading synced tabs from backend or there is no synced device found. BUG=614595 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/8e52a260683db459e9adb524f124c3d8af9d937c Cr-Commit-Position: refs/heads/master@{#401220}

Patch Set 1 #

Patch Set 2 : show messages #

Patch Set 3 : first acceptable version #

Total comments: 34

Patch Set 4 : rebase #

Total comments: 18

Patch Set 5 : address review comments #

Total comments: 8

Patch Set 6 : minor change #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+254 lines, -4 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/browser_resources.grd View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_history/app.js View 1 2 3 4 5 6 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_history/compiled_resources2.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/md_history/history.js View 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/browser/resources/md_history/images/100/sign_in_promo.png View 1 2 3 Binary file 0 comments Download
A chrome/browser/resources/md_history/images/200/sign_in_promo.png View 1 2 3 Binary file 0 comments Download
M chrome/browser/resources/md_history/synced_device_manager.html View 1 2 3 4 5 6 3 chunks +56 lines, -2 lines 0 comments Download
M chrome/browser/resources/md_history/synced_device_manager.js View 1 2 3 4 5 4 chunks +71 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/md_history_ui.cc View 1 2 3 4 5 6 chunks +22 lines, -1 line 0 comments Download
M chrome/test/data/webui/md_history/history_synced_tabs_test.js View 1 2 3 4 1 chunk +67 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (14 generated)
lshang
PTAL thanks!
4 years, 6 months ago (2016-06-17 05:00:39 UTC) #6
tsergeant
https://codereview.chromium.org/2077473002/diff/80001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2077473002/diff/80001/chrome/app/generated_resources.grd#newcode460 chrome/app/generated_resources.grd:460: + No synced devices found. String given to us ...
4 years, 6 months ago (2016-06-17 06:22:03 UTC) #7
calamity
https://codereview.chromium.org/2077473002/diff/80001/chrome/browser/browser_resources.grd File chrome/browser/browser_resources.grd (right): https://codereview.chromium.org/2077473002/diff/80001/chrome/browser/browser_resources.grd#newcode236 chrome/browser/browser_resources.grd:236: <include name="IDR_MD_HISTORY_200_NO_SYNCED_TAB_PNG" file="resources\md_history\images\200\no_synced_tab.png" type="BINDATA" /> Change the file name ...
4 years, 6 months ago (2016-06-17 06:25:45 UTC) #8
lshang
Tim, Chris, PTALA thanks! https://codereview.chromium.org/2077473002/diff/80001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2077473002/diff/80001/chrome/app/generated_resources.grd#newcode460 chrome/app/generated_resources.grd:460: + No synced devices found. ...
4 years, 6 months ago (2016-06-21 03:00:26 UTC) #11
tsergeant
https://codereview.chromium.org/2077473002/diff/80001/chrome/browser/resources/md_history/synced_device_manager.html File chrome/browser/resources/md_history/synced_device_manager.html (right): https://codereview.chromium.org/2077473002/diff/80001/chrome/browser/resources/md_history/synced_device_manager.html#newcode16 chrome/browser/resources/md_history/synced_device_manager.html:16: padding-top: var(--first-card-padding-top); On 2016/06/21 03:00:26, Liu Shang wrote: > ...
4 years, 6 months ago (2016-06-21 04:33:51 UTC) #12
lshang
https://codereview.chromium.org/2077473002/diff/140001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2077473002/diff/140001/chrome/app/generated_resources.grd#newcode459 chrome/app/generated_resources.grd:459: + <message name="IDS_MD_HISTORY_NO_SYNCED_RESULTS" desc="Text indicating that there is no ...
4 years, 6 months ago (2016-06-21 05:40:00 UTC) #13
tsergeant
lgtm, let's see what calamity@ thinks
4 years, 6 months ago (2016-06-22 00:08:43 UTC) #14
calamity
lgtm Sweet! https://codereview.chromium.org/2077473002/diff/160001/chrome/browser/resources/md_history/synced_device_manager.js File chrome/browser/resources/md_history/synced_device_manager.js (right): https://codereview.chromium.org/2077473002/diff/160001/chrome/browser/resources/md_history/synced_device_manager.js#newcode102 chrome/browser/resources/md_history/synced_device_manager.js:102: clearDisplayedSyncedDevices: function() { This can be private. ...
4 years, 6 months ago (2016-06-22 02:20:48 UTC) #15
lshang
Thanks all! https://codereview.chromium.org/2077473002/diff/160001/chrome/browser/resources/md_history/synced_device_manager.js File chrome/browser/resources/md_history/synced_device_manager.js (right): https://codereview.chromium.org/2077473002/diff/160001/chrome/browser/resources/md_history/synced_device_manager.js#newcode102 chrome/browser/resources/md_history/synced_device_manager.js:102: clearDisplayedSyncedDevices: function() { On 2016/06/22 02:20:48, calamity ...
4 years, 6 months ago (2016-06-22 04:51:40 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2077473002/180001
4 years, 6 months ago (2016-06-22 04:52:51 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/131040) mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 6 months ago (2016-06-22 04:55:04 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2077473002/200001
4 years, 6 months ago (2016-06-22 07:04:16 UTC) #24
commit-bot: I haz the power
Committed patchset #7 (id:200001)
4 years, 6 months ago (2016-06-22 07:17:38 UTC) #26
commit-bot: I haz the power
4 years, 6 months ago (2016-06-22 07:20:06 UTC) #28
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/8e52a260683db459e9adb524f124c3d8af9d937c
Cr-Commit-Position: refs/heads/master@{#401220}

Powered by Google App Engine
This is Rietveld 408576698