2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-02 03:40:16 +00:00
Commit Graph

6998 Commits

Author SHA1 Message Date
Grigory Kruglov
abcf8f0fb1 [fenix] Account for Int->UInt changes in bookmarks API 2022-01-20 23:57:50 -08:00
Sammy Khamis
f8ac3de310 [fenix] changes to fix up issues with places uniffication 2022-01-20 23:57:50 -08:00
Gabriel Luong
aa52cd62be [fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Override @color/mozac_ui_icons_fill with ?primaryText attribute 2022-01-21 00:29:08 +00:00
Gabriel Luong
4e383f04d9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Replace @drawble/ic_share with @drawable/mozac_ic_share 2022-01-21 00:29:08 +00:00
Gabriel Luong
e859da75d9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Replace @drawble/ic_storage_enabled with @drawable/mozac_ic_storage 2022-01-21 00:29:08 +00:00
Gabriel Luong
712a9a1fce [fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Replace @drawble/ic_notifications_enabled with @drawable/mozac_ic_notification 2022-01-21 00:29:08 +00:00
Gabriel Luong
2e1f7d92a8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Replace @drawble/ic_microphone_enabled with @drawable/mozac_ic_microphone 2022-01-21 00:29:08 +00:00
Gabriel Luong
14800ea83c [fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Replace @drawble/ic_location_enabled with @drawable/mozac_ic_location 2022-01-21 00:29:08 +00:00
Gabriel Luong
300c8e3236 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Replace @drawble/ic_autoplay_disabled with @drawable/mozac_ic_autoplay_blocked 2022-01-21 00:29:08 +00:00
Gabriel Luong
febe3a761b [fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Replace @drawble/ic_camera_enabled with @drawable/mozac_ic_video 2022-01-21 00:29:08 +00:00
Gabriel Luong
88a532f80e [fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Replace @drawble/mozac_ic_extensions_black with @drawable/mozac_ic_extensions 2022-01-21 00:29:08 +00:00
Gabriel Luong
43f7ce28b7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Replace @drawble/ic_top_sites with @drawable/mozac_ic_pin 2022-01-21 00:29:08 +00:00
Gabriel Luong
d84bdb1d93 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Replace @drawble/ic_search with @drawable/mozac_ic_search 2022-01-21 00:29:08 +00:00
Gabriel Luong
b0c75e83c3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Replace @drawble/ic_readermode with @drawable/mozac_ic_reader_mode 2022-01-21 00:29:08 +00:00
Gabriel Luong
1f0b6bac75 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Replace @drawble/ic_menu with @drawable/mozac_ic_menu 2022-01-21 00:29:08 +00:00
Gabriel Luong
c053cc7358 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Replace @drawble/ic_login with @drawable/mozac_ic_login 2022-01-21 00:29:08 +00:00
Gabriel Luong
8ba2f3198c [fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Replace @drawble/ic_internet with @drawable/mozac_ic_globe 2022-01-21 00:29:08 +00:00
Gabriel Luong
246758315b [fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Replace @drawble/ic_download with @drawable/mozac_ic_download 2022-01-21 00:29:08 +00:00
Gabriel Luong
4fc0b820a0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Replace @drawble/ic_lock with @drawable/mozac_ic_lock 2022-01-21 00:29:08 +00:00
Gabriel Luong
5a66fd7824 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Replace @drawble/ic_desktop with @drawable/mozac_ic_device_desktop 2022-01-21 00:29:08 +00:00
Gabriel Luong
d9bec9ba36 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Replace @drawble/ic_close with @drawable/mozac_ic_close 2022-01-21 00:29:08 +00:00
Gabriel Luong
17c7edb7ed [fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Replace @drawble/ic_delete with @drawable/mozac_ic_delete 2022-01-21 00:29:08 +00:00
Gabriel Luong
dfc62d921a [fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Replace @drawble/ic_chevron_up with @drawable/mozac_ic_arrowhead_up 2022-01-21 00:29:08 +00:00
Gabriel Luong
ff4e68cd67 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Replace @drawble/ic_chevron_down with @drawable/mozac_ic_arrowhead_down 2022-01-21 00:29:08 +00:00
Gabriel Luong
7f3ee4eedf [fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Replace @drawble/ic_back_button with @drawable/mozac_ic_back 2022-01-21 00:29:08 +00:00
Gabriel Luong
da22b99398 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Replace @drawable/ic_arrowhead_right with @drawable/mozac_ic_arrowhead_right 2022-01-21 00:29:08 +00:00
Gabriel Luong
37b4cfaa35 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Replace @drawable/ic_new with @drawable/mozac_ic_new 2022-01-21 00:29:08 +00:00
Gabriel Luong
92992cbb64 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23121 - Replace @drawable/ic_addons_extensions with @drawable/mozac_ic_extensions 2022-01-21 00:29:08 +00:00
Gabriel Luong
757c6e3dde [fenix] For https://github.com/mozilla-mobile/fenix/issues/23317 - Update tab tray menu button color to @color/fx_mobile_icon_color_primary 2022-01-20 22:21:53 +00:00
Gabriel Luong
9bf0f1433f [fenix] For https://github.com/mozilla-mobile/fenix/issues/23317 - Update inactive tab tray icon color to @color/fx_mobile_icon_color_primary_inactive 2022-01-20 22:21:53 +00:00
Gabriel Luong
9a8a29050a [fenix] For https://github.com/mozilla-mobile/fenix/issues/23317 - Update selected tab tray icon color to @color/fx_mobile_icon_color_active 2022-01-20 22:21:53 +00:00
Roger Yang
96d0dfae36 [fenix] No issue: Remove showHistorySearchGroups feature flag 2022-01-20 18:39:14 +00:00
Aaron Train
463028b353 [fenix] No issue: Update PWA package name in mainMenuInstallPWATest (https://github.com/mozilla-mobile/fenix/pull/23335) 2022-01-20 12:23:24 -05:00
Oana Horvath
ff6e060e03 [fenix] [UI smoke test] For https://github.com/mozilla-mobile/fenix/issues/21002: Ads new audio-video permissions test 2022-01-20 15:58:05 +00:00
Gabriel Luong
7b68f83e10 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23319 - Replace mozac_widget_favicon_background_color to @color/fx_mobile_layer_color_2
@color/mozac_widget_favicon_background_normal_theme and @color/fx_mobile_layer_color_2 are equivalent
2022-01-20 14:03:44 +00:00
Gabriel Luong
3624610cb7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23323 - Remove addOnPrivateBrowsingInteriorIconBackground attribute 2022-01-20 12:18:54 +00:00
Oana Horvath
aa9005e888 [fenix] [UI smoke test] For https://github.com/mozilla-mobile/fenix/issues/21002: Ads app permissions UI tests 2022-01-20 08:37:18 +00:00
mcarare
94e5e66315 [fenix] Set a minimum number of sites a search group should contain. 2022-01-20 07:38:42 +00:00
Mozilla L10n Automation Bot
aff6868463 [fenix] Import l10n. 2022-01-20 01:29:21 +00:00
Gabriel Luong
eaad6f4ac6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23289 - Update the checkbox background color to @color/fx_mobile_layer_color_accent 2022-01-20 00:50:46 +00:00
Gabriel Luong
3c81494caa [fenix] For https://github.com/mozilla-mobile/fenix/issues/23304 - Add a setting for enabling Contile 2022-01-20 00:18:11 +00:00
Gabriel Luong
c63d97fe6e [fenix] For https://github.com/mozilla-mobile/fenix/issues/23287 - Replace @color/tab_tray_item_divider_normal_theme with @color/fx_mobile_border_color_default 2022-01-19 23:21:51 +00:00
Gabriel Luong
b8affa017d [fenix] For https://github.com/mozilla-mobile/fenix/issues/23281 - Replace @color/top_site_pager_dot_selected with @color/fx_mobile_action_color_indicator_active 2022-01-19 22:49:14 +00:00
Gabriel Luong
6182fbe8ca [fenix] For https://github.com/mozilla-mobile/fenix/issues/23281 - Replace @color/top_site_pager_dot with @color/fx_mobile_action_color_indicator_inactive 2022-01-19 22:49:14 +00:00
Gabriel Luong
dfe9f0dd90 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23285 - Replace @color/tab_tray_item_url_normal_theme with @color/fx_mobile_text_color_secondary 2022-01-19 22:11:12 +00:00
Aaron Train
e13def64fc [fenix] Update assets.md
fix: fixed URL
2022-01-19 20:31:11 +00:00
Aaron Train
f27b28cd3f [fenix] No issue: Create an asset readme for UI tests 2022-01-19 20:31:11 +00:00
Noah Bond
62b713be4d [fenix] For https://github.com/mozilla-mobile/fenix/issues/23159 - Created setting to turn off the Contile feature 2022-01-19 19:58:31 +00:00
Gabriel Luong
33065074ba [fenix] For https://github.com/mozilla-mobile/fenix/issues/23293 - Add @color/fx_mobile_icon_color_primary_inactive and @color/fx_mobile_icon_color_active 2022-01-19 19:29:18 +00:00
mcarare
d6e29fb1c4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23256: Close quick settings sheet when displaying clear dialog. 2022-01-19 18:46:01 +00:00
mcarare
59beaaa609 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23256: Pass navController instance instead of lambda. 2022-01-19 18:46:01 +00:00
Gabriel Luong
73f65630f8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23283 - Replace @color/accent_on_dark_background_normal_theme with @color/fx_mobile_text_color_accent 2022-01-19 18:05:45 +00:00
Alexandru2909
d53a8ed554 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23272 - AddLoginFragment use showKeyboard from Components 2022-01-19 14:46:09 +00:00
Roger Yang
e33f407e9c [fenix] Close https://github.com/mozilla-mobile/fenix/issues/22956: Define "tags" for metrics in the app repository
Co-authored-by: William Lachance <wlach@protonmail.com>

Define "tags" for metrics in the app repository

Using the new "tags" feature in Glean, we can remove most of the
manual process/pain of defining tags in a seperate Glean annotations
repository (see: https://github.com/mozilla-mobile/fenix/wiki/Add-a-Glean-Annotation-for-an-event)
and just put them beside the metrics themselves. This should make it
much easier to keep this metadata up to date, since it can be added
in the same pull request as the instrumentation itself.

To keep the list of tags up to date with the Fenix issue labels, a new
script `update-glean-tags.py` has been added to the repository. It
should not need to be run often.

This pull request uses a scraped version of the defined tags in the
Glean annotations repository. After it lands, we can remove those and
just use the tagging information here as the main source of information.
2022-01-18 23:31:11 +00:00
Gabriel Luong
dd714d3a15 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23266 - Update the tabs tray multi-select background color to @color/fx_mobile_layer_color_accent 2022-01-18 23:03:06 +00:00
Roger Yang
1b420ea198 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/23250: Remove duplicate sites within a time period in history 2022-01-18 22:17:10 +00:00
Gabriel Luong
7839425788 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23263 - Replace @color/tab_tray_item_media_background_normal_theme with @color/accent_normal_theme 2022-01-18 21:48:21 +00:00
Gabriel Luong
73c0a08eef [fenix] For https://github.com/mozilla-mobile/fenix/issues/23263 - Replace @color/tab_tray_heading_icon_normal_theme with @color/accent_normal_theme 2022-01-18 21:48:21 +00:00
Gabriel Luong
235c026c38 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22727 - Add Contile to Top Sites 2022-01-18 20:13:43 +00:00
Gabriel Luong
d6b7f7adaf [fenix] For https://github.com/mozilla-mobile/fenix/issues/23255 - Replace @color/disabled_private_theme with @color/fx_mobile_private_text_color_disabled 2022-01-18 18:58:58 +00:00
mcarare
47424e8f00 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22477: Ignore null and empty values for share data title. 2022-01-18 17:18:35 +00:00
Sarah Khan
5a86929bf5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23138 - Close recently visited menu on orientation change 2022-01-18 16:43:31 +00:00
Oana Horvath
4cc2e61f8e [fenix] For https://github.com/mozilla-mobile/fenix/issues/21002: improve Manage Downloads smoke tests coverage
Add parametrized test for downloading various file types
2022-01-18 15:47:47 +00:00
Christian Sadilek
78a5a4bde0 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/22256: Ignore intermittent editCustomSearchEngineTest 2022-01-18 00:50:33 +00:00
Gabriel Luong
96a98e0e00 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23260 - Remove @color/debug_launcher_background redirection 2022-01-17 22:16:33 +00:00
Gabriel Luong
b485f493c5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23260 - Remove @color/nightly_launcher_background redirection 2022-01-17 22:16:33 +00:00
Gabriel Luong
f66534cf6b [fenix] For https://github.com/mozilla-mobile/fenix/issues/23260 - Remove @color/onboarding_card_background_end_gradient_normal_theme redirection 2022-01-17 22:16:33 +00:00
Gabriel Luong
c72caa3fcd [fenix] For https://github.com/mozilla-mobile/fenix/issues/23260 - Remove @color/onboarding_card_background_end_gradient_private_theme redirection 2022-01-17 22:16:33 +00:00
Gabriel Luong
8397528028 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23260 - Remove @color/onboarding_card_background_start_gradient_private_theme redirection 2022-01-17 22:16:33 +00:00
Gabriel Luong
dad3eb6324 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23260 - Remove @color/onboarding_card_background_start_gradient_normal_theme redirection 2022-01-17 22:16:33 +00:00
Gabriel Luong
79e1edc835 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23260 - Remove @color/add_on_private_browsing_interior_icon_background_normal_theme redirection 2022-01-17 22:16:33 +00:00
Gabriel Luong
8bd2e327a5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23260 - Remove @color/add_on_private_browsing_exterior_circle_background_private_theme redirection 2022-01-17 22:16:33 +00:00
Gabriel Luong
9406ea5a6a [fenix] For https://github.com/mozilla-mobile/fenix/issues/23260 - Remove @color/add_on_private_browsing_interior_icon_background_private_theme redirection 2022-01-17 22:16:33 +00:00
Gabriel Luong
632ce60e19 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23260 - Remove @color/tab_history_item_selected_background_private_theme redirection 2022-01-17 22:16:33 +00:00
Gabriel Luong
684a3ed086 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23260 - Remove @color/tab_tray_item_text_normal_theme redirection 2022-01-17 22:16:33 +00:00
Gabriel Luong
546ab5478d [fenix] Update accentBright attribute to @color/photonViolet70 2022-01-17 22:16:33 +00:00
Gabriel Luong
b3fd80904c [fenix] For https://github.com/mozilla-mobile/fenix/issues/23248 - Replace @color/menu_item_button_normal_theme with @color/fx_mobile_text_color_accent 2022-01-17 21:46:37 +00:00
Gabriel Luong
64ad971e63 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23247 - Replace @color/destructive_private_theme with @color/fx_mobile_private_text_color_warning_dark 2022-01-17 21:21:19 +00:00
Gabriel Luong
97f98492c1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23242 - Ignore UnusedResources for @color/mozac_feature_readerview_text_color 2022-01-17 20:26:00 +00:00
Gabriel Luong
7b288ddf82 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23242 - Ignore UnusedResources for @color/mozac_ui_tabcounter_default_[tint|text] 2022-01-17 20:26:00 +00:00
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
Sebastian Kaspari
e76776647c [fenix] Android Autofill: Enable keyboard inline autofill suggestions 2021-12-02 11:43:52 +00:00
Roger Yang
9534fa2356 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/20701: Dismiss keyboard when scrolling home screen 2021-12-01 23:56:46 +00:00
Mozilla L10n Automation Bot
313a3a6504 [fenix] Import l10n. 2021-12-01 03:35:53 +00:00
rxu
892989f0dd [fenix] Add distribution_id into first session ping 2021-12-01 03:05:57 +00:00
Mozilla L10n Automation Bot
3de1b505c2 [fenix] Import l10n. 2021-11-30 23:21:51 +00:00
Gabriel Luong
7b54536a7e [fenix] For https://github.com/mozilla-mobile/fenix/issues/22592 - Refactor hideOnboardingIfNeeded() calls when the home menu items are tapped 2021-11-30 22:48:25 +00:00
Mugurell
f70dfb6ef9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22534 - Show history highlights and groups in "Recently visited" (https://github.com/mozilla-mobile/fenix/pull/22535)
* For https://github.com/mozilla-mobile/fenix/issues/22534 - Update homescreen section name to "Recently visited"

* For https://github.com/mozilla-mobile/fenix/issues/22534 - Show both history highlights and groups in Recently visited

For now the metadata groups don't support scoring so as an interim solution we
will show up to 9 items, evenly distributes, first favoring groups sorted by
date then history highlights pre-sorted by default.

Tapping a history highlight will switch to it's already open tab if available
or create a new one in which to load it if needed.

A "Remove" option will also be available for history highlights to remove it
from the screen and also from history.
Currently removing a group / highlight will not query new ones to again show up
to 9 items, this will be implemented separately.

* For https://github.com/mozilla-mobile/fenix/issues/22534 - Rename and refactor historymetadata to recentvisits

The updated feature supports more than history metadata so updating the overall
naming scheme seems needed.
To signal that this is a homescreen feature the entire package is moved to home

* For https://github.com/mozilla-mobile/fenix/issues/22534 - Update UI tests to account for the new items space on the screen

Saw failures about not finding the collection section on screen.
This is probably happening because w are now adding the recent visits to
homescreen above the collections section pushing it off screen.

Since the collections might be obstructed by the toolbar shown on top as a
quick solution we'll scroll to the next homescreen section so that the
collections will be shown above in their entirety.

* Update app/src/main/java/org/mozilla/fenix/home/recentvisits/RecentVisitsFeature.kt

Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>

* Update app/src/main/java/org/mozilla/fenix/home/recentvisits/RecentVisitsFeature.kt

Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>

Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-29 20:12:52 +00:00
Noah Bond
97e59a9717 [fenix] Tab group count telemetry (https://github.com/mozilla-mobile/fenix/pull/22479)
* For https://github.com/mozilla-mobile/fenix/issues/22410 - Refactored tab sorter metrics into a middleware

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Created distribution metric for tab group sizes

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Created tests for tabs tray middleware

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Merge fixes

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Added PR number to metric

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Fixed unit tests post merge. Added waitUntilIdle to new tests.

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Added missing line to middleware to have the Store process actions

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Updated metric expiration to December

* For https://github.com/mozilla-mobile/fenix/issues/22410 - PR Feedback

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Removed else from middleware when
2021-11-29 18:16:57 +00:00
Mozilla L10n Automation Bot
be8dce555b [fenix] Import l10n. 2021-11-29 00:45:55 +00:00
Mozilla L10n Automation Bot
6f49599ea3 [fenix] Import l10n. 2021-11-27 00:46:13 +00:00
Gabriel Luong
c7aea80bb2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22595 - Remove unused OnboardingAutomaticSignInViewHolder 2021-11-26 20:44:07 +00:00
Sebastian Kaspari
f1a4296eb6 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/22552: Optimize PNGs with ImageOptim 2021-11-26 12:44:54 +00:00
Gabriel Luong
5b069b2ece [fenix] For https://github.com/mozilla-mobile/fenix/issues/22211 - Use Hero images for Recent Bookmarks 2021-11-25 20:35:55 +00:00
Arturo Mejia
72a0b5703c [fenix] Update Android Components version to 96.0.20211125162700. 2021-11-25 14:26:21 -05:00
Arturo Mejia
4cc4e1c67d [fenix] Improve loading URLs 2021-11-25 14:26:21 -05:00
Sebastian Kaspari
798c9bc294 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/22580: Track APK size in perfherder 2021-11-25 16:48:49 +00:00
Sebastian Kaspari
a65a9591b8 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/12731: Disable suspending of engine sessions under memory pressure in Nightly 2021-11-25 14:44:04 +00:00
Mugurell
e665397890 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22442 - Don't display individual tab if part of the Jump back in tabs group
We'll show as a recent tab the next most recent tab not part of the last active
search group.
2021-11-25 09:16:15 +00:00
Mugurell
3dea07855e [fenix] For https://github.com/mozilla-mobile/fenix/issues/22442 - Don't display history group if already in Jump back in 2021-11-25 09:16:15 +00:00
AndiAJ
c09104308d [fenix] New text search UI smoke tests 2021-11-25 08:38:27 +00:00