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

Issue 2967113003: [ios showcase] Integrated TextBadgeView with Showcase. (Closed)

Created:
3 years, 5 months ago by helenlyang
Modified:
3 years, 5 months ago
Reviewers:
*gchatz, *edchin
CC:
chromium-reviews, marq+watch_chromium.org, ios-reviews_chromium.org, ios-reviews+showcase_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[ios showcase] Integrated TextBadgeView with Showcase. This CL adds TextBadgeView to iOS Showcase. This involves adding a text_badge_view folder to showcase, creating a glue view controller, and modifying the Showcase configuration file and BUILD.gn files as necessary. Since TextBadgeView is currently a stub implementation, Showcase displays a blank white screen. BUG=740133 . Review-Url: https://codereview.chromium.org/2967113003 Cr-Commit-Position: refs/heads/master@{#485302} Committed: https://chromium.googlesource.com/chromium/src/+/ac8a93564a2560a5ec54673246c551e04e11ed02

Patch Set 1 #

Patch Set 2 : Added text badge to view controller and created egtest stub #

Total comments: 10

Patch Set 3 : Fixed file names, egtest, and text badge initialization #

Total comments: 6

Patch Set 4 : Added SC prefix, centered text badge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -0 lines) Patch
M ios/showcase/BUILD.gn View 1 2 chunks +2 lines, -0 lines 0 comments Download
M ios/showcase/core/showcase_model.mm View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
A ios/showcase/text_badge_view/BUILD.gn View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
A ios/showcase/text_badge_view/sc_text_badge_view_controller.h View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
A ios/showcase/text_badge_view/sc_text_badge_view_controller.mm View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
A ios/showcase/text_badge_view/sc_text_badge_view_egtest.mm View 1 2 1 chunk +30 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
edchin
On 2017/07/05 21:45:49, helenlyang wrote: > mailto:helenlyang@google.com changed required reviewers: > + mailto:edchin@chromium.org, mailto:gchatz@chromium.org Great ...
3 years, 5 months ago (2017-07-06 04:38:17 UTC) #4
helenlyang
On 2017/07/06 04:38:17, edchin wrote: > On 2017/07/05 21:45:49, helenlyang wrote: > > mailto:helenlyang@google.com changed ...
3 years, 5 months ago (2017-07-06 21:43:44 UTC) #6
edchin
lgtm. Please address the comments below. https://codereview.chromium.org/2967113003/diff/40001/ios/showcase/text_badge_view/BUILD.gn File ios/showcase/text_badge_view/BUILD.gn (right): https://codereview.chromium.org/2967113003/diff/40001/ios/showcase/text_badge_view/BUILD.gn#newcode3 ios/showcase/text_badge_view/BUILD.gn:3: "text_badge_view_view_controller.h", I see ...
3 years, 5 months ago (2017-07-07 04:38:04 UTC) #7
edchin
Please also create a bug to track this work.
3 years, 5 months ago (2017-07-07 04:38:34 UTC) #8
gchatz
https://codereview.chromium.org/2967113003/diff/40001/ios/showcase/text_badge_view/BUILD.gn File ios/showcase/text_badge_view/BUILD.gn (right): https://codereview.chromium.org/2967113003/diff/40001/ios/showcase/text_badge_view/BUILD.gn#newcode3 ios/showcase/text_badge_view/BUILD.gn:3: "text_badge_view_view_controller.h", New files should follow showcase convention where "sc_" ...
3 years, 5 months ago (2017-07-07 04:40:39 UTC) #9
edchin
https://codereview.chromium.org/2967113003/diff/40001/ios/showcase/text_badge_view/BUILD.gn File ios/showcase/text_badge_view/BUILD.gn (right): https://codereview.chromium.org/2967113003/diff/40001/ios/showcase/text_badge_view/BUILD.gn#newcode3 ios/showcase/text_badge_view/BUILD.gn:3: "text_badge_view_view_controller.h", On 2017/07/07 04:40:38, gchatz wrote: > New files ...
3 years, 5 months ago (2017-07-07 05:00:49 UTC) #10
helenlyang
Added a tracking bug and fixed comments. PTAL. Thanks! https://codereview.chromium.org/2967113003/diff/40001/ios/showcase/text_badge_view/BUILD.gn File ios/showcase/text_badge_view/BUILD.gn (right): https://codereview.chromium.org/2967113003/diff/40001/ios/showcase/text_badge_view/BUILD.gn#newcode3 ios/showcase/text_badge_view/BUILD.gn:3: ...
3 years, 5 months ago (2017-07-07 16:31:13 UTC) #12
edchin
https://codereview.chromium.org/2967113003/diff/60001/ios/showcase/core/showcase_model.mm File ios/showcase/core/showcase_model.mm (right): https://codereview.chromium.org/2967113003/diff/60001/ios/showcase/core/showcase_model.mm#newcode96 ios/showcase/core/showcase_model.mm:96: showcase::kClassForInstantiationKey : @"TextBadgeViewController", Update this as well. https://codereview.chromium.org/2967113003/diff/60001/ios/showcase/text_badge_view/sc_text_badge_view_controller.h File ...
3 years, 5 months ago (2017-07-07 21:00:10 UTC) #13
helenlyang
Addressed comments. PTAL; thanks! https://codereview.chromium.org/2967113003/diff/60001/ios/showcase/core/showcase_model.mm File ios/showcase/core/showcase_model.mm (right): https://codereview.chromium.org/2967113003/diff/60001/ios/showcase/core/showcase_model.mm#newcode96 ios/showcase/core/showcase_model.mm:96: showcase::kClassForInstantiationKey : @"TextBadgeViewController", On 2017/07/07 ...
3 years, 5 months ago (2017-07-07 23:53:00 UTC) #14
gchatz
lgtm thanks!
3 years, 5 months ago (2017-07-08 00:23:30 UTC) #15
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/2967113003/80001
3 years, 5 months ago (2017-07-10 15:53:14 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:80001) as https://chromium.googlesource.com/chromium/src/+/ac8a93564a2560a5ec54673246c551e04e11ed02
3 years, 5 months ago (2017-07-10 17:13:50 UTC) #21
michaeldo
3 years, 5 months ago (2017-07-10 20:16:28 UTC) #22
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:80001) has been created in
https://codereview.chromium.org/2978533002/ by michaeldo@chromium.org.

The reason for reverting is: This CL breaks ios_showcase_egtests suite. PTAL at
the failure here:
https://build.chromium.org/p/chromium.fyi/builders/EarlGreyiOS/builds/29530

and fix:
- SCToolbarTestCase/testRotationSizeClassChange
-
 SCToolbarTestCase/testVerifyToolbarButtonsLabelAndAction

then re-land..

Powered by Google App Engine
This is Rietveld 408576698