Commit Graph

1000 Commits (2343b7534cb32b4225fcde559728f26e91ce8187)

Author SHA1 Message Date
Mugurell 75a2ed8c30 For #25025 - Old imports cleanup.
Importing `R.string` does allow to avoid the `R` when using a String from
Resources but seems like a small gain to break app consistency.
2 years ago
Mugurell 2074131a58 For #25025 - Show sponsored stories on debug only
The design asks for a new row in between the primary and the secondary text so
I went with making "ListItemTabSurface" public allowing for customizing the
content it will show but keeping the same layout and general UX.
2 years ago
Mugurell 06d4384c11 For #25025 - Rename PocketStoriesChange to PocketStoriesClean
PocketStoriesChange was called only once - to clean the shown stories when the
user gets to the homescreen and the Pocket feature is disabled - useful for the
situations in which the user returns after disabling the feature in settings.

Populating the store with recommended stories to show was already happening
based on 'PocketStoriesCategoriesChange' and sponsored stories will be added by
using 'PocketSponsoredStoriesChange' so renaming 'PocketStoriesChange' will
help on reducing any confusion in the future.

Also added documentation for all Pocket related actions from AppStore and
removed the 'UndocumentedPublicClass' detekt suppressions.
2 years ago
Mugurell bd1feeaac9 For #25025 - Download sponsored stories on debug only 2 years ago
Mugurell 1c7e788bae For #25025 - Use the `PocketStory` supertype
This prepares extending support from just `PocketRecommendedStory` to
`PocketSponsoredStory` also.
2 years ago
Mugurell abff68a31b For #25025 - Hardcode showing at max 8 Pocket stories
The default was already 8. This is now being moved closer to the source from
where the stories to be shown are emitted.
With the addition of sponsored stories at fixed positions having to support a
variable number of stories being returned from AppState#getFilteredStories
means increased complexity with no benefit.
2 years ago
sarah541 aea6124851 For #23966 - Migrate MessageCardViewHolder to Compose 2 years ago
Alexandru2909 bea17a4ab8 For #23670 - Update collection on tab removal 2 years ago
Gabriel Luong f25129c8ac For #24991 - Refactor the HomeMenu creation from HomeFragment to HomeMenuBuilder 2 years ago
Gabriel Luong 9a965e420d For #25119 - Add Secondary, Tertiary and Destructive Button composable components 2 years ago
Gabriel Luong 9e8ee28e40 For #25264 - Refactor toShortUrl extension function from TabSessionState to String 2 years ago
Mugurell a93e434f0d For #24316 - Migrate TabInCollectionViewHolder to Compose 2 years ago
sarah541 c09f899da4 For #25176 - Refactor TabTitle and TabSubtitle 2 years ago
dlp 4c223aa540 For #24660 - Overrided contentsSameAs inside TabInCollectionItem class. 2 years ago
Arturo Mejia 073f3ecc30 For #25145: Unify behavior for opening systems setting for updating the default browser preference 2 years ago
Mugurell 1e3319f0e8 For #24333 - Replace the xml based CollectionViewHolder with a composable 2 years ago
Mugurell 2126c7eeb4 For #24333 - Move CollectionViewHolder to home/collections
Doing just a file move in a separate commit will ensure git history of the file
is kept when this will be later updated.
2 years ago
sarah541 7b895abab1 For #24455 - Migrate NoCollectionsMessageViewHolder to Compose 2 years ago
Alexandru2909 89a1e6367f For #24262 - Filter Amazon/eBay sponsored tiles when the respective search engine is set 2 years ago
Gabriel Luong da1c5b9bf7 For #25115 - Remove showWallpapers feature flag 2 years ago
MatthewTighe 2b1606cf34 for #24665: show recent synced tab faster 2 years ago
mcarare ffa1ecd300 For #21292: Remove unused MetricController parameters. 2 years ago
Mugurell 8b56a2ebc7 For #25044 - Remove the broken code for focusing the newly created collection
This functionality seems broken for a long time now.
It's importance and whether to reimplement it is to be re-assessed in
https://github.com/mozilla-mobile/fenix/issues/24389
2 years ago
MatthewTighe 0f952284e6 for #24929: remove locale restriction for remote firefox wallpapers 2 years ago
MatthewTighe ccb3d33e8b for #24665: cache previous auth status and display placeholders accordingly 2 years ago
Alexandru2909 6a7f335107 For #24836 - Remove Event.wrapper for RecentlyVisitedHomepage telemetry 2 years ago
Alexandru2909 45d965c5e8 For #24811 - Remove Event.wrapper for Messaging telemetry 2 years ago
mcarare 3057ae7fd7 For #24841: Remove unused events. 2 years ago
Alexandru2909 3678b124e0 For #24790 - Remove Event.wrapper for home screen related telemetry 2 years ago
Alexandru2909 62b89da057 For #24809 - Remove Event.wrapper for RecentSearches telemetry 2 years ago
Alexandru2909 bdac21e54d For #24786 - Remove Event.wrapper for SearchTerms telemetry 2 years ago
Alexandru2909 1051a98c02 For #24710 - Remove Event.wrapper for RecentBookmarks telemetry 2 years ago
mcarare b8a59b2602 For #24711: Remove wrapper from recent tabs metrics. 2 years ago
Gabriel Luong cf53a84278 For #24747 - Remove unused store property in SessionControlAdapter and SessionControlView 2 years ago
mcarare dfe23e8b77 For #24211: Remove wrapper from search related metrics.
Removes wrapper from search labeled counter and performed search event.
2 years ago
Alexandru2909 e558ec279a For #24701 - Remove Event.wrapper for Pocket related telemetry 2 years ago
Alexandru2909 06fba96dfb For #24709 - Remove Event.wrapper for Wallpapers telemetry 2 years ago
Mugurell 13e1a22a8d For #24596 - Only restore Pocket categories selections once
This fixes a regression from migrating from HomeStore to Appstore but
indirectly by ensuring that previous categories selections are only restored
once, not everytime user selects a new category and that change is persisted.
2 years ago
Alexandru2909 fd021b2819 For #24642 - Remove Event.wrapper for TopSites metrics 2 years ago
MatthewTighe 414a54ed02 for #24549: add telemetry for recent synced tab 2 years ago
Alexandru2909 e571f0bb3a For #24498 - Remove Event.wrapper for History metrics 2 years ago
MatthewTighe dbfd5ffca0 for #24177: sync tabs when home is shown 2 years ago
mcarare 319d3846c2 For #24210: Remove wrapper from whats new tapped event. 2 years ago
mcarare 1d457a8f2f For #24210: Remove wrapper from "default browser" events. 2 years ago
mcarare 3931cd5c1e For #24210: Remove wrapper from "url entered" event. 2 years ago
mcarare 51df82acb1 For #24210: Remove wrapper from "search bar tapped" event. 2 years ago
Alexandru2909 ee7c268302 For #24576 - Record delete collection metric 2 years ago
Alexandru2909 740566992a For #24099 - Remove Event.wrapper for Collections telemetry 2 years ago
sarah541 3a039ca918 For #23971 - Migrate CollectionHeaderViewHolder to Compose
fix ktlint
2 years ago
Alexandru2909 0e5f75bfe2 For #24147 - Remove Event.wrapper for Search widget telemetry 2 years ago