Commit Graph

1010 Commits (84cf2472a82237b931aaa808654d14547e9935d7)

Author SHA1 Message Date
Adam Novak 84cf2472a8 Do all of Iceraven in one commit 2 years ago
Arturo Mejia f61b8e3a3b For #25446: Ensure for every message shown we have recordExposure
(cherry picked from commit 34b31f8b11)
2 years ago
Arturo Mejia e7bac4fcfe Revert "For #24455 - Migrate NoCollectionsMessageViewHolder to Compose"
This reverts commit 7b895aba

(cherry picked from commit 6a33f29a91)
2 years ago
MatthewTighe 07d4a8599d fixes #25386: turn task continuity on by default for nightly 2 years ago
Mugurell 849d922038 For #25352 - Add a new FML feature to gate Pocket sponsored stories 2 years ago
Mugurell 12070cb7b8 For #25281 - Improve stories impressions recording.
This fixes the following two scenarios resulting in improper recordings:
- sponsored stories were recorded as shown as part of the impressions recording
for all the stories (both recommended and sponsored). Separated the two.
- sponsored stories were not recorded as shown if the user doesn't scroll.
This could happen if just toggling categories which would result in a new list
of stories to show. Will recheck after the time to settle if the composable is
shown.
2 years ago
Mugurell 41a1f31a84 For #25281 - Consider the toolbar when reporting stories visibility
The toolbar may appear over the Pocket stories causing our functionality for
reporting when a specific story is visible to misreport.
At the moment hardcoding the toolbar height in the visibility checks seems like
the best solution to ensure reliable data.
2 years ago
Mugurell 0b972660ca For #25281 - Allow the Pocket section to settle before reporting impressions
Currently just a hack that will ensure more reliable data.
This will have to be re-evaluated after the homescreen is migrated to compose.
2 years ago
Mugurell dfa5281b23 For #25281 - Pace and rotate sponsored stories
A new way to be able to reliably record actual impressions of sponsored stories
was needed and based on this data we can ensure we are promoting fresh stories
(with fewer impressions) or the ones with a higher priority.
2 years ago
Arturo Mejia b7c1f8ef6b Revert "For #23966 - Migrate MessageCardViewHolder to Compose"
This reverts commit aea6124851.
2 years ago
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