|
|
Chromium Code Reviews
Description[NTP Client] Remove whitespace between card title and attribution
Allows the attribution line to move up beside the thumbnail and below
the title when there is not description
BUG=690420, 631447
Review-Url: https://codereview.chromium.org/2690123002
Cr-Commit-Position: refs/heads/master@{#450933}
Committed: https://chromium.googlesource.com/chromium/src/+/3371166ee6b13e7d34d3a8a216bf041abc3ce9b9
Patch Set 1 #Patch Set 2 : rebase and just used dynamic margins #Patch Set 3 : cleanup #
Total comments: 5
Patch Set 4 : address comments #Patch Set 5 : rebase #
Messages
Total messages: 33 (20 generated)
dgn@chromium.org changed reviewers: + bauerb@chromium.org
PTAL. Posted preview on the bug.
The CQ bit was checked by dgn@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Description was changed from ========== [NTP Client] Remove whitespace between card title and attribution Allows the attribution line to move up beside the thumbnail and below the title when there is not description BUG=690420,631447 ========== to ========== [NTP Client] Remove whitespace between card title and attribution Allows the attribution line to move up beside the thumbnail and below the title when there is not description BUG=690420,631447 ==========
FYI: CL not for review at the moment, as it always pushes the download icon at the end of the line. I'm currently experimenting with other layouts (grid, etc)
PTAL https://codereview.chromium.org/2690123002/diff/40001/chrome/android/java/src... File chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetArticleViewHolder.java (left): https://codereview.chromium.org/2690123002/diff/40001/chrome/android/java/src... chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetArticleViewHolder.java:80: private final boolean mUseFaviconService; moved the final members together
dgn@chromium.org changed reviewers: + mvanouwerkerk@chromium.org
+Michael for review since we discussed this.
The CQ bit was checked by dgn@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
lgtm
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Nice! lgtm with nits https://codereview.chromium.org/2690123002/diff/40001/chrome/android/java/res... File chrome/android/java/res/layout/new_tab_page_snippets_card.xml (right): https://codereview.chromium.org/2690123002/diff/40001/chrome/android/java/res... chrome/android/java/res/layout/new_tab_page_snippets_card.xml:94: android:layout_marginStart="@dimen/snippets_thumbnail_padding" nit: should the dimension be renamed to "snippets_thumbnail_margin"? https://codereview.chromium.org/2690123002/diff/40001/chrome/android/java/src... File chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetArticleViewHolder.java (right): https://codereview.chromium.org/2690123002/diff/40001/chrome/android/java/src... chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetArticleViewHolder.java:77: /** Total horizontal space occupied by the thumbnail, sum of its size and padding. */ "size and margin"?
Thanks! https://codereview.chromium.org/2690123002/diff/40001/chrome/android/java/res... File chrome/android/java/res/layout/new_tab_page_snippets_card.xml (right): https://codereview.chromium.org/2690123002/diff/40001/chrome/android/java/res... chrome/android/java/res/layout/new_tab_page_snippets_card.xml:94: android:layout_marginStart="@dimen/snippets_thumbnail_padding" On 2017/02/15 17:59:33, Michael van Ouwerkerk wrote: > nit: should the dimension be renamed to "snippets_thumbnail_margin"? Done. https://codereview.chromium.org/2690123002/diff/40001/chrome/android/java/src... File chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetArticleViewHolder.java (right): https://codereview.chromium.org/2690123002/diff/40001/chrome/android/java/src... chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetArticleViewHolder.java:77: /** Total horizontal space occupied by the thumbnail, sum of its size and padding. */ On 2017/02/15 17:59:33, Michael van Ouwerkerk wrote: > "size and margin"? Done.
The CQ bit was checked by dgn@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from bauerb@chromium.org, mvanouwerkerk@chromium.org Link to the patchset: https://codereview.chromium.org/2690123002/#ps60001 (title: "address comments")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_...)
The CQ bit was checked by dgn@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by dgn@chromium.org
The CQ bit was checked by dgn@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from bauerb@chromium.org, mvanouwerkerk@chromium.org Link to the patchset: https://codereview.chromium.org/2690123002/#ps80001 (title: "rebase")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 80001, "attempt_start_ts": 1487242331358480,
"parent_rev": "4ea35f1d6c27d519aeb7ced90692059aeb131569", "commit_rev":
"3371166ee6b13e7d34d3a8a216bf041abc3ce9b9"}
Message was sent while issue was closed.
Description was changed from ========== [NTP Client] Remove whitespace between card title and attribution Allows the attribution line to move up beside the thumbnail and below the title when there is not description BUG=690420,631447 ========== to ========== [NTP Client] Remove whitespace between card title and attribution Allows the attribution line to move up beside the thumbnail and below the title when there is not description BUG=690420,631447 Review-Url: https://codereview.chromium.org/2690123002 Cr-Commit-Position: refs/heads/master@{#450933} Committed: https://chromium.googlesource.com/chromium/src/+/3371166ee6b13e7d34d3a8a216bf... ==========
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/chromium/src/+/3371166ee6b13e7d34d3a8a216bf... |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
