Commit Graph

4646 Commits

Author SHA1 Message Date
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
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
sarah541 aea6124851 For #23966 - Migrate MessageCardViewHolder to Compose 2022-05-25 04:14:10 +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
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
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 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
Gabriel Luong f25129c8ac For #24991 - Refactor the HomeMenu creation from HomeFragment to HomeMenuBuilder 2022-05-20 07:26:56 +00:00
MatthewTighe 676d7090f0 Fixes #24917: add country dropdown to address editor 2022-05-19 23:52:05 +00:00
Gabriel Luong 9a965e420d For #25119 - Add Secondary, Tertiary and Destructive Button composable components 2022-05-19 22:19:37 +00:00
James Hugman 165ce0151e Filter messaging experiments from the Studies screen 2022-05-19 15:37:11 +00:00
Gabriel Luong 0001f00f40 For #24936 - Replace ListItemIcon with IconButton and Icon 2022-05-19 02:09:48 +00:00
Roger Yang 7f29461c75 Issue #24299: Add history to the search engine menu 2022-05-18 19:48:26 +00:00
Gabriel Luong 9e8ee28e40 For #25264 - Refactor toShortUrl extension function from TabSessionState to String 2022-05-18 17:29:13 +00:00
Mugurell a93e434f0d For #24316 - Migrate TabInCollectionViewHolder to Compose 2022-05-18 15:24:52 +00:00
jhugman 30fa80151d
Change FxNimbus/Nimbus startup sequence (#25266)
* Change FxNimbus initialization sequence

Add cache invalidation

* Change ordering of message restoration and Nimbus initialization

* Address reviewer comments
2022-05-18 13:23:26 +00:00
Arturo Mejia 9a27030f87 For #25209: Avoid trying to download wallpapers without a server URL. 2022-05-17 20:52:14 +00:00
Arturo Mejia d16d61c055 No issue: Add extension function to TabSessionState for shortening urls safely. 2022-05-17 15:54:39 +00:00
sarah541 c09f899da4 For #25176 - Refactor TabTitle and TabSubtitle 2022-05-17 14:58:36 +00:00
dlp 4c223aa540 For #24660 - Overrided contentsSameAs inside TabInCollectionItem class. 2022-05-17 07:02:01 +00:00
Arturo Mejia 073f3ecc30 For #25145: Unify behavior for opening systems setting for updating the default browser preference 2022-05-16 14:46:59 +00:00
Arturo Mejia 1384414327 Revert "Change FxNimbus initialization sequence (#25089)"
This reverts commit 51ba7ab463.
2022-05-13 19:42:08 +00:00
jhugman 51ba7ab463
Change FxNimbus initialization sequence (#25089)
* Change FxNimbus initialization sequence

* Add cache invalidation
2022-05-13 18:23:01 +00:00
Gabriel Luong 63ca6791c1 For #25179 - Display a save or update credit card prompt 2022-05-11 23:08:33 +00:00
Mugurell 1e3319f0e8 For #24333 - Replace the xml based CollectionViewHolder with a composable 2022-05-11 16:03:51 +00:00
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.
2022-05-11 16:03:51 +00:00
sarah541 7b895abab1 For #24455 - Migrate NoCollectionsMessageViewHolder to Compose 2022-05-10 20:06:38 +00:00
MatthewTighe 483f5a9f12 for #24931: create address label and description based on available data 2022-05-10 18:14:17 +00:00
mcarare 59c5033529 For #24966: Navigate back to previous screen when the last address is deleted. 2022-05-10 06:51:02 +00:00
mcarare a4a78717af For #24919: Add option menu in the address editor. 2022-05-10 06:51:02 +00:00
mcarare 2192d55da3 For #24854: Add ability to delete an existing address. 2022-05-10 06:51:02 +00:00
mcarare 4369c0b920 For #24855: Allow updating info for an existing address. 2022-05-10 06:51:02 +00:00
bendk e5b0069791
Application services 93.0.1 (#24904)
* Fixup breaking changes from AppServices upgrade to 93.0.0

* android-components RemoteTabsStorage now requires a Context param

* Update Android Components version to 102.0.20220509214046

Co-authored-by: James Hugman <james@hugman.tv>
Co-authored-by: Mark Hammond <mhammond@skippinet.com.au>
Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-05-10 05:11:00 +00:00
Roger Yang 72b9e7e174 Issue #24738: hide the QR code button when switching to none default search engine 2022-05-09 22:23:58 +00:00
Gabriel Luong d6996b56a0 For #25113 - Remove showClearSiteData feature flag 2022-05-09 19:24:55 +00:00
Arturo Mejia b22a34db2e For #25110: Enable the messaging framework feature 2022-05-05 20:47:28 -04:00
Noah Bond 3e9dbaca35 For #25135 - Replace Button in SyncedTabs with PrimaryButton 2022-05-05 20:45:20 +00:00
Alexandru2909 89a1e6367f For #24262 - Filter Amazon/eBay sponsored tiles when the respective search engine is set 2022-05-05 14:25:53 +00:00
sarah541 2c50a229cc For #25015 - Add a compose version of PrimaryButton
bleh
2022-05-05 00:46:59 +00:00
Gabriel Luong 251acf8db4 For #25117 - Move HomeSectionHeader into its proper package 2022-05-05 00:09:12 +00:00