Commit Graph

6336 Commits

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.
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
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
Mozilla L10n Automation Bot
c5b4faf335 Import l10n. 2022-05-24 00:43:23 +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
Mozilla L10n Automation Bot
83af557f37 Import l10n. 2022-05-22 00:44:54 +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
Mozilla L10n Automation Bot
ba2af02407 Import l10n. 2022-05-20 02:19:22 +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
Mozilla L10n Automation Bot
f2e24d66a1 Import l10n. 2022-05-19 00:46:25 +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
Mozilla L10n Automation Bot
b002de7700 Import l10n. 2022-05-18 00:54:10 +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
Mozilla L10n Automation Bot
5c2207519a Import l10n. 2022-05-17 00:54:05 +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
Mozilla L10n Automation Bot
fc76300325 Import l10n. 2022-05-16 00:58:14 +00:00
Mozilla L10n Automation Bot
a304600836 Import l10n. 2022-05-14 00:55:56 +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
dlp
aec6e25a1c For #24666 Changed trackingProtectionLayout's bottomToTop constraint from clearSiteDataLayout clearSiteDataDivider 2022-05-13 12:48:23 +00:00
Mozilla L10n Automation Bot
727bbaf342 Import l10n. 2022-05-13 00:51:43 +00:00
Mozilla L10n Automation Bot
16f955fc98 Import l10n. 2022-05-12 00:42:10 +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
Mugurell
aeb45c07a5 For #24333 - Complete removing the broken code for focusing the newly created collection
The removal was initially scheduled to happen in the PR for #24333
but landed separately in https://github.com/mozilla-mobile/fenix/pull/25045.
These are two small leftovers.
2022-05-11 16:03:51 +00:00
Mozilla L10n Automation Bot
142cbb2688 Import l10n. 2022-05-11 02:00:20 +00:00
sarah541
7b895abab1 For #24455 - Migrate NoCollectionsMessageViewHolder to Compose 2022-05-10 20:06:38 +00:00