2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-15 18:12:54 +00:00
Commit Graph

5543 Commits

Author SHA1 Message Date
Mugurell
779f4fc704 For #22502 - Keep the previous string resource until safe to remove
See https://github.com/mozilla-mobile/fenix/issues/20871
2021-11-25 08:07:12 +00:00
Gabriel Luong
749da13516 For #22250 - Convert Recent Bookmarks to Jetpack Compose 2021-11-24 19:10:48 +00:00
Grisha Kruglov
413ff7cd85 Closes #22499: Emit search group disband action on history group removal
This is needed to prevent removed search groups from coming back after
user interacts with the tab. E.g. if we don't fire this action, upon
interaction with the tab after a corresponding search group was removed
we will end up creating metadat with the deleted 'searchTerms' (they'll
be read from the 'historyMetadata' state on the tab).

At this point we probably want to start encapsulating all of this in a
use case - let's do that separately in
https://github.com/mozilla-mobile/android-components/issues/11309, and
just fix the bug for now.
2021-11-24 17:52:59 +00:00
Mozilla L10n Automation Bot
de30610aa6 Import l10n. 2021-11-23 22:32:50 +00:00
Arturo Mejia
7b7ef2e661 For issue #22537 crash: BookmarkFragment is attached to a context 2021-11-23 21:53:47 +00:00
Arturo Mejia
74406bef59 For issue #5298 the same page appears in the History section multiple times 2021-11-22 14:18:42 -05:00
Mugurell
888bbc770e For #22502 - Update "Jump back in" group's subtitle format 2021-11-22 07:50:35 +00:00
Mozilla L10n Automation Bot
396c51d569 Import l10n. 2021-11-21 00:37:05 +00:00
Mozilla L10n Automation Bot
708b78d3a0 Import l10n. 2021-11-20 15:35:23 +00:00
Mozilla L10n Automation Bot
f0a3653d7b Import l10n. 2021-11-19 00:51:12 +00:00
Grisha Kruglov
63154a18f9 Closes #22484 - Track direct loads per tab; fix search term lookup
This patch fixes two problems:
1) We were treating "direct tab load" as an event which applies
   uniformally to all tabs, even though it's actually an event which
   happens for a specific tab. This lead to background tabs (pages opened as new tab)
   setting the direct load flag, and then a simultaneously loading
   parent tab would incorrectly interpret that flag for itself.

   The patch switches this tracking from a simple boolean (are we direct
   loading?) to a set of tab IDs that are currently direct loading.

2) In a case when a background tab was loading with a parent who's
   search terms were cleared by a direct load, we were not trying to
   lookup search terms on the background tab's historyMetadata key,
   which exists to capture search terms for this exact scenario.

   The patch adds an additional fallback lookup for that path.
2021-11-18 15:52:01 +00:00
Grisha Kruglov
77672dfa15 Post: move group removal logic into PagedHistoryProvider
This moves the group removal logic to the place where the groups are
actually formed. This helps clean-up the fragment code a bit, and
removes the awkward 'allow mutate some random internal state' API from
the provider.
2021-11-17 16:48:25 -05:00
Grisha Kruglov
45d4807bfe Closes #22472: Filter out redirects from History search groups 2021-11-17 16:48:25 -05:00
Mozilla L10n Automation Bot
364fecf9d4 Import l10n. 2021-11-17 02:12:26 +00:00
Christian Sadilek
8c88561d4b Update lastAccess timestamp of selected tab when launching to home 2021-11-17 01:04:22 +00:00
Roger Yang
24e4452cb5 Close #22402: Add top placeholder for home 2021-11-16 23:05:45 +00:00
Noah Bond
dde916038d
MR2 Telemetry: Homescreen view count (#22377)
* For #22146 - Added counter for home screen views

* For #22146 - Added PR number to metrics

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-16 22:30:48 +00:00
Mugurell
d4a6facd81 For #22155 - Store inactive tabs count telemetry when user opens tabs tray
Setting this value in FenixApplication.onCreate was buggy because of a race
with restoring BrowserState.
Setting it here would ensure a better granularity of the events and so to more
accurate reporting.
2021-11-16 21:04:16 +00:00
Mugurell
17865bdf66 For #22147 - New search term groups telemetry 2021-11-16 16:40:07 +00:00
Mozilla L10n Automation Bot
f466d65256 Import l10n. 2021-11-16 01:33:06 +00:00
Arturo Mejia
94a543a403 For #22271 Improve URL accessing from the clipboard for Android 12 and above. 2021-11-15 15:24:52 +00:00
Mugurell
c42ccb4966 For #22388 - Update content description of the delete button 2021-11-15 08:00:20 +00:00
Mozilla L10n Automation Bot
abcafa55f0 Import l10n. 2021-11-14 00:44:24 +00:00
Mozilla L10n Automation Bot
d29fd55c8b Import l10n. 2021-11-12 00:31:53 +00:00
Mozilla L10n Automation Bot
b0ad98a204 Import l10n. 2021-11-11 00:48:58 +00:00
Noah Bond
811f255b71
MR2 Telemetry: Opening screen preference (#22333)
* For #22145 - Added telemetry to the opening screen preference.

* For #22145 - Added PR number to metric

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-10 20:13:40 +00:00
Noah Bond
2e5555d034
MR2 telemetry - Inactive tabs CFR (#22301)
* For #22298 - Added telemetry to inactive tabs CFR

* For #22298 - added PR issue number to metrics

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-10 19:47:21 +00:00
Jonathan Almeida
e3b6e00331 Close #22223: Move to the selected page when switching modes 2021-11-10 18:25:44 +00:00
Mozilla L10n Automation Bot
210587b735 Import l10n. 2021-11-10 00:32:32 +00:00
Grisha Kruglov
9a4a4713ac No issue: clean up code duplication in PagedHistoryProvider 2021-11-09 23:41:54 +00:00
Ben Dean-Kawamura
df953b0021 Make findDuplicate() suspend
findLoginToUpdate() should be suspend, but I didn't get mark it that way
on the initial logins work.  Let's make this one suspend, then I can
update findLoginToUpdate() in a-c.
2021-11-09 15:59:33 +00:00
Mozilla L10n Automation Bot
e52000bb20 Import l10n. 2021-11-09 00:41:29 +00:00
Jonathan Almeida
8ced675817 No issue: Correct TabsTrayAction naming 2021-11-08 22:28:31 +00:00
Jonathan Almeida
08b15689b1 Close #22305: Use TabsTrayStore for populating adapters 2021-11-08 22:28:31 +00:00
Jonathan Almeida
f16300392d Close #22305: Add tab state into the TabsTrayStore 2021-11-08 22:28:31 +00:00
Michael Comella
c026d8b28a For #21084: put git hash on About screen in release builds. 2021-11-08 19:15:16 +00:00
Mugurell
953f6feb17 For #22155 - The inactiveTabsCount probe reports actualInactiveTabs number 2021-11-08 12:32:39 +00:00
Mugurell
f9b67091c6 For #22155 - New BrowserState.actualInactiveTabs public method
This allows querying from all throughout the app which of the current tabs are
inactive while taking into consideration whether the feature is enabled or not
such that when the feature is disabled it will always return an empty result.
2021-11-08 12:32:39 +00:00
Mozilla L10n Automation Bot
2089c29fea Import l10n. 2021-11-08 00:43:25 +00:00
Mozilla L10n Automation Bot
8c2cdaa3ff Import l10n. 2021-11-07 00:35:09 +00:00
Mozilla L10n Automation Bot
06f57fdcfe Import l10n. 2021-11-06 01:13:44 +00:00
mike a
d69b5ed456 For #21816: Filename in "Open" PDF dialog overflows screen
Changing the download file name length to the max allowed by AS (251 char, won’t compile if more; max would be 260 for latest windows versions, but generally it is 255), and changing the UI test to check if the long file name is fully visible.
Changing the downloaded dialog layout to properly display really long file names.
2021-11-06 00:23:41 +00:00
Grisha Kruglov
5b889fdb96 For #22342: Make layout constraint for 'recent bookmarks' the same as other sections 2021-11-05 16:49:42 -07:00
Sebastian Kaspari
8c9f0c835a Closes #21695: ThreadPenaltyDeathWithIgnoresListener: Ignore stack traces containing InstrumentationHooks class 2021-11-05 18:21:34 +00:00
Mozilla L10n Automation Bot
7e66c02363 Import l10n. 2021-11-05 00:48:20 +00:00
Roger Yang
04618983aa Close #22299: Add history search term group telemetry 2021-11-04 22:08:56 +00:00
Grisha Kruglov
294997e559 No issue: history view search group missing
Our boundary conditions for matching search groups to visits was wrong.

This change switches the boundary buffer to only be applied to history
items, not the metadata items.

In other words, when checking if any of the metadata items match the
current "page" of history, we'll be looking to see if the item falls
within this time window:
buffer - oldest history item <= metadata item <= newest history item +
buffer

There's a separate problem with buffer though: it's reset to 0 when requested
offset is >0, but that requires a larger refactor of this code, for a
separate PR.
2021-11-04 16:02:18 +00:00
Mozilla L10n Automation Bot
ed0389abe3 Import l10n. 2021-11-04 14:44:09 +00:00
Michael Comella
7d67b84a92 For #22177: add SearchDialogFragmentConstraintLayout; has markers.
Here's a profile with these changes: https://share.firefox.dev/3vTpZha
2021-11-04 05:26:39 +00:00
Michael Comella
bc6d8be9c1 For #22177: change onMeasure/onLayout markers into a single track + draw.
When you want to look at one of these markers, you usually want to look
at all three so I found that having them on a single track was easier to
follow. Since they run in sequence, they should never overlap and that
should minimize confusion.
2021-11-04 05:26:39 +00:00
Michael Comella
ed8f2c0bc3 For #22177: rename RootLinearLayout -> HomeActivityRoot...
This is so we can be more specific with the detail text in our markers.
2021-11-04 05:26:39 +00:00
Elise Richards
4f55f16bd7
For #21313: Remove expiring/unused metrics for December (#21789)
* Remove crash reporter metrics

* Remove tab counter menu item probe

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-04 03:54:18 +00:00
Christian Sadilek
76bb0c3b37 Closes #21659: Add SERPs to history search groups 2021-11-03 23:19:46 -04:00
Noah Bond
8caefbe2d5
Recent bookmark count telemetry (#22293)
* For #22075 - Added event to track the count of recent bookmarks

* For #22075 - Added data review issue number

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-04 00:14:21 +00:00
Arturo Mejia
cff78afe27 For #22078 Selecting search group in Jump back in switches active tab 2021-11-03 22:02:22 +00:00
Matt Boris
1809bea49d For #22281 Fix studies opt out learn more link 2021-11-03 20:19:49 +00:00
Gabriel Luong
6747e9d554 For #21973 - Remove @color/search_suggestion_indicator_icon_color_dark_theme redirection 2021-11-03 19:38:26 +00:00
Gabriel Luong
baa8c6582a For #21973 - Remove @color/accent_dark_theme redirection 2021-11-03 19:38:26 +00:00
Gabriel Luong
6770a70bdd For #21973 - Remove @color/foundation_dark_theme redirection 2021-11-03 19:38:26 +00:00
Gabriel Luong
f7f942f2d9 For #21973 - Remove @color/tab_tray_selected_mask_dark_theme redirection 2021-11-03 19:38:26 +00:00
Gabriel Luong
d6002f3307 For #21973 - Remove @color/tab_tray_item_thumbnail_icon_dark_theme redirection 2021-11-03 19:38:26 +00:00
Gabriel Luong
b7c3d0ec5a For #21973 - Remove @color/tab_tray_item_thumbnail_background_dark_theme redirection 2021-11-03 19:38:26 +00:00
Gabriel Luong
e304885581 For #21973 - Remove @color/tab_tray_heading_icon_menu_dark_theme redirection 2021-11-03 19:38:26 +00:00
Gabriel Luong
8d9550a6a7 For #21973 - Remove @color/tab_tray_item_media_background_dark_them redirection 2021-11-03 19:38:26 +00:00
Gabriel Luong
2b996a607c For #21973 - Remove @color/tab_tray_item_divider_dark_theme redirection 2021-11-03 19:38:26 +00:00
Gabriel Luong
19a947240b For #21973 - Remove @color/tab_tray_toolbar_background_dark_theme redirection 2021-11-03 19:38:26 +00:00
Gabriel Luong
3fd6f4c420 For #21973 - Remove @color/tab_tray_item_background_dark_theme redirection 2021-11-03 19:38:26 +00:00
Gabriel Luong
ee59848064 For #21973 - Remove @color/tab_tray_item_url_dark_theme redirection 2021-11-03 19:38:26 +00:00
Gabriel Luong
498d8ccc19 For #21973 - Remove @color/tab_tray_item_text_dark_theme redirection 2021-11-03 19:38:26 +00:00
Michael Comella
0c079fde91 Closes #22213: add marker for LayoutInflater.inflate.
Here is a profile with this change: https://share.firefox.dev/3mlQSHu
2021-11-03 19:06:48 +00:00
Mozilla L10n Automation Bot
3f7cd1be8c Import l10n. 2021-11-03 01:04:35 +00:00
Arturo Mejia
2061779938 For #22170 record auto-close prompt telemetry events 2021-11-03 00:26:17 +00:00
Roger Yang
930599407c No issue: Show snackbar when opening non-http URL 2021-11-02 23:44:15 +00:00
Noah Bond
a06b04ec6d
MR2 Telemetry: Recent tabs section probe (#22166)
* For #22107 - Added probe to track if the Recent tabs / jump back in section is visible

* For #22107 - Fixed lint errors

* For #22107 - added data review number to metric

* For #22166 - fixed expiration date

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-02 23:08:30 +00:00
Gabriel Luong
9a53a12c57 For #21973 - Remove @color/onboarding_illustration_deselected_dark_theme redirection 2021-11-02 22:35:46 +00:00
Gabriel Luong
e586d27983 For #21973 - Remove @color/search_suggestion_indicator_icon_bookmark_color_dark_theme redirection 2021-11-02 22:35:46 +00:00
Gabriel Luong
5c32efa9a3 For #21973 - Remove @color/preference_section_header_dark_theme redirection 2021-11-02 22:35:46 +00:00
Gabriel Luong
0cb91151b1 For #21973 - Remove @color/prompt_login_edit_text_cursor_color_dark_theme redirection 2021-11-02 22:35:46 +00:00
Gabriel Luong
f436d3ef02 For #21973 - Remove @color/add_on_private_browsing_interior_icon_background_dark_theme redirection 2021-11-02 22:35:46 +00:00
Gabriel Luong
90fd1ea363 For #21973 - Remove @color/add_on_private_browsing_exterior_circle_background_dark_theme redirection 2021-11-02 22:35:46 +00:00
Gabriel Luong
830ade29f9 For #21973 - Remove @color/sync_disconnected_background_dark_theme redirection 2021-11-02 22:35:46 +00:00
Gabriel Luong
eb6de2b21c For #21973 - Remove @color/sync_disconnected_icon_fill_dark_theme redirection 2021-11-02 22:35:46 +00:00
Gabriel Luong
c9afe46dd6 For #21973 - Remove @color/toolbar_[start|center|end]_gradient_dark_theme redirection 2021-11-02 22:35:46 +00:00
Gabriel Luong
6923a27be7 For #21973 - Remove @color/toolbar_divider_color_dark_theme redirection 2021-11-02 22:35:46 +00:00
Gabriel Luong
37058f596e For #21973 - Remove @color/swipe_delete_background_dark_theme redirection 2021-11-02 22:35:46 +00:00
Gabriel Luong
3cf985d09c For #21973 - Remove @color/onboarding_illustration_selected_dark_theme redirection 2021-11-02 22:35:46 +00:00
Gabriel Luong
d71447a691 For #21973 - Remove @color/onboarding_card_background_[start|end]_gradient_dark_theme redirection 2021-11-02 19:49:20 +00:00
Gabriel Luong
075f3a3dd9 For #21973 - Remove @color/disabled_dark_theme redirection 2021-11-02 19:49:20 +00:00
Gabriel Luong
25592dc25c For #21973 - Remove @color/shadow_dark_theme redirection 2021-11-02 19:49:20 +00:00
Gabriel Luong
35a235c598 For #21973 - Remove @color/neutral_faded_dark_theme redirection 2021-11-02 19:49:20 +00:00
Gabriel Luong
2f4e0e14ba For #21973 - Remove @color/neutral_dark_theme redirection 2021-11-02 19:49:20 +00:00
Gabriel Luong
b682f2d5c5 For #21973 - Remove @color/tab_ring_dark_theme redirection 2021-11-02 19:49:20 +00:00
Gabriel Luong
7019e32f40 For #21973 - Remove @color/scrimEnd_dark_theme redirection 2021-11-02 19:49:20 +00:00
Gabriel Luong
ee96021f19 For #21973 - Remove @color/scrimStart_dark_theme redirection 2021-11-02 19:49:20 +00:00
Gabriel Luong
d516eefb1d For #21973 - Remove @color/recently_used_share_menu_dark_theme redirection 2021-11-02 19:49:20 +00:00
Gabriel Luong
ec259fbfd7 For #21973 - Remove @color/tab_history_item_selected_background_light_theme redirection 2021-11-02 19:49:20 +00:00
Gabriel Luong
dff26e0ce1 For #21973 - Remove @color/menu_item_button_light_theme redirection 2021-11-02 19:49:20 +00:00
Gabriel Luong
e50a2b3cb3 For #21973 - Remove @color/search_suggestion_indicator_icon_bookmark_color_light_theme redirection 2021-11-02 19:49:20 +00:00
Gabriel Luong
f5f96d8766 For #21973 - Remove @color/search_suggestion_indicator_icon_color_light_them redirection 2021-11-02 19:49:20 +00:00
Gabriel Luong
679d7e5161 For #21973 - Remove @color/prompt_login_edit_text_cursor_color_light_them redirection 2021-11-02 19:49:20 +00:00