2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-07 15:20:38 +00:00
Commit Graph

6818 Commits

Author SHA1 Message Date
Gabriel Luong
f7b79baa4e [fenix] For https://github.com/mozilla-mobile/fenix/issues/23253 - Use photon color variables for @color/scrim[Start|End]_private_theme 2022-01-17 19:59:34 +00:00
Gabriel Luong
616f0f1640 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23251 - Consolidate select credit card and login prompt header styles 2022-01-17 19:27:24 +00:00
Gabriel Luong
be832da4d9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23245 - Replace @color/inset_private_theme with @color/fx_mobile_private_layer_color_1 2022-01-17 18:39:09 +00:00
Gabriel Luong
3ea1fe49d3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23245 - Replace @color/above_private_theme with @color/fx_mobile_private_layer_color_1 2022-01-17 18:39:09 +00:00
Gabriel Luong
41b8d51db1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23240 - Replace @color/contrast_text_private_theme with @color/fx_mobile_private_text_color_primary
@color/contrast_text_private_theme and @color/fx_mobile_private_text_color_primary are the same color
2022-01-17 17:40:37 +00:00
Mozilla L10n Automation Bot
db5489e8ef [fenix] Import l10n. 2022-01-15 01:03:14 +00:00
Matt Tighe
922d95619c [fenix] closes https://github.com/mozilla-mobile/fenix/issues/23220: show snackbar on wallpaper selection 2022-01-15 00:26:22 +00:00
Jonathan Almeida
84e710aff7 [fenix] Update lifecycle dependencies to the commons library
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
2022-01-14 17:04:44 -05:00
Matt Tighe
ff881bd417 [fenix] fixes https://github.com/mozilla-mobile/fenix/issues/22943: update androidx.lifecycle to 2.4.0 2022-01-14 17:04:44 -05:00
Gabriel Luong
eb90653144 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23193 - Remove @color/default_launcher_background redirection 2022-01-14 20:03:08 +00:00
Gabriel Luong
b430addc1b [fenix] For https://github.com/mozilla-mobile/fenix/issues/23193 - Remove @color/toolbar_[start|center|end]-gradient_normal_theme redirection 2022-01-14 20:03:08 +00:00
Gabriel Luong
57424f85f3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23193 - Remove @color/accent_on_dark_background_private_theme redirection 2022-01-14 20:03:08 +00:00
Gabriel Luong
cde3250184 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23193 - Remove @color/fill_link_from_clipboard_private_theme redirection 2022-01-14 20:03:08 +00:00
Gabriel Luong
c91e95b1c7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23193 - Remove @color/onboarding_illustration_selected_private_theme redirection 2022-01-14 20:03:08 +00:00
Gabriel Luong
940fec7b74 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23193 - Remove @color/accent_high_contrast_dark_theme redirection 2022-01-14 20:03:08 +00:00
Gabriel Luong
b831e0cb48 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23193 - Remove @color/accent_bright_dark_theme redirection 2022-01-14 20:03:08 +00:00
Gabriel Luong
227042f6fb [fenix] For https://github.com/mozilla-mobile/fenix/issues/23193 - Remove @color/accent_bright_light_theme redirection 2022-01-14 20:03:08 +00:00
Gabriel Luong
222977c264 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23193 - Remove @color/accent_light_theme redirection 2022-01-14 20:03:08 +00:00
Gabriel Luong
29db001da8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23203 - Replace @color/snackbar_normal_theme with @color/fx_mobile_action_color_primary 2022-01-14 18:22:31 +00:00
Gabriel Luong
bc1c89d796 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23187 - Replace @color/notification_accent_color_normal_theme with @color/fx_mobile_text_color_accent 2022-01-14 17:22:32 +00:00
Gabriel Luong
9b33511ea0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23191 - Replace @color/preference_section_header_normal_theme with @color/fx_mobile_text_color_accent 2022-01-14 16:42:09 +00:00
Gabriel Luong
9b0841a352 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23207 - Update the tabs tray FAB color to @color/fx_mobile_layer_color_accent 2022-01-14 16:17:27 +00:00
Gabriel Luong
1a9fb369a0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23209 - Replace @color/above_normal_theme with @color/fx_mobile_layer_color_2 2022-01-14 15:51:59 +00:00
Gabriel Luong
100df02457 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23205 - Replace https://github.com/mozilla-mobile/fenix/pull/66FBFBFE with its photon color @color/photonLightGrey05A40 2022-01-14 14:38:18 +00:00
Alexandru2909
e683694d05 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20524 - Remove redundant coroutine dispatchers from tests 2022-01-14 08:53:46 +00:00
Alexandru2909
68be05d051 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8108 - Add BrowserToolbar option to remove url from TopSites 2022-01-14 07:37:19 +00:00
Mozilla L10n Automation Bot
779267586b [fenix] Import l10n. 2022-01-14 00:32:56 +00:00
Matthew Tighe
f1c4082bba [fenix] closes https://github.com/mozilla-mobile/fenix/issues/22831: add wallpaper settings screen (https://github.com/mozilla-mobile/fenix/pull/23145)
* closes https://github.com/mozilla-mobile/fenix/issues/22831: add wallpaper settings screen

* address PR and UX feedback

* rebase upstream and adjust settings correctly
2022-01-13 23:30:13 +00:00
Arturo Mejia
f9ca1a4e44 [fenix] Revert "For https://github.com/mozilla-mobile/fenix/issues/22851: Add logo animation for wallpapers."
This reverts commit ad433967
2022-01-13 22:17:55 +00:00
Arturo Mejia
6e0dfd9b8e [fenix] For https://github.com/mozilla-mobile/fenix/issues/22851: Add logo animation for wallpapers. 2022-01-13 20:11:37 +00:00
Arturo Mejia
dc560358e8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23144 Address regression in COLD start 2022-01-13 19:43:41 +00:00
Gabriel Luong
50c17d7bea [fenix] For https://github.com/mozilla-mobile/fenix/issues/16152 - Add a dark theme for the tabs tray grid view 2022-01-13 19:13:22 +00:00
mcarare
de520bc77a [fenix] For https://github.com/mozilla-mobile/fenix/issues/21744: Replace InputMethodManager's deprecated toggleSoftInput. 2022-01-13 11:23:45 +00:00
mcarare
e297e494c2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22383: Propagate ViewTreeLifecycleOwner to composable view holders. 2022-01-13 10:53:28 +00:00
Roger Yang
5cc5b50595 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/22550: Refactor search term tab grouping logic to rely on middleware 2022-01-13 03:32:12 +00:00
Grigory Kruglov
8c61f0c754 [fenix] Adjust logins diffing logic for recyclerview 2022-01-12 12:45:53 -08:00
Grigory Kruglov
b322e4c19b [fenix] Scroll to top of logins screen after list changes 2022-01-12 12:45:53 -08:00
Grigory Kruglov
364f558857 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22795: Stop trimming login origins on sorting
Due to the async nature (??) of the trimming code, this is causing severe performance issues
during search.

Looking back through commits, doesn't seem like there's a particularly good reason we were trimming here. All I could find is https://github.com/mozilla-mobile/fenix/pull/9986 (comment) which is lacking explanation of why this is actually useful.

And currently, we're dealing with an origin (not a full url when this was initially written, I think), i.e. https://accounts.firefox.com vs https://accounts.firefox.com/signin. So, the suffix stripping isn't even doing much beyond removing com in vast majority of cases.

So, seems like all of this trimming stuff can be cleaned up.
2022-01-12 12:45:53 -08:00
Mozilla L10n Automation Bot
64a9715198 [fenix] Import l10n. 2022-01-12 01:30:02 +00:00
mcarare
e9d42361a0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22559: Update leak canary version to 2.8.1 2022-01-11 23:38:04 +00:00
Gabriel Luong
993c0f9ede [fenix] For https://github.com/mozilla-mobile/fenix/issues/23128 - Remove @color/mozac_widget_favicon_border_dark_theme redirection 2022-01-11 20:04:49 +00:00
Gabriel Luong
12d0f4fa56 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23128 - Remove @color/mozac_widget_favicon_background_dark_theme redirection 2022-01-11 20:04:49 +00:00
Gabriel Luong
fa2f68cae1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23128 - Remove @color/mozac_widget_favicon_border_light_theme redirection 2022-01-11 20:04:49 +00:00
Gabriel Luong
549755704f [fenix] For https://github.com/mozilla-mobile/fenix/issues/23128 - Remove @color/mozac_widget_favicon_background_light_theme redirection 2022-01-11 20:04:49 +00:00
Gabriel Luong
e0ae5ef818 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23128 - Remove @color/mozac_widget_favicon_[background|border]_private_theme redirection 2022-01-11 20:04:49 +00:00
Gabriel Luong
0ed13fe6ed [fenix] For https://github.com/mozilla-mobile/fenix/issues/23156 - Remove all unused strings marked moz:removedIn <= 95 2022-01-11 19:38:52 +00:00
Brais Gabín
26a4ec05d3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23142 - Fix license formatting in tests 2022-01-11 18:32:06 +00:00
Mozilla L10n Automation Bot
a8913b7103 [fenix] Import l10n. 2022-01-11 00:43:09 +00:00
Elise Richards
158dfd8154 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22869: Data review for renewing january metrics 2022-01-10 17:05:49 +00:00
Elise Richards
798e455d78 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22869: Renew metrics expiring in January 2022-01-10 17:05:49 +00:00
Mozilla L10n Automation Bot
4962eed016 [fenix] Import l10n. 2022-01-10 00:33:03 +00:00
Arturo Mejia
5f4efe1638 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23104: Don't adjust the theme for the default wallpaper. 2022-01-09 20:21:11 +00:00
Mozilla L10n Automation Bot
06d677cbda [fenix] Import l10n. 2022-01-08 00:45:48 +00:00
Gabriel Luong
b4037b4851 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22675 - Replace collection color icon variables with the icon design color tokens 2022-01-07 19:14:49 +00:00
Alexandru2909
5158e38ce9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19567 - Change SavedLogins and LoginDetail fragments to extend SecureFragment 2022-01-07 09:42:21 +00:00
Gabriel Luong
f793e5e988 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23086 - Add Border Inverted design token 2022-01-07 09:18:24 +00:00
Gabriel Luong
7fddab3048 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23086 - Change design token name from Border Selected to Border Accent 2022-01-07 09:18:24 +00:00
Gabriel Luong
1d3e76f885 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23086 - Update Border Divider to Border Default 2022-01-07 09:18:24 +00:00
Gabriel Luong
f97de9afe4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23086 - Rename design token name from Border Default to Border Form Default 2022-01-07 09:18:24 +00:00
Gabriel Luong
96ce53ae8f [fenix] For https://github.com/mozilla-mobile/fenix/issues/23086 - Update the dark theme colors of Action Primary to Violet60
- Updates the description of Action Primary to include "Chip selected"
2022-01-07 09:18:24 +00:00
Gabriel Luong
f3e72c7602 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23086 - Update the dark theme Action Secondary color to DarkGrey10 2022-01-07 09:18:24 +00:00
Gabriel Luong
7a1fe9836a [fenix] For https://github.com/mozilla-mobile/fenix/issues/23086 - Change the light theme color for Form Selected, Form On, Icon Button, Layer Accent, Border Selected to Ink20 2022-01-07 09:18:24 +00:00
mcarare
be7ae5e488 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22577: Update work manager version to 2.7.1 2022-01-07 08:09:06 +00:00
Mozilla L10n Automation Bot
c7c24a5bfd [fenix] Import l10n. 2022-01-07 07:06:24 +00:00
Gabriel Luong
c8ebd54b76 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22975 - Replace aboutLink attribute with Text Accent color token 2022-01-06 18:43:35 +00:00
Gabriel Luong
7ef7a37e24 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23076 - Clean up unneeded FeatureFlags 2022-01-06 06:53:17 +00:00
Mozilla L10n Automation Bot
996fc1b8cd [fenix] Import l10n. 2022-01-06 00:35:56 +00:00
Gabriel Luong
970b6107b2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23071 - Replace @color/tab_tray_selected_mask_normal_theme with @color/fx_mobile_layer_color_accent_nonopaque 2022-01-05 23:49:43 +00:00
MickeyMoz
0a5e26c940 [fenix] Update Android Components version to 97.0.20220104190053. 2022-01-05 19:02:55 +00:00
Arturo Mejia
0b88222bf5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22851: Adjust theme based on the selected wallpaper. 2022-01-05 17:55:02 +00:00
Mozilla L10n Automation Bot
d6cca53ac2 [fenix] Import l10n. 2022-01-05 01:23:18 +00:00
Gabriel Luong
3084f14346 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22978 - Replace @color/foundation_normal_theme with @color/fx_mobile_layer_color_1 2022-01-05 00:39:36 +00:00
Gabriel Luong
ceb30bfaa7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23049 - Update the color for @color/fx_mobile_layer_color_accent_nonopaque 2022-01-05 00:04:18 +00:00
Gabriel Luong
33c8f813a8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23049 - Update the colors of @color/fx_mobile_action_color_primary 2022-01-05 00:04:18 +00:00
Gabriel Luong
1c0b502f97 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23049 - Consolidate @color/fx_mobile_text_color_accent with @color/fx_mobile_text_color_action
- Removes @color/fx_mobile_text_color_action
- Use the colors from @color/fx_mobile_text_color_action in @color/fx_mobile_text_color_accent
2022-01-05 00:04:18 +00:00
Arturo Mejia
b2329b0802 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22995: Address crash when switching languages. 2022-01-04 21:13:00 +00:00
Aaron Train
08a83e287d [fenix] No issue: Try out RetryTestRule in SmokeTest UI test class (https://github.com/mozilla-mobile/fenix/pull/22868)
* Add RetryTestRule to SmokeTest UI tests

* fix: newline in RetryTestRule.kt

fix: switch off generic Throwable

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-01-04 20:17:02 +00:00
mcarare
1facaaf775 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22879: Filter default engines when sending telemetry.
Filter out custom engines that are not well known search domains.
2022-01-04 10:29:16 +00:00
Gabriel Luong
cb307f7bd3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23017 - Ignore ExtraTranslation in our lint-baseline 2022-01-04 01:28:30 +00:00
Mozilla L10n Automation Bot
579968221c [fenix] Import l10n. 2022-01-04 00:37:13 +00:00
Mozilla L10n Automation Bot
0190e82e9e [fenix] Import l10n. 2022-01-03 00:49:41 +00:00
Mozilla L10n Automation Bot
e752fba41e [fenix] Import l10n. 2022-01-02 00:36:35 +00:00
Mozilla L10n Automation Bot
02318ce631 [fenix] Import l10n. 2022-01-01 00:34:53 +00:00
Mozilla L10n Automation Bot
a742f46a1a [fenix] Import l10n. 2021-12-31 00:40:16 +00:00
mike a
deb174462d [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/10737: Searching a language/saved password displays a misplaced "x".
Setting max width for the search view in language settings and saved logins screens. Removed SyncAuthClosed event from LocaleSettingsFragment, an apparent copy-paste.
2021-12-30 05:37:58 +00:00
Mozilla L10n Automation Bot
8a591ac6e2 [fenix] Import l10n. 2021-12-30 00:38:58 +00:00
Gabriel Luong
ed58de80f6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22973 - Remove @color/contrast_text_light_theme redirection 2021-12-28 20:06:05 +00:00
Gabriel Luong
dde2d7edd7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22983 - Remove @color/destructive_button_text_color redirection 2021-12-28 19:37:21 +00:00
TasosB
7c78a27e27 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21483 - Remove light theme tinting of folder icon in the Bookmark view 2021-12-28 18:56:36 +00:00
TasosB
59ce66c404 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21483 - Use primaryText attribute for download icons fill color 2021-12-28 18:56:36 +00:00
Gabriel Luong
ea66e3c8a0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22971 - Remove @color/above_dark_theme redirection 2021-12-28 16:47:59 +00:00
Mozilla L10n Automation Bot
29534669d6 [fenix] Import l10n. 2021-12-28 00:35:39 +00:00
Mozilla L10n Automation Bot
f8f9be73a5 [fenix] Import l10n. 2021-12-27 00:35:38 +00:00
Mozilla L10n Automation Bot
d0dae450d9 [fenix] Import l10n. 2021-12-25 00:37:17 +00:00
rxu
a8084ee002 [fenix] Pass distribution_id to Socorro crash report 2021-12-24 01:50:32 +00:00
Mozilla L10n Automation Bot
f3e51f1055 [fenix] Import l10n. 2021-12-24 00:44:51 +00:00
Gabriel Luong
0a558bf3bb [fenix] For https://github.com/mozilla-mobile/fenix/issues/22965 - Add Form On, Form Off, Indicator Active, Indicator Inactive color tokens 2021-12-23 21:46:57 +00:00
Gabriel Luong
3079590c50 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22965 - Remove Control Active color token 2021-12-23 21:46:57 +00:00
Gabriel Luong
23dfc29dfd [fenix] For https://github.com/mozilla-mobile/fenix/issues/22965 - Update description of Layer Accent color token 2021-12-23 21:46:57 +00:00
Gabriel Luong
5db66444ca [fenix] For https://github.com/mozilla-mobile/fenix/issues/22965 - Update description of Text Inverted color token 2021-12-23 21:46:57 +00:00
Gabriel Luong
47729fd237 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22965 - Remove Control Dark design color token 2021-12-23 21:46:57 +00:00
Gabriel Luong
f6f0964023 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22965 - Rename Action Disabled to Form Disabled for the design color tokens 2021-12-23 21:46:57 +00:00
Gabriel Luong
2db2c4fb36 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22965 - Update Control to Form Surface design colors 2021-12-23 21:46:57 +00:00
Gabriel Luong
c16c812f68 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22965 - Add Form Selected design color token 2021-12-23 21:46:57 +00:00
Gabriel Luong
cfa4cc5471 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22965 - Update Action Teritary to Form Default design colors 2021-12-23 21:46:57 +00:00
Gabriel Luong
4cf43391b9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22965 - Change Pill button to Chip for Action Secondary design color token description 2021-12-23 21:46:57 +00:00
Gabriel Luong
bd932f1fed [fenix] For https://github.com/mozilla-mobile/fenix/issues/22965 - Remove Toolbar background from the description of Layer 3 design color token 2021-12-23 21:46:57 +00:00
Roger Yang
9bb5e0a621 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/22754: Customize home button should work on fresh install 2021-12-23 20:34:10 +00:00
Arturo Mejia
8dcd6a7faf [fenix] For https://github.com/mozilla-mobile/fenix/issues/22851: Optimize wallpaper testing images. 2021-12-23 10:24:32 +00:00
Roger Yang
a9360bb98a [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/22561: Fix tab group titles colour when in private mode 2021-12-22 22:48:57 +00:00
mcarare
afddd6ec32 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22415: Remove element type from content descriptions.
Adding the type to content description is not advised according to a11y guidelines.
2021-12-22 22:23:37 +00:00
Gabriel Luong
fb8b281431 [fenix] Revert "For https://github.com/mozilla-mobile/fenix/issues/22777 - Replace about_link_normal_theme with fx_mobile_text_color_action"
This reverts commit 18d66ce1e3e246a4c190e03ca07cf85937e1047c.
2021-12-22 14:43:10 -05:00
mavduevskiy
e88bda15df [fenix] For https://github.com/mozilla-mobile/fenix/issues/18160: Show a prompt when trying to leave private browsing with active downloads (https://github.com/mozilla-mobile/fenix/pull/22912)
Co-authored-by: mike a <mavduevskiy@gmail.com>
2021-12-22 00:12:44 -08:00
Mozilla L10n Automation Bot
4a8c0d59cc [fenix] Import l10n. 2021-12-22 00:34:24 +00:00
Grisha Kruglov
c367072d11 [fenix] Refactor History types to eliminate nullability
This introduces a separate HistoryDB type at the PagedHistoryProvider
layer, that doesn't need to deal with positions. Positioning logic in
HistoryDataSource becomes a type conversion between the new type and an
existing History type that UI and ItemKeyedDataSource API is written against.

With this refactor, we entirely eliminate nullability from these types.
2021-12-21 19:54:18 +00:00
Grisha Kruglov
b13e149900 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/22764: Convert History.id to an Int position
We were converting Long timestamps into Ints (and getting negative
numbers back), and treating that as, basically, a position for the
paging API; the paging API would pass us back the obscure negative
number back as an offset, and we'll mishandle it resulting in an
infinite loop.

This patch removes all of the Long -> Int conversions, and introduces an
explicit 'position' that is calculated once we have a full page of
results completed.
2021-12-21 19:54:18 +00:00
Mugurell
ae7909671e [fenix] For https://github.com/mozilla-mobile/fenix/issues/22852 - Add a new "Storage access" permission 2021-12-21 17:45:19 +00:00
Arturo Mejia
9e15247269 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22931 Only enable wallpapers on normal mode 2021-12-21 09:49:12 -05:00
mcarare
4e6406e15e [fenix] For https://github.com/mozilla-mobile/fenix/issues/20513: Use UrlMetricType for search engine submission url. 2021-12-21 11:25:00 +00:00
Roger Yang
1735a245c0 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/22736: Do not remove focus from toolbar when scrolling 2021-12-20 20:38:04 +00:00
Arturo Mejia
5143063813 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22851 toggle wallpapers when tap on the Firefox logo 2021-12-20 15:53:44 +00:00
rxu
de1e52a234 [fenix] Add default topsite MeiTuan for MozillaOnline builds 2021-12-20 01:42:41 +00:00
Mozilla L10n Automation Bot
f110c8eca9 [fenix] Import l10n. 2021-12-20 00:39:20 +00:00
Mozilla L10n Automation Bot
574136432c [fenix] Import l10n. 2021-12-19 00:32:51 +00:00
Mozilla L10n Automation Bot
dad42ce9a1 [fenix] Import l10n. 2021-12-18 00:36:17 +00:00
Matt Tighe
1c898c756c [fenix] fixes https://github.com/mozilla-mobile/fenix/issues/22889: add bottom spacer to onboarding adapter 2021-12-17 22:31:18 +00:00
Mugurell
0244f2156f [fenix] For https://github.com/mozilla-mobile/fenix/issues/22508 - Increase menu height to avoid it become scrollable
Compose enforces a DropdownMenuItem having at least a 64dp height
(48 dp height + 8dp vertical padding) so we need to ensure the parent
doesn't hardcode a smaller height.
2021-12-17 17:38:22 +00:00
Roger Yang
11417996c8 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/22671: Show correct time groups header in history 2021-12-17 16:32:56 +00:00
mcarare
4cd7064540 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22450: Replace quit icon with AC one. 2021-12-16 09:00:25 +00:00
Mozilla L10n Automation Bot
67f56b7031 [fenix] Import l10n. 2021-12-16 00:46:56 +00:00
Grisha Kruglov
6b7cdce783 [fenix] Fix breaking change in KeyProvider
`key` was renamed to `getOrGenerateKey` and is now a `suspend`.
2021-12-15 22:57:06 +00:00
Grisha Kruglov
4ad2c1c592 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22569: Remove allopen plugin and Mockable annotations 2021-12-15 12:59:57 +00:00
rxu
803549e11f [fenix] Modify strings for Privacy notice for MozillaOnline builds 2021-12-15 02:54:14 +00:00
Mozilla L10n Automation Bot
6a54899d0c [fenix] Import l10n. 2021-12-15 00:42:58 +00:00
Gabriel Luong
6f331743d0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22858 - Set all @color/tab_tray_item_media_stroke usages to @color/photonWhite 2021-12-14 23:38:53 +00:00
Matt Tighe
817760d64c [fenix] fixes https://github.com/mozilla-mobile/fenix/issues/20833: move home recycler bottom margin into standalone item 2021-12-14 22:31:05 +00:00
Gabriel Luong
816677db45 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22842 - Use gradient color tokens for Reader mode gradient 2021-12-14 21:53:28 +00:00
Gabriel Luong
a9a26965ad [fenix] For https://github.com/mozilla-mobile/fenix/issues/22836 - Replace primary_text_private_theme with fx_mobile_private_text_color_primary color token 2021-12-14 19:30:00 +00:00
Noah Bond
d8bee937cd [fenix] For https://github.com/mozilla-mobile/fenix/issues/22832 - Added parameters to base Text composables 2021-12-14 18:59:09 +00:00
Arturo Mejia
49444cfdf7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22851 add wallpapers feature flag 2021-12-14 18:20:43 +00:00
Gabriel Luong
85d4b025a4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22839 - Remove unused tabTrayHeadingIcon and tabTrayHeadingIconInactive attributes 2021-12-14 17:07:43 +00:00
Gabriel Luong
f0638c8294 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22839 - Remove @color/tab_tray_heading_icon_inactive_dark_theme redirection 2021-12-14 17:07:43 +00:00
Gabriel Luong
e2c76c0ad2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22839 - Remove @color/tab_tray_heading_icon_dark_theme redirection 2021-12-14 17:07:43 +00:00
Mozilla L10n Automation Bot
fc74ae29e8 [fenix] Import l10n. 2021-12-14 10:23:24 +00:00
Gabriel Luong
8ecbffef61 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22808 - Add private theme design tokens 2021-12-13 20:05:38 +00:00
Gabriel Luong
8b0a49c9fd [fenix] For https://github.com/mozilla-mobile/fenix/issues/22809 - Use the design tokens for the Scrim Start/End colors 2021-12-13 17:13:24 +00:00
Gabriel Luong
57b78972f6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22812 - Remove unused shadow attribute 2021-12-13 16:46:07 +00:00
Gabriel Luong
949545d88a [fenix] For https://github.com/mozilla-mobile/fenix/issues/22800 - Remove unused tabTrayToolbarBackground attribute 2021-12-13 16:12:23 +00:00
Gabriel Luong
bbafc879ce [fenix] For https://github.com/mozilla-mobile/fenix/issues/22800 - Remove unused tabTrayItemSelectedBackground attribute 2021-12-13 16:12:23 +00:00
Gabriel Luong
0364ad33e7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22800 - Remove unused tabTrayItemBackground attribute 2021-12-13 16:12:23 +00:00
Mozilla L10n Automation Bot
64157037c5 [fenix] Import l10n. 2021-12-13 00:35:55 +00:00
Mozilla L10n Automation Bot
267118527e [fenix] Import l10n. 2021-12-12 00:33:02 +00:00
Gabriel Luong
7f1918bd32 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22793 - Update the colors for Scrim Start/End design tokens 2021-12-11 01:51:26 +00:00
Gabriel Luong
7c9e44b61d [fenix] For https://github.com/mozilla-mobile/fenix/issues/22793 - Swap the colors for Gradient Start/End design tokens 2021-12-11 01:51:26 +00:00
Gabriel Luong
eecb775f83 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22793 - Add Icon Gradient Start/End color tokens 2021-12-11 01:51:26 +00:00
Gabriel Luong
e0d4f0b496 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22793 - Rename fx_mobile_icon_color_notice color token to fx_mobile_icon_color_information 2021-12-11 01:51:26 +00:00
Matt Tighe
4b6a1d2256 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/22688: remove inactive_tabs_recently_closed probe 2021-12-10 23:20:26 +00:00
Gabriel Luong
861609816d [fenix] For https://github.com/mozilla-mobile/fenix/issues/22777 - Replace about_link_normal_theme with fx_mobile_text_color_action 2021-12-10 17:31:52 +00:00
Gabriel Luong
257c8a0f13 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22779 - Remove @color/inset_light_theme redirection 2021-12-10 15:53:50 +00:00
mcarare
7b2460a2e5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22784: Show collection snackbar only if fragment is still attached. 2021-12-10 15:09:04 +00:00
mcarare
01c4bf049a [fenix] For https://github.com/mozilla-mobile/fenix/issues/17130: Replace hardcoded strings with string resources. 2021-12-10 14:44:39 +00:00
Mozilla L10n Automation Bot
9d53193299 [fenix] Import l10n. 2021-12-10 02:12:25 +00:00
aime Soriano Pastor
37ec88478e [fenix] For https://github.com/mozilla-mobile/fenix/issues/9294: Add option to clear current site data in quick settings dialog. 2021-12-09 23:08:08 +00:00
Gabriel Luong
433ae3f6c5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22694 - Remove primary_text_dark_theme usage 2021-12-09 21:13:35 +00:00
MickeyMoz
4b3e25dcf6 [fenix] Update Android Components version to 97.0.20211208143435. 2021-12-09 11:41:37 +00:00
Mozilla L10n Automation Bot
ab220e2995 [fenix] Import l10n. 2021-12-09 00:36:22 +00:00
Jonathan Almeida
4d889b852a [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/22757: Check the parent cast to AbstractBrowserTrayList first
We re-use the same ViewHolders in search term groups, so when we need to
cast to a AbstractBrowserTrayList for tab reordering, we need to check
our parent correctly first.
2021-12-08 23:54:46 +00:00
Christian Sadilek
f32aab496e [fenix] Support tab movement/reordering (https://github.com/mozilla-mobile/fenix/pull/22751)
* Adds basic support for tab reordering via drag-and-drop selected tabs

* ktlint/detekt formatting

* Use defaultTabsFilter (now not private) instead of getter

* Convert from position+filter API to target+placeAfter
Unfortunately I still need the filter passed around a bit

* Handle inactive tabs' holder being children of the RecyclerView of the normal tabs
Don't go through LayoutManager needlessly

* Non-working use tabID the whole way. Does not compile.

* Fix to do direct tab ID and use grid setting directly

* Remove non-null assertion. Now fully works for "other" tabs.

* Prevent grouped tabs from being dragged

* Remove unused import

* Add/fix comments

* Do API version check and use deprecated startDrag if too old.

* Build process fails: both outdated and too new, so reverting to just too new

* Use deprecated function and suppress warning

* fix space

* Suppress "TooManyFunctions" on DefaultTabsTrayController

* Repeatedly update tab movement during drag

* Remove multi-tab movement, only allow dragging if tab groups disabled, fix tab positioning during movement
I'm forced to suppress LongParameterList to get the settings information where it needs to go though

* Remove settings argument and corresponding long args suppression: instead get settings from parent AbstractBrowserTrayList's context

* New UI: Select a tab and then, while holding down, start dragging

* Revert to using before/after boolean to accomodate delays
Move drag transparency to start of drag

* Use new BlankDragShadowBuilder and DraggableItemAnimator to handle tab movement

* Replace Pair<>s with data classes

* Only drag if exactly 1 tab selected, don't consume drag event if not used

* Auto-scroll tab tray while dragging near top/bottom edge

* Remove unexpected scrolling on tab bind (triggered when tab is selected)

* Fix broken scroll behavior during dragging

* Cleanup for ktlint/detekt

* Constantly set elevation during drag in case of update
Clean code at drag start

* Add custom drag start behavior

* Add drag distance constant, do all touch-drag behavior in OnTouchListener

* Disable parent vertical scrolling on drag start, fix detekt ComplexCondition

* Minor cleanup/comments

* Revert removal of scroll on bind, this was related to something different

* Correction to prepareForDrop to match documentation- doesn't seem to have any effect

* Simplify via unchecked typecast, use ViewCompat

* Use ViewConfiguration.scaledTouchSlop instead of arbitrary 30px

* Added tabReorderingFeature flag, split drag interactor to separate function to satisfy complexity requirement

Co-authored-by: Steven Knipe <ssk97@case.edu>
Co-authored-by: ssk97 <knipesteven@gmail.com>
Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com>
2021-12-08 16:36:49 +00:00
Christian Sadilek
5daf8934ca [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/21759: Do not render home fragment when launching to tab
Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com>
2021-12-08 10:51:06 +00:00
Mozilla L10n Automation Bot
43c3c127aa [fenix] Import l10n. 2021-12-08 01:36:35 +00:00
Gabriel Luong
4a932557ec [fenix] For https://github.com/mozilla-mobile/fenix/issues/22741 - Remove all unused strings marked moz:removedIn <= 94 2021-12-07 23:02:57 +00:00
Christian Sadilek
6b9dc4c958 [fenix] Introduce timeout for capturing thumbnail in BrowserAnimator 2021-12-07 22:28:44 +00:00
Christian Sadilek
9150d8061b [fenix] Prevent flash when navigating to home 2021-12-07 22:28:44 +00:00
Christian Sadilek
57f46aa08e [fenix] Fix BrowserRobot.goToHomescreen to wait for home screen to be rendered
It was previously just waiting for the application to be idle, which
is not a reliable check in case the navigation to home is triggered
on completion of an async operation i.e., the app / main thread may
be idle, but the navigation to home hasn't completed yet.

goToHomeScreen further needs to wait for the browser fragment's
home button to exist before clicking it.
2021-12-07 22:28:44 +00:00
Mugurell
bc4f92afd1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22445 - Improve the scrolling behavior for Recently visited
One important issue was that the items are smaller that the width of the
screen and so a bit of the next column would be showing also and user could
interact with this only peaking items and a long press would open a dropdown
menu with no place to anchor it.
To mitigate this:
- the items will now snap to the next position when scrolling so that we'll
always show at least one column in it's entirety.
- menus are enabled only if more than half of the item is visible effectively
disabling clicks on that peaking area of neighbour columns.

This patch also updates the divider for history groups which previously wasn't
showing.
2021-12-07 16:23:55 +00:00
Gabriel Luong
96b41c0003 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22729 - Tag unused strings for removal 2021-12-07 15:38:15 +00:00
Andrei Joltan
edd33f2685 [fenix] [UI Smoke Tests] New undoDeleteBookmarkFolderTest UI test and Improve coverage for deleteNonEmptyBookmarkFolderTest UI test (https://github.com/mozilla-mobile/fenix/pull/22587)
* New undoDeleteBookmarkFolderTest smoke UI test

* Improve coverage for deleteNonEmptyBookmarkFolderTest UI smoke test

Co-authored-by: AndiAJ <andiaj@users.noreply.github.com>
2021-12-07 13:54:05 +00:00
Mozilla L10n Automation Bot
87203e4afb [fenix] Import l10n. 2021-12-07 01:04:32 +00:00
Gabriel Luong
206074a45e [fenix] For https://github.com/mozilla-mobile/fenix/issues/22702 - Replace home_show_all_button_text with fx_mobile_text_color_action color token 2021-12-07 00:36:29 +00:00
Gabriel Luong
c467be006e [fenix] For https://github.com/mozilla-mobile/fenix/issues/22725 - Regenerate lint-baselint.xml 2021-12-06 23:53:08 +00:00
Gabriel Luong
e7f3dd478a [fenix] For https://github.com/mozilla-mobile/fenix/issues/22701 - Replace whats_new_notification_color with fx_mobile_icon_color_notice color token 2021-12-06 21:46:44 +00:00
Gabriel Luong
2400e44396 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22712 - Remove unused menuCategoryText attribute 2021-12-06 20:56:43 +00:00
Gabriel Luong
2989b4385d [fenix] For https://github.com/mozilla-mobile/fenix/issues/22696 - Remove unused tab_header.xml resource 2021-12-06 20:16:43 +00:00
Gabriel Luong
2c3f13900f [fenix] For https://github.com/mozilla-mobile/fenix/issues/22708 - Remove unused syncedTabsSeparator attribute 2021-12-06 19:37:52 +00:00
Sarah Khan
202b3bf08f [fenix] For https://github.com/mozilla-mobile/fenix/issues/22495 - Disable inactive tabs survey 2021-12-06 18:43:28 +00:00
Gabriel Luong
7ee3adbe81 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22698 - Remove unused mozac_browser_menu_item_switch.xml resource 2021-12-06 13:37:32 +00:00
Mozilla L10n Automation Bot
519b761344 [fenix] Import l10n. 2021-12-06 00:43:07 +00:00
Mozilla L10n Automation Bot
106b8a60ec [fenix] Import l10n. 2021-12-05 00:38:09 +00:00
Mozilla L10n Automation Bot
196ccab368 [fenix] Import l10n. 2021-12-04 00:31:57 +00:00
Noah Bond
563c1f8610 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22691 - Add Composables for Primary and Secondary text 2021-12-03 23:46:51 +00:00
Gabriel Luong
ab52526074 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22676 - Replace top_site_title_text with fx_mobile_text_color_primary color token 2021-12-03 18:33:48 +00:00
Oana Horvath
a776cabd2b [fenix] For https://github.com/mozilla-mobile/fenix/issues/21002: Add testETPOffGlobally UI smoke test 2021-12-03 15:17:47 +00:00
Gabriel Luong
9c7e54ea87 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22654 - Add new color tokens provided by the design systems to colors.xml 2021-12-03 03:34:11 +00:00
Gabriel Luong
175a230b50 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22637 - Add new color tokens provided by the mobile styles to FirefoxTheme 2021-12-03 03:34:11 +00:00
Mozilla L10n Automation Bot
a1b0dd184a [fenix] Import l10n. 2021-12-03 00:35:55 +00:00
Noah Bond
a13e904d34 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22516 - Fixed alignment of "Show all" buttons on the homescreen (https://github.com/mozilla-mobile/fenix/pull/22650)
* For https://github.com/mozilla-mobile/fenix/issues/22516 - Fixed show all button alignment with section headers on the Homepage

* For https://github.com/mozilla-mobile/fenix/issues/22516 - Added correct content description back in for recently visited show all button

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-12-02 23:00:33 +00:00
Christian Sadilek
33e5a1ee35 [fenix] Refactor: Move historymetadata classes in separate package 2021-12-02 22:28:58 +00:00
AndiAJ
5959b0a309 [fenix] Refactor recently closed tabs UI smoke tests 2021-12-02 19:44:16 +00:00
AndiAJ
c9a18b8b03 [fenix] Move verifyRecentlyClosedTabsListTest UI test from SmokeTest class 2021-12-02 19:44:16 +00:00
AndiAJ
771d143c12 [fenix] Disable failing verifyUndoSnackBarTest UI test 2021-12-02 16:15:20 +00:00