Commit Graph

1846 Commits (0bc5934e083e2e409ed56e5c53dd29fc3740f8c3)

Author SHA1 Message Date
Mugurell 244dc7e2af [fenix] For https://github.com/mozilla-mobile/fenix/issues/25816: Support changing autocomplete providers.
Everywhere the toolbar which needs to show autocomplete suggestions is used we
show a `ToolbarView`. So instead of having this configurable in 2 or more
places as it happened before the autocomplete functionality is configured only
from the `ToolbarView` class.
It will contain a `ToolbarAutocompleteFeature` that will be immediately updated
with the appropriate autocomplete providers or remove all such providers to
immediately update the current autocomplete or remove it entirely depending on
the new search engine selected.
1 year ago
Mugurell 12c8d94eeb [fenix] For https://github.com/mozilla-mobile/fenix/issues/25816: Have the previous autocomplete functionality work with the new API
The new API allows us to move from having just two autocomplete providers:
a shipped list of domains and history result to any autocomplete providers.
1 year ago
Mugurell 556c741d4f [fenix] For https://github.com/mozilla-mobile/fenix/issues/25816: Filter bookmarks and tabs depending on the selected search engine
Depending on the selected search engine:
- if it is a topic specific one show bookmarks and tabs from just the it's host
domain
- if it is a general one then don't show bookmarks and tabs at all
- if it is the default search engine then show all bookmarks and tabs.
1 year ago
Mugurell d9074aaa2c [fenix] For https://github.com/mozilla-mobile/fenix/issues/25816: Ensure the "show search suggestions" user option is followed
Previously the check for the "Search -> Show search suggestions" user setting
was only used in the default SearchFragmentState but not again if users change
the current search engine as part of the unified search feature.
This comes to ensure that that check is always made when needing to configure
new search engine results.
1 year ago
Mugurell 7c033fc8cd [fenix] For https://github.com/mozilla-mobile/fenix/issues/25816: Show past search terms from the current search engine
For all search engines minus the application added ones we will also show past
search terms used for previous searches with the currently selected search
engine.
1 year ago
Mugurell 4c76307b08 [fenix] For https://github.com/mozilla-mobile/fenix/issues/25816: Filter history suggestions depending on the selected search engine
If the current search engine is not one added by the application and not the
default one then:
- if it is a topic specific one show history from just the it's host domain
- if it is a general one then don't show history at all
- if it is the default search engine then show all history.
1 year ago
kycn d7dd3a587a [fenix] Bug 1812188 - Renew/remove telemetry probes expiring in 112. 1 year ago
mcarare 6fedd6780d [fenix] Bug 1806798 - Add toString() conversion to text from file name in tests. 1 year ago
sarah541 f346ccc74f [fenix] For https://github.com/mozilla-mobile/fenix/issues/28510 - Keep experimental messages in the correct order 1 year ago
Roger Yang 6261e25a89 [fenix] Bug 1812178 - Use debounce in tabs, history and bookmarks syncs 1 year ago
Mugurell e758aa6c8b [fenix] Bug 1812518 - Show the 3rd party download dialog as an Android View
This uses the same direction as the before patch - inflating a new View that
can then serve as an anchor for the Snackbar.
Here we could use directly the AC layout as it needed no special customization.
1 year ago
Mugurell 961eba72f3 [fenix] Bug 1812518 - Show the download dialog as an Android View
Tried to mimic the UX of a modal dialog while using Android Views.
This meant including a scrim that would consume all touches and theming the
navigation bar and status bar.
Avoiding a dialog and a separate window will allow the snackbar to see the
new "dialog" as a sibling in a CoordinatorLayout parent and so be able to
position itself based on the new "dialog".
This patch also added "start_download_dialog_layout" from A-C as it leads to
simpler and less code needed to style the layout - colors / shapes with
everything happening in XML versus calculating the values then setting them
programatically.
1 year ago
Mugurell 693161d0ea [fenix] Bug 1812518 - Control the snackbar positioning from Fenix
Previously Android-Components - BrowserToolbarBehavior would be responsible
for positioning the snackbar above the toolbar.
With that responsibility removed we can handle in Fenix positioning the
snackbar depending on the toolbar and many more cases - like positioning it
depending on the download dialogs.
1 year ago
Noah Bond 6ed5a569c8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/28266 - Merge `BrowserTrayInteractor` into `TabsTrayInteractor` 1 year ago
Roger Yang fa7e89df4f [fenix] Close https://github.com/mozilla-mobile/fenix/issues/19919: Migrate away from startActivityForResult 1 year ago
Tarik Eshaq 360aa313e2 [fenix] Bug 1810818: Configures order of panels in new user onboarding 1 year ago
Arturo Mejia a45f2d4ea0 [fenix] Bug 1811504 - Update strings for cookie banner handling 1 year ago
t-p-white 47c277606b [fenix] Bug 1809444: Add Worker to generate Notifications using Nimbus messaging (https://github.com/mozilla-mobile/fenix/pull/28605)
* For 1809444: Added a MessageNotificationWorker to poll Nimbus for new messages and create a notification configured using the highest priority new message (if available).

* For 1809444: Changes from PR review

Co-authored-by: t-p-white <t-p-white>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 year ago
mike a 26563fa3fa [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/25486: fix sign in button 1 year ago
Cathy Lu d531054151 [fenix] Bug28280 - Add telemetry for form data failures 1 year ago
James Hugman dcd66ffd31 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/28589 - Restrict coroutine calls between messagemiddleware and messagingcontroller 1 year ago
James Hugman 18141bffa3 [fenix] Address reviewer comments 1 year ago
James Hugman cf84e3c869 [fenix] Refactor messaging middleware Part III 1 year ago
James Hugman a666f4313b [fenix] Move tests from DefaultMessageControllerTest to NimbusMessageControllerTest 1 year ago
James Hugman ee763d6fac [fenix] Move logic into NimbusMessagingController to correspond with NimbusMessagingStorage 1 year ago
James Hugman b779cafb75 [fenix] Refactor messaging middleware Part II 1 year ago
James Hugman d47aa5753e [fenix] EXP-2994 Refactor messaging middleware Part I 1 year ago
Alexandru2909 cf80699fe4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27338 - Update summary text for preferences from settings screen 1 year ago
DreVla f6e8697df3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27975: Ignore current tab when forcing inactive
Since the crash was caused by having the current tab set as inactive
while the user was still able to see it, now we ignore the current
tab if it is selected to be set as inactive.
1 year ago
jhugman 5ac1cd9b48 [fenix] EXP 2991: Add surface to messaging fml (https://github.com/mozilla-mobile/fenix/pull/28423)
* Move messaging fml to a separate file

* Add surface property to message data

* Get messages for just a single surface

* Add surface to messaging middleware

* ktlint

* Add tests for filtering by surface

* Add homescreen to default-browser message

* Move surface param to MessageActions instead of MessagingMiddleware

* Added computed property for surface to message

* ktlint

* Address reviewer comment

* Fixup tests

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 year ago
t-p-white f22bdeef5d [fenix] Bug 1809660: Fix for unwanted Homepage preferences animation when Pocket feature is enabled/disabled (https://github.com/mozilla-mobile/fenix/pull/28501)
* Bug 1809660: Fix for unwanted Homepage preferences animation

* Bug 1809660: Removed unused isFirefoxDefaultBrowser() function

* Bug 1809660: Updated Android tests for HomeSettingsFragment to accommodate changes made.

Co-authored-by: t-p-white <t-p-white>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 year ago
rahulsainani 2c8869f666 [fenix] Bug 1810114 - Part 1: Add isNotificationChannelEnabled helper function and tests for NotificationManagerCompat.kt 1 year ago
Noah Bond ae6a9fb6b8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/28516 - Update `InactiveTabsController` function names 1 year ago
Arturo Mejia c992f258ec [fenix] Bug 1809507 - Update cookie banner to reject_all setting 1 year ago
Arturo Mejia d7eba470d3 [fenix] Bug 1809507 - Use base domain on the cookie banner handling panel. 1 year ago
Noah Bond 721316f905 [fenix] For https://github.com/mozilla-mobile/fenix/issues/28264 - Refactor synced tabs handling out of `NavigationInteractor` 1 year ago
Noah Bond 97af2f640e [fenix] For https://github.com/mozilla-mobile/fenix/issues/28263 - Rename inactive tabs interactor functions 1 year ago
t-p-white b2bfae66da [fenix] For https://github.com/mozilla-mobile/fenix/issues/25810 - Unified search should give hint to user that there are more menu items available by scrolling (https://github.com/mozilla-mobile/fenix/pull/27895)
* For https://github.com/mozilla-mobile/fenix/issues/25810 - Unified search should give hint to user that there are more menu items available by scrolling

* For https://github.com/mozilla-mobile/fenix/issues/25810: Updated AC version

Co-authored-by: t-p-white <t-p-white>
1 year ago
MatthewTighe e84f0ee969 [fenix] For https://github.com/mozilla-mobile/fenix/issues/28428: update growth data with new events 2 years ago
Arturo Mejia 31e1a8f34d [fenix] Bug 1797593 - Add re-engagement dialog for cookie banners. 2 years ago
Noah Bond da02a54f84 [fenix] For https://github.com/mozilla-mobile/fenix/issues/28262 - Refactor InactiveTabsAutoCloseDialogInteractor into InactiveTabsInteractor 2 years ago
Noah Bond 5a507fbb92 [fenix] For https://github.com/mozilla-mobile/fenix/issues/28261 - Rename solo `xInteractor` parameters in the Tabs Tray to `interactor` 2 years ago
Alexandru2909 03493f4eaf [fenix] Bug 1807727 - Dismiss SearchDialogFragment on editing cancelled 2 years ago
mcarare e7f5d43524 [fenix] Switch to AC implementation for checking device manufacturer. 2 years ago
Alexandru2909 bc8c302026 [fenix] For https://github.com/mozilla-mobile/fenix/issues/25812 - Set the cursor at the end for search terms when switching to toolbar editMode. 2 years ago
Jeff Boek 895858acf3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/3722: Invoke search on long press home button
Co-authored-by: s-ankur <s.ankursonawane@gmail.com>
2 years ago
Mugurell 14875c6129 [fenix] For https://github.com/mozilla-mobile/fenix/issues/28273 - Configure search with the selected search engine before user searching 2 years ago
Alexandru2909 940bf3f353 [fenix] For https://github.com/mozilla-mobile/fenix/issues/28155 - Show search terms in address bar for both edit and display modes 2 years ago
DreVla 7a421d6c05 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27697 - Load icon for unified search engine immediately.
The engine icon was set after the screen was visible leading to a delay.
With this solution, the icon will be set before the screen is visible
eliminating any visible artefacts.
2 years ago
DreVla 6794095b5f [fenix] For https://github.com/mozilla-mobile/fenix/issues/28013 - Display correct hint for topic specific search engine
Since the search engines are split into two categories, general and
topic specific, the hint for each category is different.
2 years ago
Abdul Basit 3caffd30f4 [fenix] Closes mozilla-mobilehttps://github.com/mozilla-mobile/fenix/issues/26733 Language search doesn't reset to full list view anymore 2 years ago
Arturo Mejia d36b1b48be [fenix] Bug 1797577 - Clear site data when turning off cookie banner handling. 2 years ago
Alexandru Putanu d05393714a [fenix] For https://github.com/mozilla-mobile/fenix/issues/26957 - Exit search dialog when interacting with home fragment (https://github.com/mozilla-mobile/fenix/pull/27262)
* Revert "For https://github.com/mozilla-mobile/fenix/issues/26790 - Dismiss search dialog when opening recent bookmark dropdown menu"

This reverts commit 5caee27b5530517d88e8a3212a3318f1ed75fba7.

* Revert "For https://github.com/mozilla-mobile/fenix/issues/26790 - Dismiss search dialog when opening recent visit dropdown menu"

This reverts commit b2af04c9

* Revert "For https://github.com/mozilla-mobile/fenix/issues/26790 - Dismiss search dialog when opening recent tab dropdown menu"

This reverts commit bfdf6d202133e31930c1eeb24ff60b7035479653.

* Revert "For https://github.com/mozilla-mobile/fenix/issues/26690 - Dismiss search dialog when opening recent synced tab dropdown menu"

This reverts commit 86d44a46122eafb8bfb7df9cb2f182337cc47aa4.

* For https://github.com/mozilla-mobile/fenix/issues/26957 - Remove code to dismiss search dialog when interacting with homescreen top sites

* For https://github.com/mozilla-mobile/fenix/issues/26957 - Remove code to dismiss search dialog when interacting with homescreen collection

* For https://github.com/mozilla-mobile/fenix/issues/26957 - Remove code to dismiss search dialog when interacting with homescreen recent visits

* For https://github.com/mozilla-mobile/fenix/issues/26957 - Remove code to dismiss search dialog when interacting with homescreen recent tabs

* For https://github.com/mozilla-mobile/fenix/issues/26957 - Remove code to dismiss search dialog when interacting with homescreen recent bookmarks

* For https://github.com/mozilla-mobile/fenix/issues/26957 - Remove code to dismiss search dialog when interacting with pocket stories

* For https://github.com/mozilla-mobile/fenix/issues/26957 - Dismiss search dialog when interacting with home fragment

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2 years ago
Arturo Mejia 4280864031 [fenix] No issue: Update Cookie banner handling strings 2 years ago
Arturo Mejia 9be14b069c [fenix] Bug 1797577 - Add cookie banner handling panel to the toolbar. 2 years ago
Zac McKenney aed86b9d30 [fenix] Bug 1804107 - Fix for BaseBrowserFragment toolbar getter null crash and invalidating actions when modifying toolbar 2 years ago
Roger Yang 067b73eeca [fenix] Close https://github.com/mozilla-mobile/fenix/issues/27949: Add Nimbus exposure event for re-engagement notification 2 years ago
Alexandru2909 6f8dbbcc3c [fenix] For https://github.com/mozilla-mobile/fenix/issues/22770 - Use String.toShortUrl from A-C 2 years ago
DreVla 910948fac0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27753 - Update search engines immediately after changing language 2 years ago
Zac McKenney a9631f62ab [fenix] For https://github.com/mozilla-mobile/fenix/issues/27540: Add screen size configuration change handling 2 years ago
Charlie Humphreys 826bf1341c [fenix] update nimbus event for sync sign in
https://dictionary.telemetry.mozilla.org/apps/fenix/metrics/sync_auth_sign_in
2 years ago
Charlie Humphreys ff740dac17 [fenix] fix tests and linting 2 years ago
Roger Yang e47e85b2b6 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/27949: Add engagement notification for inactive users 2 years ago
MatthewTighe 034172beeb [fenix] For https://github.com/mozilla-mobile/fenix/issues/27950: add first week days of use growth data 2 years ago
Jocelyne 2eb5f72a01 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/27288: Remove glean test rule and Android test runner from WallpaperUseCasesTest 2 years ago
James Hugman b05fb742f2 [fenix] Fixes: https://github.com/mozilla-mobile/fenix/issues/26320 Reorganize Nimbus Startup 2 years ago
DreVla b5f9134e62 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27801 - Update header text for the search selector menu 2 years ago
mcarare eef4252b74 [fenix] For https://github.com/mozilla-mobile/fenix/issues/25808: Fix failing 'process make_default_browser deep link for API 23 and below' test. 2 years ago
mcarare 0b6c41567f [fenix] For https://github.com/mozilla-mobile/fenix/issues/25808: Suppress deprecations in tests. 2 years ago
Arturo Mejia a14dd075ef [fenix] Improve site permissions 2 years ago
kl3jvi 0910634fa0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27575: Add String.toHexColor extension 2 years ago
mike a 3072db7d92 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/25809: tapping on search engine triggers engine selection 2 years ago
Mugurell cdc95724b5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27549 - Collect shim data about the Pocket sponsored stories.
With the new telemetry will immediately report when a certain Pocket sponsored
story is shown (visible more than 50%) or clicked by the user.
The reasons for the new ping help easily identify the probe being sent and the
type of shim data.
2 years ago
MatthewTighe 5cb6204e0c [fenix] For https://github.com/mozilla-mobile/fenix/issues/27782: add first URI load growth data 2 years ago
MatthewTighe 7c3c29ee7f [fenix] For 27768: add FirstAppOpenForDay growth data 2 years ago
MatthewTighe 088055743c [fenix] For https://github.com/mozilla-mobile/fenix/issues/27698: add set as default growth data 2 years ago
Gabriel Luong 1ec4cf8dad [fenix] For https://github.com/mozilla-mobile/fenix/issues/27667 - Remove import-ordering from the list of disabled ktlint rules 2 years ago
t-p-white a8e3726dce [fenix] For https://github.com/mozilla-mobile/fenix/issues/27472 - Added telemetry data points for the Google Play Store review prompts 2 years ago
Alexandru2909 e8ea437ec0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/25814 - Hide "Show search engines" toggle from search settings when unified search is enabled 2 years ago
DreVla 4647e47995 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27635 - New telemetry for Save to PDF failures 2 years ago
Roger Yang fdaae59999 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/27023: Add capability to override telemetry URL 2 years ago
Noah Bond 9f534dcc6c [fenix] For https://github.com/mozilla-mobile/fenix/issues/27331 - Add migration for Turning Red wallpaper card colors 2 years ago
Alexandru2909 82701fd0f0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26911 - Allow users to enable re-supported Fennec extensions 2 years ago
Alexandru2909 ae6bdc265d [fenix] For https://github.com/mozilla-mobile/fenix/issues/25811 - Add header to unified search engine menu 2 years ago
Roger Yang d8776a4c8e [fenix] Close https://github.com/mozilla-mobile/fenix/issues/24613: Remove history improvement feature flag 2 years ago
Alexander Gramiak d195ee2f6a [fenix] Add and update tests for login address view holder 2 years ago
t-p-white b31d24c2fc [fenix] For https://github.com/mozilla-mobile/fenix/issues/27455 - Rename all reference names to `AppStore` as appStore 2 years ago
Noah Bond 9640057475 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26520 - Color homepage cards via wallpaper card colors 2 years ago
Roger Yang c61875b081 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11404 - Add 'Open all' options in bookmarks
* Add "Open all in new tabs" options in bookmarks
* Add "Open all in private tabs" options in bookmarks
* Add metrics tracking if the usage of "Open all in..." in bookmarks

Co-authored-by: Pg <pg.developper.fr@gmail.com>
2 years ago
Alexandru2909 e473136c8b [fenix] For https://github.com/mozilla-mobile/fenix/issues/27135 - Correctly report top sites for a11y services 2 years ago
Meiirbek Baimuratov 8d822f9ab1 [fenix] For mozilla-mobilehttps://github.com/mozilla-mobile/fenix/issues/27282: delete WallpaperManager 2 years ago
Alexandru2909 6dc49a06fa [fenix] For https://github.com/mozilla-mobile/fenix/issues/27405 - Clean up references to "Sing in to Sync" phrase 2 years ago
Mugurell 15cfa48a52 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27381 - Unregister FXA observer to prevent memory leaks 2 years ago
Noah Bond 3733fcb703 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27330 - Cache selected wallpaper card colors 2 years ago
mcarare 6efed5007d [fenix] For https://github.com/mozilla-mobile/fenix/issues/25980: Use new backQueue instead of removed backStack. 2 years ago
mcarare 5677dced0c [fenix] For https://github.com/mozilla-mobile/fenix/issues/25980: Solve overload resolution ambiguity. 2 years ago
mcarare a935dda783 [fenix] For https://github.com/mozilla-mobile/fenix/issues/25980: Replace deprecated popUpTo var. 2 years ago
mcarare 7b3a6febf7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/25980: Use new extension function to get fragment's NavController. 2 years ago
Noah Bond f53d77e071 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27095 - Download light/dark wallpaper card colors 2 years ago
Mugurell ade77707eb [fenix] For https://github.com/mozilla-mobile/fenix/issues/27016 - Ensure smooth search UX after the MR onboarding is closed
If the app is opened from the search widget and the MR onboarding is shown then
the backstack will have the following structure:
- root, homeFragment, searchDialogFragment, onboardingFragment
as opposed to otherwise
- root, homeFragment, searchDialogFragment.

This patch allows to avoid the MR onboarding fragment causing the
SearchDialogFragment to not know that below it is the HomeFragment and
consequently not applying transparency or propagate user touches to the parent
Activity.
2 years ago
kycn 8bb0b07e4d [fenix] Close https://github.com/mozilla-mobile/fenix/issues/26948: Enable custom extension collections in Beta.
Similar to how Nightly functions, custom extension collections are enabled to be used in Firefox Beta as well.
2 years ago
Roger Yang 31bd795d2f [fenix] Close https://github.com/mozilla-mobile/fenix/issues/27147: Add telemetry for bookmark search 2 years ago
Roger Yang c5efabc51e [fenix] Close https://github.com/mozilla-mobile/fenix/issues/24498: Add test for history search telemetry 2 years ago
Arturo Mejia 4fdfb13d88 [fenix] For https://github.com/mozilla-mobile/fenix/issues/3709: Add save to PDF UI. 2 years ago
MatthewTighe 74df63148a [fenix] For https://github.com/mozilla-mobile/fenix/issues/27127: do not display wallpaper onboarding in private browsing mode 2 years ago
Alexandru2909 3960af62d7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26424 - Handle special legacy wallpaper cases 2 years ago
MatthewTighe 8bacd26116 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27055: handle legacy wallpaper naming case 2 years ago
Gabriel Luong 1c6da00247 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27026 - Use the wallpaper adapted text color for the Collections placeholder 2 years ago
Roger Yang d2f30aebe8 [fenix] Revert "For https://github.com/mozilla-mobile/fenix/issues/11404 - Create open all function"
This reverts commit ea926e80173a310687f81df757c8b011aca84c5e.
2 years ago
Roger Yang b78bfb94cb [fenix] Revert "For https://github.com/mozilla-mobile/fenix/issues/11404 - Add 'Open all in private tabs' option as requested."
This reverts commit 83ed1abdc0846e726e2fcb46d0fcb7539f1ff9c3.
2 years ago
Roger Yang 680be9cf6d [fenix] Revert "For https://github.com/mozilla-mobile/fenix/issues/11404 - Create alert message when a lot of tabs are to be opened."
This reverts commit 8517fea003842f6216e8b02a92abc61837384ca0.
2 years ago
Mugurell 4070064fa2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26644 - Apply the wallpaper provided text color to the Fenix logo
And to the private mode switcher.
2 years ago
MatthewTighe 8980e02496 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27055: check whether applied wallpaper name is blank 2 years ago
MatthewTighe 58511263aa [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/26997: convert v1 wallpapers into collection group 2 years ago
Pg 3b412f7dc8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11404 - Create alert message when a lot of tabs are to be opened.
Current threshold is 15.
2 years ago
Pg ef15f5154c [fenix] For https://github.com/mozilla-mobile/fenix/issues/11404 - Add 'Open all in private tabs' option as requested.
https://github.com/mozilla-mobile/fenix/pull/21212#discussion_r739172674

- Add option is tree dot menu
- Edit folder opening to be aware of browsing mode
- Add metrics
- Add unit tests for 'Open all in private tabs'
- Add Android tests for open all in private.
2 years ago
Pg 871604943d [fenix] For https://github.com/mozilla-mobile/fenix/issues/11404 - Create open all function
- Create element to be displayed

- Update the interface and bind in the view holder
Set the filter to limit this action to FOLDER.

- Create core function
Main logic is done on the controller (has it should be done). The whole
process is done in one coroutine to be non-blocking as many
(sub)folders & links can be present. If folder is empty, a toast is
displayed. Else iterate on items. When item is:
- a FOLDER -> restart process (without toast) on the folder
- a ITEM -> open it
- a SEPARATOR -> do nothing
Once finished, show the tabs tray.

Toast message is defined in fragment to have access to context.

- Create androidTest for openAllInTabs
- Create tests for handleBookmarkFolderOpening
- Display 'open all' options only if folder has at least on child:
A coroutine and suspended functions have to be used, since `getTree`
is async.
2 years ago
mike a dd7c2f7eec [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/26995: add sorting of wallpapers on wallpapers onboarding tool 2 years ago
mike a 954ed79fa1 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/26971: fix wallpaper onboarding display condition 2 years ago
Mugurell 342c9551e4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26424 - Add contrasting text color for migrated Turning Red Wallpapers 2 years ago
Alexandru2909 bfddfa7177 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26424 - Create wallpaper file migration helper 2 years ago
mike a 27d80e6de0 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/26215: add telemetry events for wallpaper onboarding dialog 2 years ago
sarah541 3b36328a09 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26908 - Update wallpapers settings page design 2 years ago
Jan-Erik Rediger a042569654 [fenix] Fix naming of generated exception 2 years ago
Alexandru2909 5202efa275 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26690 - Dismiss search dialog when opening recent synced tab dropdown menu 2 years ago
Alexandru2909 632a03ff12 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26790 - Dismiss search dialog when opening recent bookmark dropdown menu 2 years ago
Alexandru2909 49d9032df2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26790 - Dismiss search dialog when opening recent visit dropdown menu 2 years ago
Alexandru2909 3d949c808f [fenix] For https://github.com/mozilla-mobile/fenix/issues/26790 - Dismiss search dialog when opening recent tab dropdown menu
For https://github.com/mozilla-mobile/fenix/issues/26790 -  recent tab
2 years ago
MatthewTighe 03f7ac5328 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26511: apply wallpapers immediately and observe updates 2 years ago
mike a af79653039 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/26212: Download wallpapers when a thumbnail is clicked 2 years ago
Mugurell 0168388546 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26910: Enable TCP for all modes
Unify the TCP feature with the TCP setting allowing both to be controlled
through the same Nimbus experiment.
Allow changing the default cookie policy to TCP based on the Nimbus experiment.
2 years ago
Christian Sadilek 6c2ce5661e [fenix] Revert "For https://github.com/mozilla-mobile/fenix/issues/26511: Parallelize work for setting the wallpaper"
This reverts commit e7edeaababfb2828a2c6b200911421f4967a53ac.
2 years ago
Christian Sadilek 028d7e9136 [fenix] Revert "For https://github.com/mozilla-mobile/fenix/issues/26511: Avoid waiting to set no wallpaper"
This reverts commit 5010de1aa7b97c54d53d04744090a1d3f339d508.
2 years ago
mcarare 932823c871 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26844: Fix ktlint issues and remove them from baseline. 2 years ago
Mugurell f930d3e3cc [fenix] For https://github.com/mozilla-mobile/fenix/issues/26511: Avoid waiting to set no wallpaper
This should squeeze the most performance for users who haven't set a wallpaper.
2 years ago
Mugurell d6330b6dac [fenix] For https://github.com/mozilla-mobile/fenix/issues/26511: Parallelize work for setting the wallpaper
Split loading the bitmap from storage and actually setting it in two operations
with one that can run in parallel with onCreateView for HomeFragment and one
that can be used serially on the main thread to actually set the wallpaper.

This seems like the best compromise to ensure that everytime the homescreen is
shown it will have the wallpaper set but does affect the performance - there is
a delay in showing HomeFragment to account for waiting for the wallpaper to be
set.
In testing the new delay seems close to the one from the initial wallpapers
implementation. See more in https://github.com/mozilla-mobile/fenix/pull/26794.
2 years ago
Arturo Mejia a31c5edce0 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/26858: Remove unused nimbus engine-settings tabs-prioritization-enabled feature. 2 years ago
Arturo Mejia 6db2c727ec [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/26858: Remove unused nimbus engine-settings total-cookie-protection-enabled feature. 2 years ago
mcarare e96a2995ad [fenix] For https://github.com/mozilla-mobile/fenix/issues/26844: Rename CFRPopupFullscreenLayout class to conform to filename rule. 2 years ago
sarah541 46536b7264 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26731 - First run onboarding updates 2 years ago
mcarare 2bc319e63f [fenix] For https://github.com/mozilla-mobile/fenix/pull/12725: Replace removed static "set", "get" methods of ViewTreeSavedStateRegistryOwner.
ViewTreeSavedStateRegistryOwner is retrieved/set with new extension methods.
2 years ago
sarah541 6e42dd5236 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26759 - Crash fix for UnsupportedOperationException 2 years ago
Gabriel Luong 6cfe8c9008 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26739 - Display MR onboarding dialog to existing users as soon as the app is opened 2 years ago
Mugurell 263149bab8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26723 - Fix WallpapersObserver leaking a view from HomeFragment
The observer initialized with a fragment View would outlive the fragment and in
that allow for leaking the entire fragment layout.
2 years ago
Mugurell 4662dbd8ab [fenix] For https://github.com/mozilla-mobile/fenix/issues/26723 - Ensure wallpapers are set on the main thread
Using Dispatchers.IO allowed the observer to react faster to wallpaper state
updates but caused issues with updating the wallpaper in fragment layout.

Using Dispatchers.Main.immediate gives us a bit slower reaction time but still
faster than Dispatchers.Main and allows us to still execute before the fragment
is visible.
2 years ago
Gabriel Luong 87469071cd [fenix] For https://github.com/mozilla-mobile/fenix/issues/26717 - Only show the MR onboarding dialog for existing users 2 years ago
MatthewTighe e70f6d19af [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/26211: Download wallpapers when thumbnails clicked 2 years ago
MatthewTighe 3dbb42988f [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/26214: Download wallpaper thumbnails at app startup 2 years ago
Alexandru2909 69688b8b9c [fenix] For https://github.com/mozilla-mobile/fenix/issues/26706 - Add sponsored urls filter in BlocklistHandler 2 years ago
Alexandru2909 ed16051b4f [fenix] For https://github.com/mozilla-mobile/fenix/issues/26706 - Change TopSite.containsQueryParameters as Uri extension function 2 years ago
Jonathan Almeida c909aaea13 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/25919: Move UpdateFirstFrameDrawn to RecyclerView.onLayoutCompleted
As part of a preventitive measure for home page regression loading, we
fixed the UpdateFirstFrameDrawn call to happen after the first layout in
the main RecyclerView is completed. In addition, we also make pocket
aware of this flag so that it renders itself after the first layout.

This helps prioritize current & future features that are visible first
to render before those that are off screen.

Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
2 years ago
Mugurell 085a3e4af1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26555 - Observe and update the wallpaper before HomeScreen is visible.
By using Store.observeManually in a standalone coroutine we can observe the
store and update the wallpapers even before onStart (in manual tests is right
around onStart, certainly before the other widgets shown on homescreen).

Created a new WallpapersObserver to have the functionality easier to reason
about and be easier to test.
2 years ago
MatthewTighe a1a75ee8d4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26511: load homescreen wallpaper in blocking coroutine 2 years ago
Gabriel Luong ca9d35f3f7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26169 - MR Home Onboarding Dialog for upgrading users 2 years ago
Mugurell 2cfbe09dbf [fenix] For https://github.com/mozilla-mobile/fenix/issues/26224 - TCP CFR telemetry 2 years ago
Mugurell d6967d5ef7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26224 - New TCP CFR popup
If Total Cookie Protection is enabled when first accessing a normal tab
(not a custom tab) a new Contextual Feature Recommendation popup will be shown
informing about the added protection and allowing the user to open a support
page with more data about the new option for privacy protection.
2 years ago
Mugurell 38d0eb7a9a [fenix] For https://github.com/mozilla-mobile/fenix/issues/18175 - Add telemetry for cookies option in custom ETP. 2 years ago
Mugurell 733dce16d6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18175 - Add a new total protection ETP cookies policy
This should only add the new option in settings based on a Nimbus experiment.
2 years ago
Alexandru2909 541a48765b [fenix] For https://github.com/mozilla-mobile/fenix/issues/26400 - Add long-press option to remove tab pickup on homescreen 2 years ago
Alexandru2909 d14f0e2b6e [fenix] For https://github.com/mozilla-mobile/fenix/issues/26398 - Filter recent synced tabs using the homescreen blocklist 2 years ago
MatthewTighe f98b9275da [fenix] Add updated wallpaper use cases and activate them with feature flag. 2 years ago
MatthewTighe 0b1667df4b [fenix] Add updated downloader and file manager 2 years ago
Alexandru2909 f3f2fadd82 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26399 - Use a list of tabs for recent synced tabs success state 2 years ago
Mugurell 622084bad1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26380 - Wait in tests until telemetry is recorded. 2 years ago
mike a b8ee63d226 [fenix] Revert "Closes https://github.com/mozilla-mobile/fenix/issues/25967: add classes to support multiple viewHolders"
This reverts commit 88f0b1962495247959a687f6c403e1e54b4946db.
2 years ago
MatthewTighe 278a5bbf30 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26423: add wallpaper metadata fetcher 2 years ago
Noah Bond 7e3ede1d3f [fenix] No issue: Remove code to generate tab group size metrics 2 years ago
MatthewTighe 702aeda47b [fenix] For https://github.com/mozilla-mobile/fenix/issues/26423: simplify wallpaper types to single data class 2 years ago
MatthewTighe c6a17a7883 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/26124: recent synced tab will use preview image URLs from history 2 years ago
mavduevskiy 5819e532a9 [fenix] Revert "Closes https://github.com/mozilla-mobile/fenix/issues/25942: use HistoryFragment to show synced history"
This reverts commit 4fe9e31ee83b9aa1469fca38459f725971aa92d4.
2 years ago
sarah541 7d6c0d1eaf [fenix] For https://github.com/mozilla-mobile/fenix/issues/26421 - Extract synced tabs into it's own viewholder 2 years ago
Roger Yang d6a0336b23 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/26150: Do not show sync tabs in home when sync open tabs setting is disabled 2 years ago
Mugurell d0e5ddc6bd [fenix] For https://github.com/mozilla-mobile/fenix/issues/25602: Lowercase search engine id when recording telemetry 2 years ago
MatthewTighe 346427f73a [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/26245: refactor the WallpaperManager as several WallpaperUseCases 2 years ago
Roger Yang 40509a528e [fenix] Close https://github.com/mozilla-mobile/fenix/issues/26198: Add debounce to account manager syncs 2 years ago
MatthewTighe 4bc96a5e10 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/26377: re-open already opened recent synced tabs 2 years ago
Noah Bond 9968708352 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26289 - Remove search term tab groups metrics and setting 2 years ago
Noah Bond f55ce61747 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26227 - Remove search term tab groups from Jump Back In 2 years ago
Mugurell 848b8b583d [fenix] For https://github.com/mozilla-mobile/fenix/issues/26172 - New CFR popup composable
This will allow for pinpoint accuracy when anchoring and resolve any color
disparities between the popup body and the indicator arrow by having everything
drawn programmatically as one shape.

Because of the async nature of the values for insets and screen rotation
immediately after an orientation change the popup will automatically get
dismissed to prevent any anchoring issues.
While not ideal the effect of this is better than accepting layout issues after
orientation changes and is the same approach used for other of our popups.
2 years ago
Alexandru2909 c763a8a42e [fenix] For https://github.com/mozilla-mobile/fenix/issues/26239 - Avoid displaying multiple download items for the same file 2 years ago
Christian Sadilek 82e302717e [fenix] Revert "For https://github.com/mozilla-mobile/fenix/issues/26227 - Remove search term tab groups from Jump Back In"
This reverts commit f4e09ba3f2d6a530e8a39a0e18d15fefceb6ee6a.
2 years ago
Christian Sadilek aed096a6a0 [fenix] Revert "For https://github.com/mozilla-mobile/fenix/issues/26227 - Remove search term tab groups from Recently Visited"
This reverts commit e0617080ec0e28b74a2cd8ca1f9b94a521ba17ac.
2 years ago
Noah Bond 35b2c39f0e [fenix] For https://github.com/mozilla-mobile/fenix/issues/26227 - Remove search term tab groups from Recently Visited 2 years ago
Noah Bond c98cdcf0b3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26227 - Remove search term tab groups from Jump Back In 2 years ago
MatthewTighe c854e54f03 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/26029: Add wallpaper state to AppStore 2 years ago
mike a 6b6223fbd7 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/25942: use HistoryFragment to show synced history 2 years ago
mike a 739a23b889 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/26101: add telementry for deleting history time range 2 years ago
Gabriel Luong 21f190b965 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26026 - Refactor the FenixTabCounterMenu creation from HomeFragment to TabCounterBuilder 2 years ago
Alexandru2909 458537c50e [fenix] For https://github.com/mozilla-mobile/fenix/issues/26089 - Record metrics for save credit card prompt shown 2 years ago
mike a 08a57223b6 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/25954: add a new delete time range confirmation dialog for history screen 2 years ago
MatthewTighe 205f6cea89 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/26050: show jump back in when only synced tab available 2 years ago
Noah Bond 4f3fe06977 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21898 - Remove search term tab groups from the Tabs Tray 2 years ago
mike a c12b34a5e6 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/25967: add classes to support multiple viewHolders 2 years ago
MatthewTighe 0d61a44d87 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/25955: refactor RecentSyncedTabsFeature to use SyncStore 2 years ago
MatthewTighe 7660235e97 [fenix] Fixes 24823: remove recent synced tab when logged out 2 years ago
Jonathan Almeida c1a3625559 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/25982: Fix check between current and new when adding a bookmark 2 years ago
Arturo Mejia 3c58b8e405 [fenix] For https://github.com/mozilla-mobile/fenix/issues/25736: Add experiment for Total cookie protection. 2 years ago
mcarare 6260f3fc24 [fenix] For https://github.com/mozilla-mobile/fenix/issues/25846: Save the City field in addresses. 2 years ago
Roger Yang f00965969a [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/25805: Always anchored unified search menu to the toolbar icon 2 years ago
Alexandru2909 9e08ecfb89 [fenix] For https://github.com/mozilla-mobile/fenix/issues/25764 - Prevent sponsored shortcut URLs from appearing as `frecent` shortcuts 2 years ago
Mugurell a1dc04f22b [fenix] For https://github.com/mozilla-mobile/fenix/issues/25401 - Add the PocketIntegration Glean annotation tag to all Pocket telemetry 2 years ago
mcarare 29747b2095 [fenix] For https://github.com/mozilla-mobile/fenix/issues/25658: Update metrics test. 2 years ago
Mugurell 961e6ad5d8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/25538 - Add the "Wallpapers" tag to the new telemetry
By using a feature tag we can avoid having to define new tags in the Glean
annotations repository.

The list of available tags needed to be regenerated to be able to reference the
new "Wallpapers" tag.
Because the tags regeneration also brought a change in tags from "TopSites" to
"Shortcuts" all previous telemetry using "TopSites" had to be migrated to use
the new "Shortcuts" tag.
2 years ago
Mugurell 8c48cca825 [fenix] For https://github.com/mozilla-mobile/fenix/issues/25538 - Add a simple way to check if the default wallpaper is to be shown
A previous check for whether the persisted name of the current wallpaper is
empty made checking whether the default wallpaper is to be shown brittle.
Instead of duplicating such a check in multiple places it is now extracted in
one method that can be used in multiple places including the new telemetry.
2 years ago
Marc Leclair 4fe2ec1188 [fenix] Fixed PR review 2 years ago
Arturo Mejia c80ac7102a [fenix] For https://github.com/mozilla-mobile/fenix/issues/21894: Move Tabs Tray to compose: Individual tab viewholders: ListViewHolder. 2 years ago
mcarare 0ab70f4511 [fenix] For https://github.com/mozilla-mobile/fenix/issues/24857: Add metrics for addresses autofill. 2 years ago
Mugurell 4921a85a24 [fenix] For https://github.com/mozilla-mobile/fenix/issues/25658 - Track the site permissions prompt and user actions
Track when the prompt is shown and when the permissions are allowed/denied.
2 years ago
Roger Yang 56d367f4fd [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/24740: Use unified search bar in bookmark search 2 years ago
Noah Bond 143d60ebac [fenix] For https://github.com/mozilla-mobile/fenix/issues/25491 - Refactor InactiveTabs interactors and controllers 2 years ago
Roger Yang 81d31cfac8 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/24740: Use unified search bar in history search 2 years ago
Arturo Mejia 7cb57f1b9a [fenix] For https://github.com/mozilla-mobile/fenix/issues/25446: Ensure for every message shown we have recordExposure 2 years ago
Mugurell 773326121e [fenix] For https://github.com/mozilla-mobile/fenix/issues/25381 - Add a setting allowing to toggle Pocket sponsored stories 2 years ago
Jan-Erik Rediger 7565361ae6 [fenix] Adjust all telemetry tests to follow new Glean APIs
These are mostly mechanical changes to replace usage of `testHasValue`
with `testGetValue`.
`testGetValue` will now return `null` instead of throwing an exception
if no data is available.
2 years ago
Mugurell 91153193ac [fenix] For https://github.com/mozilla-mobile/fenix/issues/24744 - Observe and update selector icon while the View is attached
This avoids having to pass another LifecycleOwner from outside and will ensure
the View is update only in the bounds of it being attached.

The observe-update code is moved to bind(..) as that seems like a more
idiomatic callback for updating an already constructed View rather than
createView() which should only create and return a View.
2 years ago
Roger Yang d1c8951434 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/24522: Add telemetry for unified search 2 years ago
indu 80f38dba6f [fenix] For https://github.com/mozilla-mobile/fenix/issues/25455 : Let A-C handle toolbar expanding when URL changes
This fix allows the toolbar to be visible after the user clicks on a link and scrolls

Co-Authored-By: Mugurell <Mugurell@users.noreply.github.com>
2 years ago
Arturo Mejia 8b7799a3fe [fenix] Revert "For https://github.com/mozilla-mobile/fenix/pull/24455 - Migrate NoCollectionsMessageViewHolder to Compose"
This reverts commit eb9d1a88
2 years ago
Noah Bond 71c77e3e6d [fenix] For https://github.com/mozilla-mobile/fenix/issues/21897 - Convert inactive tabs to compose 2 years ago
Mugurell 08b668cc1f [fenix] For https://github.com/mozilla-mobile/fenix/issues/25459 - Show Pocket sponsored stories irrespective of topics selections 2 years ago
mcarare bf758fac0b [fenix] For https://github.com/mozilla-mobile/fenix/issues/25437: Fix label values for labeled counters. 2 years ago
Roger Yang c46d478500 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/25449: Use "Enter search terms" as hint when using application search engine 2 years ago
MatthewTighe d081128be7 [fenix] fixes https://github.com/mozilla-mobile/fenix/issues/24918: add subregion dropdown to address editor 2 years ago
Gabriel Luong 397f1ffbb2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/24300 - Add Tabs to the search engine menu 2 years ago
Alexandru Putanu 9bdc88cfb3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/25397 - Telemetry for credit card save and update (https://github.com/mozilla-mobile/fenix/pull/25411)
* For https://github.com/mozilla-mobile/fenix/issues/25397 - Telemetry for credit card save and update

* Use Fenix Issue fro Bugs

Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
Co-authored-by: Roger Yang <royang@mozilla.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2 years ago
Roger Yang bd2263d32d [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/24301: Add Bookmarks to the search engine menu 2 years ago
Mugurell 364842f946 [fenix] For https://github.com/mozilla-mobile/fenix/issues/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
Roger Yang a61c3a778a [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/24299: Sort unified search selector menu items based on user settings 2 years ago
Arturo Mejia fc40fd435b [fenix] For https://github.com/mozilla-mobile/fenix/issues/25374: Skip action validation for control messages 2 years ago
Mugurell d5902b7a02 [fenix] For https://github.com/mozilla-mobile/fenix/issues/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 67cc604dab [fenix] For https://github.com/mozilla-mobile/fenix/issues/25025 - Download sponsored stories on debug only 2 years ago
Mugurell f28fbf3240 [fenix] For https://github.com/mozilla-mobile/fenix/issues/25025 - Use the `PocketStory` supertype
This prepares extending support from just `PocketRecommendedStory` to
`PocketSponsoredStory` also.
2 years ago
Mugurell 15677b59b6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/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
Alexandru2909 a59f065051 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23173 - CheckChanged use a single variable instead of two for checked status 2 years ago
mcarare f12935a278 [fenix] For https://github.com/mozilla-mobile/fenix/issues/24968: Add preference for enabling/disabling addresses autofill.
For https://github.com/mozilla-mobile/fenix/issues/24968: Add preference for enabling/disabling addresses autofill.
2 years ago
Roger Yang 348f43b2bd [fenix] Close https://github.com/mozilla-mobile/fenix/issues/25170: Fix flaky search fragment store tests 2 years ago
Roger Yang 5106048974 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/25288: Disable autocomplete for unified history search 2 years ago
Gabriel Luong b04e075f51 [fenix] For https://github.com/mozilla-mobile/fenix/issues/24991 - Refactor the HomeMenu creation from HomeFragment to HomeMenuBuilder 2 years ago
MatthewTighe 2e29b9ef7c [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/24917: add country dropdown to address editor 2 years ago
James Hugman 7db1b80fb3 [fenix] Fixup tests 2 years ago
James Hugman bab0149d64 [fenix] Filter messaging experiments from the Studies screen 2 years ago
Roger Yang 2609047630 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/24299: Add history to the search engine menu 2 years ago
jhugman df4ea50387 [fenix] Change FxNimbus/Nimbus startup sequence (https://github.com/mozilla-mobile/fenix/pull/25266)
* Change FxNimbus initialization sequence

Add cache invalidation

* Change ordering of message restoration and Nimbus initialization

* Address reviewer comments
2 years ago
MatthewTighe fa8deb452c [fenix] for https://github.com/mozilla-mobile/fenix/issues/25167: ignore handleDeleteSingle and handleDeleteMultiple tests due to intermittent failures with coroutines 2 years ago
Arturo Mejia 82a0a4f1f0 [fenix] Revert "Change FxNimbus initialization sequence (https://github.com/mozilla-mobile/fenix/pull/25089)"
This reverts commit b7427874e73ebaad5f8553b7a8614a7babdc8baa.
2 years ago
jhugman 5beb1da884 [fenix] Change FxNimbus initialization sequence (https://github.com/mozilla-mobile/fenix/pull/25089)
* Change FxNimbus initialization sequence

* Add cache invalidation
2 years ago
sarah541 d2fa53ff1d [fenix] For https://github.com/mozilla-mobile/fenix/pull/24455 - Migrate NoCollectionsMessageViewHolder to Compose 2 years ago
Mugurell d75322cbaf [fenix] For https://github.com/mozilla-mobile/fenix/issues/25167 - Disable "handleDeleteAbnormal" as intermittently failing. 2 years ago
MatthewTighe a5643471f2 [fenix] for https://github.com/mozilla-mobile/fenix/issues/24931: create address label and description based on available data 2 years ago
Mugurell c6bb6c247e [fenix] For https://github.com/mozilla-mobile/fenix/issues/23876 - Update kotlinx-coroutines to 1.6.1. Refactor runBlocking in tests.
After the update `TestCoroutineDispatcher`, `TestCoroutineScope` and
`runBlockingTest` are deprecated.
Instead of these new `TestDispatcher`, `TestScope` and `runTest` APIs are used.

Took the oportunity to also replace most of the `runBlocking` calls with the
new `runTest` specially designed for running coroutines in tests API.
2 years ago