Commit Graph

7560 Commits

Author SHA1 Message Date
CHAN, Chak Shing
9a6380d55b For #25183 - Update the Sentry base URL
Update the Sentry base URL to use the new instance
2022-06-16 18:57:10 +00:00
Mozilla L10n Automation Bot
bef5c3054b Import l10n. 2022-06-16 03:35:10 +00:00
mcarare
d595e199c9 For #25435: Handle ERROR_BAD_HSTS_CERT error. 2022-06-16 02:14:23 +00:00
Mugurell
0ee911ea8c For #25586 - Allow for localized sumo links for the https-only mode 2022-06-16 01:05:10 +00:00
Ben Dean-Kawamura
ad222521be Adding support for app-services error reporting 2022-06-15 23:59:40 +00:00
Arturo Mejia
34b31f8b11 For #25446: Ensure for every message shown we have recordExposure 2022-06-15 22:32:20 +00:00
AndiAJ
8b04752122 For #24092 and #25077 fix flaky emailLinkPWATest and telephoneLinkPWATest UI tests 2022-06-15 08:02:25 +00:00
Alexandru2909
3b4e11b796 For #24969 - Display address autofill prompt 2022-06-15 06:43:17 +00:00
Mozilla L10n Automation Bot
685424de9a Import l10n. 2022-06-15 00:45:00 +00:00
Mugurell
ed2857bbe0 For #25586 - Update HTTPs-only setting sumo link 2022-06-14 06:49:39 +00:00
Noah Bond
683226541c For #25490 - Remove PrimaryText and SecondaryText 2022-06-13 21:17:58 +00:00
Mozilla L10n Automation Bot
01be73255e Import l10n. 2022-06-13 00:46:52 +00:00
Mozilla L10n Automation Bot
345f9fd2d2 Import l10n. 2022-06-12 01:24:54 +00:00
Mozilla L10n Automation Bot
2ecfa3bcf7 Import l10n. 2022-06-11 00:41:03 +00:00
Mugurell
df5786f1e3 For #25381 - Add a setting allowing to toggle Pocket sponsored stories 2022-06-10 15:01:35 +00:00
Mozilla L10n Automation Bot
13c34f16dd Import l10n. 2022-06-10 00:44:11 +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
Jan-Erik Rediger
ba7028ec6a Upgrade to Glean v50 and adopt new Glean APIs 2022-06-09 18:08:04 -04:00
MatthewTighe
8a7e8e7b96 for #25545: turn off task continuity in nightly 2022-06-09 20:56:18 +00:00
indu
31336c0d87 For #25413: App should not be locked in landscape when a tab or custom tab loads while in pip mode
App should not be locked in landscape while in pip mode when a tab or custom tab loads

Co-Authored-By: Mugurell <Mugurell@users.noreply.github.com>
2022-06-09 19:48:40 +03:00
mcarare
e81c38e8fd For #25563: Avoid showing delete all dialog twice. 2022-06-09 15:15:43 +00:00
mcarare
78e4875713 For #25563: Ensure popBackStack does not navigate away from HistoryFragment. 2022-06-09 15:15:43 +00:00
mcarare
ed480b24c4 For #25563: Show Snackbar only if fragment is still attached. 2022-06-09 15:15:43 +00: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
Mozilla L10n Automation Bot
070d6288e1 Import l10n. 2022-06-08 00:47:04 +00:00
Roger Yang
b48123aa50 Issue #24522: Add telemetry for unified search 2022-06-07 14:33:46 +00:00
Arturo Mejia
6f0aea9fd9
For #21102: Build with SDK for Android 12 / API 31 (#25494)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-06-07 09:36: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
Mozilla L10n Automation Bot
ca800f122e Import l10n. 2022-06-07 01:17:38 +00:00
AndiAJ
e977e0292a For #25125 fix flaky downloadMultipleFileTypesTest UI test 2022-06-06 14:20:18 +00:00
sv-ohorvath
9c6a127a40 For #23858: replaces opened app verification with intent matching 2022-06-06 12:57:15 +00:00
sv-ohorvath
acb6f5429b Refactor re-usable methods in TabDrawerRobot.kt 2022-06-06 12:21:22 +00:00
sv-ohorvath
24fd376707 Refactor collections UI tests for Compose 2022-06-06 12:21:22 +00:00
sv-ohorvath
9b35c6fd45 Move collections tests to CollectionTest class 2022-06-06 12:21:22 +00:00
AndiAJ
fff15ea331 For #25393 fix flaky verifyAboutFirefoxPreview UI test 2022-06-06 11:24:19 +00:00
Mozilla L10n Automation Bot
2cd6e15db8 Import l10n. 2022-06-06 00:40:46 +00:00
Arturo Mejia
6a33f29a91 Revert "For #24455 - Migrate NoCollectionsMessageViewHolder to Compose"
This reverts commit 7b895aba
2022-06-05 13:26:43 +00:00
Mozilla L10n Automation Bot
f55e21e1df Import l10n. 2022-06-05 00:56:29 +00:00
Mozilla L10n Automation Bot
0e9b9722a1 Import l10n. 2022-06-04 00:48:18 +00:00
Noah Bond
fdd77d0e1e For #21897 - Disable leftover UI test code from #24333 2022-06-03 18:49:13 +00:00
Noah Bond
08a84f8353 For #21897 - Convert inactive tabs to compose 2022-06-03 18:49:13 +00:00
mcarare
48cb5ec268 For #25505: Clear the stored result in case there is no listener with the same key set.
This is the case when the sharing happens outside the tabs tray.
2022-06-03 14:01:40 +00:00
Mozilla L10n Automation Bot
2e5c979ef9 Import l10n. 2022-06-02 21:11:55 -04:00
sunil9211
f89e2f4aca For #20848 - Hide Download List delete icon in multiselect mode 2022-06-02 22:17:56 +00:00
Noah Bond
9520b8c1f3 For #25379 - Plug FenixTypography into ListItem, Button, TextButton, and ExpandableListHeader 2022-06-02 21:23:50 +00:00
Noah Bond
4c118f4816 For #25379 - Create a Compose Typography system 2022-06-02 21:23:50 +00:00
AndiAJ
8043984f46 For #25394 and #25380 re-enable BrowsingErrorPages UI tests 2022-06-02 16:06:29 +00:00
sv-ohorvath
c8eafbd9cc For #15754: Replace UI tests video asset for video with sound 2022-06-02 15:24:38 +00:00
Mugurell
df66e159ed For #25472 - Set context_id to "application" lifetime.
This change mitigates it being set only once in FenixApplication and then
being reset after the first ping is sent.
By having "application" lifetime once set in FenixApplication will be available
in all future contile pings for that application run.
2022-06-02 14:53:43 +00:00
Mozilla L10n Automation Bot
e2fdca8d47 Import l10n. 2022-06-02 01:56:13 +00:00
Michael Comella
f9b16c772f Closes #24304 - simplify StartupExcessiveResourceUseTest error message.
It's easier to modify the explanation of the heuristics in code comments
rather than command line strings so I moved the failure explanations
into code comments, allowing me to simplify the test failure error messages.
2022-06-02 01:01:28 +00:00
Michael Comella
4e6e5428ea For #24304 - update StartupExcessiveResourceUseTest documentation.
We want this test to be self service for the fenix team so the meaning
of the documentation was updated. Additionally, we clarified why each
heuristic exists to make the test more accessible to self service.
2022-06-02 01:01:28 +00:00
AndiAJ
5d724f52f4 For #25394 disable failing blockUnwantedSoftwarePageTest UI test 2022-06-01 05:48:37 +00:00
Mozilla L10n Automation Bot
c3811199b4 Import l10n. 2022-06-01 01:40:23 +00:00
Roger Yang
519f3f96fc No issue: Cleanup default toolbar menu 2022-05-31 21:36:25 +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
Mozilla L10n Automation Bot
efef63afb2 Import l10n. 2022-05-31 06:04: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
Gabriel Luong
980b1f1f7d For #25444 - Remove all unused strings marked moz:removedIn <= 100 2022-05-30 18:17:47 +00:00
Mozilla L10n Automation Bot
5ea4c6533a Import l10n. 2022-05-30 00:59:48 +00:00
Mozilla L10n Automation Bot
b85886eb21 Import l10n. 2022-05-29 15:11:35 -04:00
Arturo Mejia
c9240e20ed No issue: Renew/Remove metrics set to expire in v104 2022-05-28 00:39:23 +00:00
sv-ohorvath
1bcb484de7 For #25380: Disable blockHarmfulPageTest UI test 2022-05-27 23:30:00 +00:00
MatthewTighe
3fab791980 fixes #24918: add subregion dropdown to address editor 2022-05-27 22:53:45 +00:00
MatthewTighe
07d4a8599d fixes #25386: turn task continuity on by default for nightly 2022-05-27 22:18:40 +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
Mugurell
849d922038 For #25352 - Add a new FML feature to gate Pocket sponsored stories 2022-05-27 18:16:22 +00:00
Roger Yang
229b949650 Issue #24301: Add Bookmarks to the search engine menu 2022-05-27 16:00:29 +00:00
Mugurell
666c839eb7
For #24040: App should not crash when the search widget is clicked while PIP mode is active (#25410)
When the search event is from the search widget while PIP is active, the search fragment opens after the screen is unlocked. This avoids the issue of the search page opening in landscape mode and also the app doesn't crash.

Co-Authored-By: Mugurell <Mugurell@users.noreply.github.com>

Co-authored-by: indu <indu@ramkystech.com>
2022-05-27 16:44:06 +03:00
Mozilla L10n Automation Bot
ab36146e3e Import l10n. 2022-05-27 00:42:34 +00:00
Arturo Mejia
d2c1893cf9 For #25212: Add tabs prioritization 2022-05-26 20:44:40 +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
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
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