New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 852075 link

Starred by 2 users

Issue metadata

Status: Started
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Feature



Sign in to add a comment

Explore Sites UX research prototype

Project Member Reported by dewittj@chromium.org, Jun 12 2018

Issue description

Tracking bug for go/explore-sites-research-prototype

This tracks the client side work, requiring a new subsection on the NTP, enabled by the ExploreSites feature flag. This is only implemented on Android.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Jun 12 2018

Project Member

Comment 2 by bugdroid1@chromium.org, Jun 13 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/21ae462e781e58e0727aaa9613e0979249ae9304

commit 21ae462e781e58e0727aaa9613e0979249ae9304
Author: Cathy Li <chili@chromium.org>
Date: Wed Jun 13 07:20:55 2018

[Explore Sites]: Add stub JNI bridge for explore sites.

This will later be used to fetch resources for the UI.

Bug: 852075
Change-Id: I58fa78a458c9cd329d55d7b4042c15b7f721aa97
Reviewed-on: https://chromium-review.googlesource.com/1095691
Reviewed-by: Justin DeWitt <dewittj@chromium.org>
Reviewed-by: David Trainor <dtrainor@chromium.org>
Reviewed-by: Wei-Yin Chen (陳威尹) <wychen@chromium.org>
Commit-Queue: Cathy Li <chili@chromium.org>
Cr-Commit-Position: refs/heads/master@{#566744}
[add] https://crrev.com/21ae462e781e58e0727aaa9613e0979249ae9304/chrome/android/java/src/org/chromium/chrome/browser/explore_sites/ExploreSitesBridge.java
[add] https://crrev.com/21ae462e781e58e0727aaa9613e0979249ae9304/chrome/android/java/src/org/chromium/chrome/browser/explore_sites/ExploreSitesCategoryTile.java
[modify] https://crrev.com/21ae462e781e58e0727aaa9613e0979249ae9304/chrome/android/java_sources.gni
[modify] https://crrev.com/21ae462e781e58e0727aaa9613e0979249ae9304/chrome/browser/BUILD.gn
[add] https://crrev.com/21ae462e781e58e0727aaa9613e0979249ae9304/chrome/browser/android/explore_sites/OWNERS
[add] https://crrev.com/21ae462e781e58e0727aaa9613e0979249ae9304/chrome/browser/android/explore_sites/explore_sites_bridge.cc
[add] https://crrev.com/21ae462e781e58e0727aaa9613e0979249ae9304/chrome/browser/android/explore_sites/explore_sites_bridge.h

Project Member

Comment 3 by bugdroid1@chromium.org, Jun 15 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f21739002cf429db3c6755a92398e2787f5bf442

commit f21739002cf429db3c6755a92398e2787f5bf442
Author: Justin DeWitt <dewittj@chromium.org>
Date: Fri Jun 15 16:00:54 2018

[ExploreSites] Adds an explore sites Java owners file.

Bug: 852075
Change-Id: Ic0dad63f55974911ae45355d546d1b7ec5efcdc3
Reviewed-on: https://chromium-review.googlesource.com/1101925
Reviewed-by: David Trainor <dtrainor@chromium.org>
Commit-Queue: Justin DeWitt <dewittj@chromium.org>
Cr-Commit-Position: refs/heads/master@{#567669}
[add] https://crrev.com/f21739002cf429db3c6755a92398e2787f5bf442/chrome/android/java/src/org/chromium/chrome/browser/explore_sites/OWNERS

Project Member

Comment 4 by bugdroid1@chromium.org, Jun 15 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3e9f77a919ab2a14e956ff9b474b01f3492f74b3

commit 3e9f77a919ab2a14e956ff9b474b01f3492f74b3
Author: Cathy Li <chili@chromium.org>
Date: Fri Jun 15 18:35:33 2018

[Explore Sites]: Create explore sites tile layout and hook up to json and image loading.

Bug: 852075
Change-Id: If09bc4cac1687599bb9009c40248d678f6d16c8b
Reviewed-on: https://chromium-review.googlesource.com/1099967
Reviewed-by: Theresa <twellington@chromium.org>
Reviewed-by: Justin DeWitt <dewittj@chromium.org>
Commit-Queue: Cathy Li <chili@chromium.org>
Cr-Commit-Position: refs/heads/master@{#567740}
[add] https://crrev.com/3e9f77a919ab2a14e956ff9b474b01f3492f74b3/chrome/android/java/res/layout/explore_sites_category_tile_view.xml
[modify] https://crrev.com/3e9f77a919ab2a14e956ff9b474b01f3492f74b3/chrome/android/java/src/org/chromium/chrome/browser/explore_sites/ExploreSitesBridge.java
[add] https://crrev.com/3e9f77a919ab2a14e956ff9b474b01f3492f74b3/chrome/android/java/src/org/chromium/chrome/browser/explore_sites/ExploreSitesCategoryTileView.java
[add] https://crrev.com/3e9f77a919ab2a14e956ff9b474b01f3492f74b3/chrome/android/java/src/org/chromium/chrome/browser/explore_sites/ExploreSitesSection.java
[modify] https://crrev.com/3e9f77a919ab2a14e956ff9b474b01f3492f74b3/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageLayout.java
[modify] https://crrev.com/3e9f77a919ab2a14e956ff9b474b01f3492f74b3/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageView.java
[modify] https://crrev.com/3e9f77a919ab2a14e956ff9b474b01f3492f74b3/chrome/android/java_sources.gni

Project Member

Comment 5 by bugdroid1@chromium.org, Jun 19 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/66f0831c883bad092128e4a6e7c574e07e0fc5b7

commit 66f0831c883bad092128e4a6e7c574e07e0fc5b7
Author: Yafei Duan <romax@chromium.org>
Date: Tue Jun 19 19:42:13 2018

[ExploreSites] Adds a fetcher for the NTP JSON schema.

This doesn't decode the JSON, just grabs it from the appropriate
endpoint.

The CL was originally uploaded by dewittj@. This CL is fixing the test
failure and re-uploading to land since dewittj@ is out of office.

Bug: 852075
Change-Id: Ib8adc7cad661665c884a2d058c27c99f40ac0a58
Reviewed-on: https://chromium-review.googlesource.com/1105018
Commit-Queue: Yafei Duan <romax@chromium.org>
Reviewed-by: Cathy Li <chili@chromium.org>
Cr-Commit-Position: refs/heads/master@{#568571}
[modify] https://crrev.com/66f0831c883bad092128e4a6e7c574e07e0fc5b7/chrome/android/java/src/org/chromium/chrome/browser/explore_sites/ExploreSitesBridge.java
[modify] https://crrev.com/66f0831c883bad092128e4a6e7c574e07e0fc5b7/chrome/android/java/src/org/chromium/chrome/browser/explore_sites/ExploreSitesCategoryTile.java
[modify] https://crrev.com/66f0831c883bad092128e4a6e7c574e07e0fc5b7/chrome/android/java/src/org/chromium/chrome/browser/explore_sites/ExploreSitesSection.java
[modify] https://crrev.com/66f0831c883bad092128e4a6e7c574e07e0fc5b7/chrome/browser/BUILD.gn
[add] https://crrev.com/66f0831c883bad092128e4a6e7c574e07e0fc5b7/chrome/browser/android/explore_sites/catalog.cc
[add] https://crrev.com/66f0831c883bad092128e4a6e7c574e07e0fc5b7/chrome/browser/android/explore_sites/catalog.h
[modify] https://crrev.com/66f0831c883bad092128e4a6e7c574e07e0fc5b7/chrome/browser/android/explore_sites/explore_sites_bridge.cc
[modify] https://crrev.com/66f0831c883bad092128e4a6e7c574e07e0fc5b7/chrome/browser/android/explore_sites/explore_sites_bridge.h
[add] https://crrev.com/66f0831c883bad092128e4a6e7c574e07e0fc5b7/chrome/browser/android/explore_sites/ntp_json_fetcher.cc
[add] https://crrev.com/66f0831c883bad092128e4a6e7c574e07e0fc5b7/chrome/browser/android/explore_sites/ntp_json_fetcher.h
[add] https://crrev.com/66f0831c883bad092128e4a6e7c574e07e0fc5b7/chrome/browser/android/explore_sites/ntp_json_fetcher_unittest.cc
[modify] https://crrev.com/66f0831c883bad092128e4a6e7c574e07e0fc5b7/chrome/test/BUILD.gn

Project Member

Comment 6 by bugdroid1@chromium.org, Jun 19 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/ac2b767c52f870ac4bc6b3460e11e0b5bf28b9b8

commit ac2b767c52f870ac4bc6b3460e11e0b5bf28b9b8
Author: Yafei Duan <romax@chromium.org>
Date: Tue Jun 19 21:52:27 2018

[Explore Sites] Implementing ExploreSitesBridge::GetIcon.

Implements ExploreSitesBridge::GetIcon using ImageFetcher, which takes
url and return fetched image via callback.

Bug: 852075
Change-Id: I8d3acd770cb2510639cd7896a79a81499874d50d
Reviewed-on: https://chromium-review.googlesource.com/1099771
Commit-Queue: Yafei Duan <romax@chromium.org>
Reviewed-by: Tommy Nyquist <nyquist@chromium.org>
Reviewed-by: Cathy Li <chili@chromium.org>
Cr-Commit-Position: refs/heads/master@{#568608}
[modify] https://crrev.com/ac2b767c52f870ac4bc6b3460e11e0b5bf28b9b8/chrome/android/java/src/org/chromium/chrome/browser/explore_sites/ExploreSitesBridge.java
[modify] https://crrev.com/ac2b767c52f870ac4bc6b3460e11e0b5bf28b9b8/chrome/android/java/src/org/chromium/chrome/browser/explore_sites/ExploreSitesSection.java
[modify] https://crrev.com/ac2b767c52f870ac4bc6b3460e11e0b5bf28b9b8/chrome/android/java_sources.gni
[add] https://crrev.com/ac2b767c52f870ac4bc6b3460e11e0b5bf28b9b8/chrome/android/javatests/src/org/chromium/chrome/browser/explore_sites/ExploreSitesBridgeTest.java
[add] https://crrev.com/ac2b767c52f870ac4bc6b3460e11e0b5bf28b9b8/chrome/android/javatests/src/org/chromium/chrome/browser/explore_sites/OWNERS
[modify] https://crrev.com/ac2b767c52f870ac4bc6b3460e11e0b5bf28b9b8/chrome/browser/android/explore_sites/explore_sites_bridge.cc
[modify] https://crrev.com/ac2b767c52f870ac4bc6b3460e11e0b5bf28b9b8/chrome/browser/android/explore_sites/explore_sites_bridge.h

Project Member

Comment 8 by bugdroid1@chromium.org, Jun 20 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/52a2510d53c5a68612110b4790290242a2d0dc2f

commit 52a2510d53c5a68612110b4790290242a2d0dc2f
Author: Yafei Duan <romax@chromium.org>
Date: Wed Jun 20 23:49:47 2018

[Explore Sites] Fix navigationUrl of tiles.

Fix the naviagtionUrl of ExploreSitesCategoryTile by appending the id to
the end of GetCatalogUrl().

Bug: 852075
Change-Id: Id1608d7fe379f0788b109dd8dea6c63c5eb8189a
Reviewed-on: https://chromium-review.googlesource.com/1108975
Reviewed-by: Cathy Li <chili@chromium.org>
Commit-Queue: Yafei Duan <romax@chromium.org>
Cr-Commit-Position: refs/heads/master@{#569089}
[modify] https://crrev.com/52a2510d53c5a68612110b4790290242a2d0dc2f/chrome/android/java/src/org/chromium/chrome/browser/explore_sites/ExploreSitesCategoryTile.java
[modify] https://crrev.com/52a2510d53c5a68612110b4790290242a2d0dc2f/chrome/browser/android/explore_sites/ntp_json_fetcher.cc

Project Member

Comment 10 by bugdroid1@chromium.org, Jun 25 2018

Project Member

Comment 11 by bugdroid1@chromium.org, Jun 25 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/059d76f6ac346fd4a05c526a665f356d1306f99c

commit 059d76f6ac346fd4a05c526a665f356d1306f99c
Author: Cathy Li <chili@chromium.org>
Date: Mon Jun 25 22:29:28 2018

[Explore sites]: rename the button background style.

This is to make it clear that it is its own snowflake and should be fixed later.

Bug: 852075
Change-Id: I30991e144e6e39b433757a7aaa3749a6bb20c85a
Reviewed-on: https://chromium-review.googlesource.com/1113619
Reviewed-by: Theresa <twellington@chromium.org>
Commit-Queue: Cathy Li <chili@chromium.org>
Cr-Commit-Position: refs/heads/master@{#570205}
[rename] https://crrev.com/059d76f6ac346fd4a05c526a665f356d1306f99c/chrome/android/java/res/drawable/explore_sites_button_background.xml
[modify] https://crrev.com/059d76f6ac346fd4a05c526a665f356d1306f99c/chrome/android/java/res/values-v17/styles.xml
[modify] https://crrev.com/059d76f6ac346fd4a05c526a665f356d1306f99c/chrome/android/java/res/values-v21/styles.xml

Components: -UI>Browser UI>Browser>NewTabPage>ExploreSites

Sign in to add a comment