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

Issue 2751833005: Add Distillation info to Reading List view. (Closed)

Created:
3 years, 9 months ago by Olivier
Modified:
3 years, 8 months ago
Reviewers:
gambard
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, pkl (ping after 24h if needed), noyau+watch_chromium.org, marq+watch_chromium.org, stkhapugin, srahim+watch_chromium.org, jshin+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Distillation info to Reading List view. If page is distilled, show - Date of distillation in relative format (1 hour ago, 2 days ago). - The size of distillation files in human readable format. BUG=694451 Review-Url: https://codereview.chromium.org/2751833005 Cr-Commit-Position: refs/heads/master@{#460426} Committed: https://chromium.googlesource.com/chromium/src/+/0ac7ceb17518903b0072836ab722384bad87e24e

Patch Set 1 #

Patch Set 2 : clean #

Total comments: 23

Patch Set 3 : feedback #

Patch Set 4 : relayout #

Patch Set 5 : rebase #

Patch Set 6 : update comments #

Total comments: 1

Patch Set 7 : Use constraints #

Total comments: 16

Patch Set 8 : rebase + feedback #

Total comments: 2

Patch Set 9 : feedback #

Patch Set 10 : fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -61 lines) Patch
M components/reading_list/core/reading_list_entry.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M ios/chrome/app/strings/ios_strings.grd View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.mm View 1 2 3 4 5 6 7 8 5 chunks +21 lines, -17 lines 0 comments Download
M ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller_unittest.mm View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -4 lines 0 comments Download
M ios/chrome/browser/ui/reading_list/reading_list_collection_view_item.h View 1 2 3 4 5 6 7 3 chunks +15 lines, -7 lines 0 comments Download
M ios/chrome/browser/ui/reading_list/reading_list_collection_view_item.mm View 1 2 3 4 5 6 7 11 chunks +160 lines, -31 lines 0 comments Download
M ios/chrome/browser/ui/reading_list/reading_list_coordinator.mm View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
Olivier
Hi PTAL ui/ part in review at https://codereview.chromium.org/2747253004/
3 years, 9 months ago (2017-03-15 18:04:11 UTC) #2
gambard
https://codereview.chromium.org/2751833005/diff/20001/ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.mm File ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.mm (right): https://codereview.chromium.org/2751833005/diff/20001/ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.mm#newcode606 ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.mm:606: if (oldItem.url == newItem.url && oldItem.type == newItem.type) { ...
3 years, 9 months ago (2017-03-16 07:50:24 UTC) #3
Olivier
https://codereview.chromium.org/2751833005/diff/20001/ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.mm File ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.mm (right): https://codereview.chromium.org/2751833005/diff/20001/ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.mm#newcode606 ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.mm:606: if (oldItem.url == newItem.url && oldItem.type == newItem.type) { ...
3 years, 9 months ago (2017-03-16 09:20:15 UTC) #4
Olivier
I changed the layout according to the bug. Now all cells have same size. PTAL.
3 years, 9 months ago (2017-03-17 15:14:14 UTC) #5
gambard
I removed the stack views in the stack views because of crbug.com/698379. Also the position ...
3 years, 9 months ago (2017-03-17 15:39:43 UTC) #6
Olivier
Thanks. PTAL
3 years, 9 months ago (2017-03-24 10:07:41 UTC) #9
gambard
I need to think about the model used to display the item and its cell. ...
3 years, 9 months ago (2017-03-24 16:21:27 UTC) #10
Olivier
Thanks I rebased and addressed comments. PTAL. https://codereview.chromium.org/2751833005/diff/160001/ios/chrome/browser/ui/reading_list/reading_list_collection_view_item.h File ios/chrome/browser/ui/reading_list/reading_list_collection_view_item.h (right): https://codereview.chromium.org/2751833005/diff/160001/ios/chrome/browser/ui/reading_list/reading_list_collection_view_item.h#newcode59 ios/chrome/browser/ui/reading_list/reading_list_collection_view_item.h:59: @property(nonatomic, readonly, ...
3 years, 8 months ago (2017-03-29 12:57:07 UTC) #11
gambard
lgtm with 1 comment https://codereview.chromium.org/2751833005/diff/160001/ios/chrome/browser/ui/reading_list/reading_list_collection_view_item.mm File ios/chrome/browser/ui/reading_list/reading_list_collection_view_item.mm (right): https://codereview.chromium.org/2751833005/diff/160001/ios/chrome/browser/ui/reading_list/reading_list_collection_view_item.mm#newcode343 ios/chrome/browser/ui/reading_list/reading_list_collection_view_item.mm:343: _distillationDateLabel.textColor = [UIColor colorWithWhite:0 alpha:0.38]; ...
3 years, 8 months ago (2017-03-29 13:30:38 UTC) #12
Olivier
Thanks https://codereview.chromium.org/2751833005/diff/180001/ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.mm File ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.mm (right): https://codereview.chromium.org/2751833005/diff/180001/ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.mm#newcode1179 ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.mm:1179: header = [[CollectionViewTextItem alloc] initWithType:ItemTypeHeader]; On 2017/03/29 13:30:38, ...
3 years, 8 months ago (2017-03-29 14:15:15 UTC) #13
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/2751833005/200001
3 years, 8 months ago (2017-03-29 14:15:46 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/179783)
3 years, 8 months ago (2017-03-29 14:25:25 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/2751833005/220001
3 years, 8 months ago (2017-03-29 16:04:35 UTC) #21
commit-bot: I haz the power
3 years, 8 months ago (2017-03-29 16:55:13 UTC) #24
Message was sent while issue was closed.
Committed patchset #10 (id:220001) as
https://chromium.googlesource.com/chromium/src/+/0ac7ceb17518903b0072836ab722...

Powered by Google App Engine
This is Rietveld 408576698