Commit Graph

1452 Commits

Author SHA1 Message Date
MatthewTighe
1d20914f8f Fixes 24823: remove recent synced tab when logged out 2022-07-14 21:46:05 +00:00
Jonathan Almeida
7309b671b1 Close #25982: Fix check between current and new when adding a bookmark 2022-07-11 21:41:40 +00:00
Arturo Mejia
8c752c3be1 For #25736: Add experiment for Total cookie protection. 2022-07-05 19:07:05 +00:00
mcarare
70e6422d94 For #25846: Save the City field in addresses. 2022-07-04 13:58:25 +00:00
Roger Yang
46d73673ec Issue #25805: Always anchored unified search menu to the toolbar icon 2022-06-30 16:53:13 +00:00
Alexandru2909
4d430adbbe For #25764 - Prevent sponsored shortcut URLs from appearing as frecent shortcuts 2022-06-29 20:14:35 +00:00
Mugurell
f906dda054 For #25401 - Add the PocketIntegration Glean annotation tag to all Pocket telemetry 2022-06-29 18:30:54 +00:00
mcarare
6a6fce3831 For #25658: Update metrics test. 2022-06-29 17:52:51 +00:00
Mugurell
d4c86f1203 For #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.
2022-06-29 17:52:51 +00:00
Mugurell
8d9ccd76e9 For #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.
2022-06-29 17:52:51 +00:00
Marc Leclair
0680d7027c Fixed PR review 2022-06-29 00:54:30 +00:00
Arturo Mejia
5f1448460e For #21894: Move Tabs Tray to compose: Individual tab viewholders: ListViewHolder. 2022-06-27 21:27:55 +00:00
mcarare
6719eeb129 For #24857: Add metrics for addresses autofill. 2022-06-27 10:24:13 +00:00
Mugurell
fd28889d71 For #25658 - Track the site permissions prompt and user actions
Track when the prompt is shown and when the permissions are allowed/denied.
2022-06-24 18:08:55 +00:00
Roger Yang
7a5e126f24 Issue #24740: Use unified search bar in bookmark search 2022-06-22 19:27:42 +00:00
Noah Bond
5f7fd5313c For #25491 - Refactor InactiveTabs interactors and controllers 2022-06-22 18:37:06 +00:00
Roger Yang
22ac345513 Issue #24740: Use unified search bar in history search 2022-06-21 16:57:39 +00:00
Arturo Mejia
34b31f8b11 For #25446: Ensure for every message shown we have recordExposure 2022-06-15 22:32:20 +00:00
Mugurell
df5786f1e3 For #25381 - Add a setting allowing to toggle Pocket sponsored stories 2022-06-10 15:01:35 +00:00
Jan-Erik Rediger
bbf2d427d2 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.
2022-06-09 18:08:04 -04:00
Mugurell
1a2be2065a For #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.
2022-06-08 11:33:25 +00:00
Roger Yang
b48123aa50 Issue #24522: Add telemetry for unified search 2022-06-07 14:33:46 +00:00
indu
ac31a1ace4 For #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>
2022-06-07 11:49:16 +03:00
Arturo Mejia
6a33f29a91 Revert "For #24455 - Migrate NoCollectionsMessageViewHolder to Compose"
This reverts commit 7b895aba
2022-06-05 13:26:43 +00:00
Noah Bond
08a84f8353 For #21897 - Convert inactive tabs to compose 2022-06-03 18:49:13 +00:00
Mugurell
392f585ba0 For #25459 - Show Pocket sponsored stories irrespective of topics selections 2022-05-31 11:07:43 +00:00
mcarare
d20ba1d0fe For #25437: Fix label values for labeled counters. 2022-05-31 10:25:06 +00:00
Roger Yang
ff683c67e0 Close #25449: Use "Enter search terms" as hint when using application search engine 2022-05-30 22:56:54 +00:00
MatthewTighe
3fab791980 fixes #24918: add subregion dropdown to address editor 2022-05-27 22:53:45 +00:00
Gabriel Luong
72a2ee688f For #24300 - Add Tabs to the search engine menu 2022-05-27 21:42:56 +00:00
Alexandru Putanu
b9b1124b66
For #25397 - Telemetry for credit card save and update (#25411)
* For #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>
2022-05-27 21:11:59 +00:00
Roger Yang
229b949650 Issue #24301: Add Bookmarks to the search engine menu 2022-05-27 16:00:29 +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
3de38984fd Issue #24299: Sort unified search selector menu items based on user settings 2022-05-25 19:17:44 +00:00
Arturo Mejia
98e3b8bf52 For #25374: Skip action validation for control messages 2022-05-25 14:55:28 +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
Alexandru2909
73dcc0c6d6 For #23173 - CheckChanged use a single variable instead of two for checked status 2022-05-23 09:36:24 +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
Roger Yang
d07e37deda Close #25170: Fix flaky search fragment store tests 2022-05-20 19:14:39 +00:00
Roger Yang
5bb9e50e96 Close #25288: Disable autocomplete for unified history search 2022-05-20 16:51:27 +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
James Hugman
6cec4e2a9d Fixup tests 2022-05-19 15:37:11 +00:00
James Hugman
165ce0151e Filter messaging experiments from the Studies screen 2022-05-19 15:37:11 +00:00
Roger Yang
7f29461c75 Issue #24299: Add history to the search engine menu 2022-05-18 19:48:26 +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
MatthewTighe
922af02d9e for #25167: ignore handleDeleteSingle and handleDeleteMultiple tests due to intermittent failures with coroutines 2022-05-18 01:47:08 +00:00