jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/381444 )
Change subject: On this day card ...................................................................... On this day card - On This day card appears on the feed below Picture of the Day. - Card shows a random event on that date and the next event year. - Card has a gradient top and bottom - Horizontal Page Scroll for pages related to the event displayed - Overflow for Hide card works - On Click of the description text and the 'More Events . . ." button, an Activity listing all the events is listed. - Activity shows the day in 'Month dd' format - Activity shows number of events and the year range - All years BC are appended with 'BC' - Todo: Design tweaks: Waiting for Design update - Feature flag activated : PreBetaRelease Bug: T175995 Change-Id: Ib5175e6855e83c01eebd6cde0eddf857cd69617f --- A app/src/androidTest/java/org/wikipedia/feed/onthisday/OnThisDayCardViewTest.java M app/src/main/AndroidManifest.xml M app/src/main/java/org/wikipedia/feed/FeedCoordinator.java M app/src/main/java/org/wikipedia/feed/model/CardType.java A app/src/main/java/org/wikipedia/feed/onthisday/OnThisDay.java A app/src/main/java/org/wikipedia/feed/onthisday/OnThisDayActivity.java A app/src/main/java/org/wikipedia/feed/onthisday/OnThisDayCard.java A app/src/main/java/org/wikipedia/feed/onthisday/OnThisDayCardView.java A app/src/main/java/org/wikipedia/feed/onthisday/OnThisDayClient.java A app/src/main/java/org/wikipedia/feed/onthisday/OnThisDayFragment.java A app/src/main/java/org/wikipedia/feed/onthisday/OnThisDayPagesViewHolder.java M app/src/main/java/org/wikipedia/history/HistoryEntry.java M app/src/main/java/org/wikipedia/util/DateUtil.java A app/src/main/res/drawable/ic_next_otd_event.xml A app/src/main/res/drawable/ic_otd_icon.xml A app/src/main/res/drawable/ic_panorama_fish_eye.xml A app/src/main/res/drawable/ic_radio_button.xml A app/src/main/res/layout/fragment_on_this_day.xml A app/src/main/res/layout/item_on_this_day_pages.xml A app/src/main/res/layout/view_card_on_this_day.xml A app/src/main/res/layout/view_events_layout.xml A app/src/main/res/layout/view_on_this_day_event.xml M app/src/main/res/values-qq/strings.xml M app/src/main/res/values/attrs.xml M app/src/main/res/values/strings.xml M app/src/main/res/values/styles_dark.xml M app/src/main/res/values/styles_light.xml A app/src/test/java/org/wikipedia/feed/onthisday/OnThisDayClientTest.java A app/src/test/res/raw/onthisday_02_06.json 29 files changed, 4,659 insertions(+), 7 deletions(-) Approvals: Dbrant: Looks good to me, approved jenkins-bot: Verified -- To view, visit https://gerrit.wikimedia.org/r/381444 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ib5175e6855e83c01eebd6cde0eddf857cd69617f Gerrit-PatchSet: 21 Gerrit-Project: apps/android/wikipedia Gerrit-Branch: master Gerrit-Owner: Sharvaniharan <[email protected]> Gerrit-Reviewer: Brion VIBBER <[email protected]> Gerrit-Reviewer: Cooltey <[email protected]> Gerrit-Reviewer: Dbrant <[email protected]> Gerrit-Reviewer: Sharvaniharan <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
