Commit Graph

9115 Commits

Author SHA1 Message Date
Arturo Mejia d2c1893cf9 For #25212: Add tabs prioritization 2022-05-26 20:44:40 +00:00
Mugurell 67d5051264 For #25281 - AC version bump. Address breaking changes. 2022-05-26 18:26:00 +00:00
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.
2022-05-26 18:26:00 +00:00
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.
2022-05-26 18:26:00 +00:00
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.
2022-05-26 18:26:00 +00:00
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.
2022-05-26 18:26:00 +00:00
Roger Yang 2b777c3428 Issue #24299: Do not show history search engine in the search settings 2022-05-26 14:42:58 +00:00
Mozilla L10n Automation Bot 123a7aba3d Import l10n. 2022-05-26 00:39:56 +00:00
Arturo Mejia b7c1f8ef6b Revert "For #23966 - Migrate MessageCardViewHolder to Compose"
This reverts commit aea6124851.
2022-05-25 23:10:28 +00:00
Noah Bond ebd97f5a34 For #25291 - Swap the new TextButton composable into WallpaperSettings 2022-05-25 22:24:46 +00:00
Noah Bond 2165ae501a For #25291 - Create a TextButton composable component 2022-05-25 22:24:46 +00:00
MickeyMoz a8b985af15 Update Android Components version to 102.0.20220525143101. 2022-05-25 15:34:16 -04:00
Roger Yang 3de38984fd Issue #24299: Sort unified search selector menu items based on user settings 2022-05-25 19:17:44 +00:00
mcarare 0127b39fad For #25313: Handle exceptions when getting ClipData.Item. 2022-05-25 18:25:54 +00:00
Mugurell 2343b7534c For #25311 - Set tokens used when communicating with Pocket 2022-05-25 15:53:24 +00:00
Arturo Mejia 98e3b8bf52 For #25374: Skip action validation for control messages 2022-05-25 14:55:28 +00:00
AndiAJ e0822a6e1e Disable failing useAppWhileTabIsCrashedTest UI test 2022-05-25 13:58:23 +00:00
AndiAJ bbdc7fd3ff For #25002 #25184 and #23417 fix testDownloadCompleteNotification testDownloadPrompt and testCloseDownloadPrompt 2022-05-25 12:38:21 +00:00
AndiAJ 0569816cbb For #23481 fix disabled openLinkInAppTest UI test 2022-05-25 08:49:30 +00:00
Mugurell 64a12574b4 For #25025 - Update AC version to address the breaking changes. 2022-05-25 07:28:57 +00:00
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.
2022-05-25 07:28:57 +00:00
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.
2022-05-25 07:28:57 +00:00
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.
2022-05-25 07:28:57 +00:00
Mugurell bd1feeaac9 For #25025 - Download sponsored stories on debug only 2022-05-25 07:28:57 +00:00
Mugurell 1c7e788bae For #25025 - Use the `PocketStory` supertype
This prepares extending support from just `PocketRecommendedStory` to
`PocketSponsoredStory` also.
2022-05-25 07:28:57 +00:00
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.
2022-05-25 07:28:57 +00:00
AndiAJ 9aec04ede7 For #23600 fix flaky saveLoginsInPWATest UI test 2022-05-25 06:14:13 +00:00
sarah541 aea6124851 For #23966 - Migrate MessageCardViewHolder to Compose 2022-05-25 04:14:10 +00:00
Mozilla L10n Automation Bot a3d930b5e2 Import l10n. 2022-05-25 00:46:21 +00:00
mike a 3904cb9340 Closes #25368: duplicate items in history
Change pagination to be based on loadSize of DataSource
2022-05-24 20:11:16 +00:00
mcarare a0a02e5627 For #25360: Selectively update addresses preference only when needed. 2022-05-24 15:44:52 +00:00
MickeyMoz 014d0e5ad2 Update Android Components version to 102.0.20220524015637. 2022-05-24 04:02:30 +00:00
Mozilla L10n Automation Bot c5b4faf335 Import l10n. 2022-05-24 00:43:23 +00:00
MickeyMoz 38ed7315a2 Update Android Components version to 102.0.20220523143729. 2022-05-23 17:09:45 +00:00
AndiAJ 672510f399 Disable failing audioPlaybackSystemNotificationTest UI test 2022-05-23 10:19:21 +00:00
Alexandru2909 73dcc0c6d6 For #23173 - CheckChanged use a single variable instead of two for checked status 2022-05-23 09:36:24 +00:00
Alexandru2909 bea17a4ab8 For #23670 - Update collection on tab removal 2022-05-23 08:30:56 +00:00
mcarare cb4f8ed0c0 For #24968: Add preference for enabling/disabling addresses autofill.
For #24968: Add preference for enabling/disabling addresses autofill.
2022-05-23 07:30:07 +00:00
Mozilla L10n Automation Bot 25075fe4b3 Import l10n. 2022-05-23 00:45:08 +00:00
MickeyMoz 2ace91321f Update Android Components version to 102.0.20220522143114. 2022-05-22 16:36:35 +00:00
Mozilla L10n Automation Bot 83af557f37 Import l10n. 2022-05-22 00:44:54 +00:00
MickeyMoz 33dec129db Update Android Components version to 102.0.20220521143130. 2022-05-21 16:46:36 +00:00
Robert-Aron293 76ea2fa3e4 For #22310 - Change tab holder's checkbox state when pressing "Select All"/"Deselect All" 2022-05-20 21:20:17 +00:00
Roger Yang d07e37deda Close #25170: Fix flaky search fragment store tests 2022-05-20 19:14:39 +00:00
MickeyMoz 71562dd727 Update Android Components version to 102.0.20220520143143. 2022-05-20 13:05:57 -04:00
Roger Yang 5bb9e50e96 Close #25288: Disable autocomplete for unified history search 2022-05-20 16:51:27 +00:00
JLRoberts 479e44b0a1 For #23700 - HistoryFragment: Exit edit mode when multi-selection is opened in tabs or shared.
This mirrors behavior currently in Bookmarks library with the same actions.
2022-05-20 15:51:07 +00:00
Arturo Mejia 4899241f3b No issue:Update Sentry dependency version to 5.7.3. 2022-05-20 12:57:41 +00:00
Gabriel Luong f25129c8ac For #24991 - Refactor the HomeMenu creation from HomeFragment to HomeMenuBuilder 2022-05-20 07:26:56 +00:00
Mozilla L10n Automation Bot ba2af02407 Import l10n. 2022-05-20 02:19:22 +00:00