2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-09 19:10:42 +00:00
Commit Graph

3912 Commits

Author SHA1 Message Date
Elise Richards
2392c7e565 Remove master password telemetry. 2021-08-31 18:28:05 +00:00
Gabriel Luong
4080eba225 For #21037 - Add a delete history menu item
This removes the existing "Delete history" button in the History in favour of a menu item
2021-08-31 18:02:09 +00:00
Sebastian Kaspari
846274b7cd Enable Android Autofill support in all build types. 2021-08-30 18:20:22 +00:00
Gabriel Luong
e4a25f4123 For #21035 - Refactor HistoryViewInteractor from HistoryView into HistoryInteractor 2021-08-26 21:04:49 +00:00
Christian Sadilek
597b73c732 Dedupe history metadata in groups based on url 2021-08-25 20:19:50 +00:00
Arturo Mejia
37c26976ac For #20919 add confirm dialog when turning on/off experiments 2021-08-24 23:47:14 +00:00
Elise Richards
41825022e7
For #19931: Add telemetry probes for recent bookmarks on home screen (#20316)
* Add telemetry probes for recent bookmarks on home screen. Tests for controller.

* Make the events into counters in the metrics ping

Update tests to reflect new metrics

Add data review link for new metrics

Mock new settings for startup metrics tests

Update metrics

Add test for recent bookmark glean events

* Recent bookmarks controller tests
2021-08-24 12:30:13 -07:00
Mugurell
09e8d34c26 For #20507 - Inactive tabs telemetry
Two new events are added:
- "inactive_tabs_expanded" for when the inactive tabs section is expanded
- "inactive_tabs_collapsed" for when the inactive tabs section is collapsed

For tracking when an inactive tab is opened / closed I've repurposed the
existing tabs tray telemetry (since the functionality uses the same code)
- tabs_tray.opened_existing_tab
- tabs_tray.closed_existing_tab
to support an extra "source" key indicating the feature from which a tab was
opened or closed. The current values for this new key are:
- "Tabs tray" for when a tab was opened/closed from tabs tray
- "Inactive tabs" for when a tab was openes/closed from the Inactive tabs
section of the tabs tray.
2021-08-24 12:10:58 +00:00
Mugurell
cb32b1437e For #17917 - Remove the kotlin-android-extensions plugin
This means no code will be generated by Kotlin Android Extensions for caching
views and also for @Parcelize annotated classes.

As recommended in the official documentation
https://developer.android.com/topic/libraries/view-binding/migration#gradle
we need to switch on using `kotlinx.parcelize.Parcelize` instead of
`import kotlinx.android.parcel.Parcelize`

For #17917 - Remove the `kotlin-android-extensions` plugin

This means no code will be generated by Kotlin Android Extensions for caching
views and also for @Parcelize annotated classes.

As recommended in the official documentation
https://developer.android.com/topic/libraries/view-binding/migration#gradle
we need to switch on using `kotlinx.parcelize.Parcelize` instead of
`import kotlinx.android.parcel.Parcelize`
2021-08-24 10:26:36 +00:00
Mugurell
621c388c12 For #17917 - Finish migrating all synthetics usages 2021-08-24 10:26:36 +00:00
codrut.topliceanu
5e13ead750 For #20328 - Adds telemetry for recentlyClosed button
...from tabsTray, inactiveTabs section.
2021-08-24 09:52:33 +00:00
Grisha Kruglov
6161dc6e8d Closes 20975: Run metadata cleanup after Megazord.init()
This ensures that we do not attempt places initialization before
Megazord.init() finishes, and that touching BrowserStore does not
kick-off places initialization (due to the `cleanup` call being a
side-effect of creating metadata middleware, used as part of the
BrowserStore).

Glean initialization happens before initialize megazord, and it touches
core.store BrowserStore instance, kicking-off places initialization on
an IO thread (due to the cleanup call), which raced megazord
initialization on the main thread.

App init sequence is a bit of a mine-field, so this patch takes the easy
way out and doesn't attempt to re-order initialization sequence. Also,
initializing places as a side-effect of touching BrowserStore was also,
clearly, a bug.
2021-08-23 22:29:46 +00:00
codrut.topliceanu
7070bb5607 For #17917: Use View binding in add-ons 2021-08-23 15:49:22 +00:00
Mugurell
05f74eb620 For #20586 - Put everything behing a secret setting
Not ready for prime-time. Lot of work still to be done.
2021-08-23 14:38:06 +00:00
Mugurell
6ae8c90f41 For #20586 - Basic Jetpack Compose implementation.
This is just the basic skeleton for the feature.
2021-08-23 14:38:06 +00:00
Arturo Mejia
4f163e18e7 For #20892 update connection icons in quick settings 2021-08-23 13:35:45 +00:00
mcarare
83b752afef For #20927: Replace icons with AC icons. 2021-08-23 08:16:55 +00:00
Arturo Mejia
ffad73d646 For #20919 quite the app when turning on/off experiments 2021-08-23 03:39:55 +00:00
Rohan Maity
707918cdc1 For #20596 remove startup timeline probes 2021-08-22 00:57:10 +00:00
Arturo Mejia
d3019986a4 For #20919 quit the after removing a study. 2021-08-20 15:07:00 +00:00
codrut.topliceanu
bf5b4a5655 For #17917: Use View binding in tabs tray 2021-08-20 14:18:39 +00:00
Mugurell
69fa9abdd2 For #17917 - Migrate home from Kotlin synthetics to View Binding. 2021-08-20 13:45:05 +00:00
Mugurell
ff4669a759 For #17917 - Migrate browser from Kotlin synthetics to View Binding. 2021-08-20 13:15:39 +00:00
codrut.topliceanu
34e063669a For #17917: Use View binding in Login Exceptions 2021-08-20 09:44:12 +00:00
rxu
c82af0a97a Add event ping telemetry for the Baidu top site click 2021-08-20 03:46:20 +00:00
Grisha Kruglov
fc7a92bf10 Enable recording of history metadata for all builds
This allows recording part of history metadata to ride the trains.
The UI features are still guarded by the secret settings flag (or,
enabled on debug builds).
2021-08-19 23:07:06 +00:00
Arturo Mejia
8b4190a429 For #20890 when TP is off globally hide TP section on quick settings. 2021-08-19 22:36:25 +00:00
Grisha Kruglov
4b01846ab0 Closes #20901: Do not record viewTime observations when we do not have a set lastAccess
The bug here was that we'd try to record `now - 0` as a viewTime delta.
This isn't just an obviously wrong value to record, but it will also
overflow our storage - we'll end up with a value on disk that doesn't
fit into an i32, but HistoryMetadata.total_view_time is i32 in our Rust
struct. Once that happens, reads that touch this bad row will result in
an overflow and a crash.
2021-08-19 13:30:32 -07:00
Roger Yang
c9b2f9e866 Issue #2783: Add snackbar to collection deletion 2021-08-19 17:06:45 +00:00
Roger Yang
64cd72871f Update Android Components version 2021-08-19 14:04:18 +00:00
codrut.topliceanu
20c9a247f5 For #17917: Use View binding in tracking protection(2) 2021-08-18 07:40:26 +00:00
codrut.topliceanu
c52b6615e5 For #17917: Use View binding in Share views 2021-08-18 03:27:17 +00:00
Arturo Mejia
512475df9e For #19886 integrate view binding. 2021-08-16 16:42:39 -04:00
Gabriel Luong
d1b9744069 For #19886 - Add a back navigation to the Global Quick Settings from the Tracking Protection dialog 2021-08-16 16:42:39 -04:00
Arturo Mejia
34d99f89ac For #19886 - Improve quick setting dialogs navigation 2021-08-16 16:42:39 -04:00
Gabriel Luong
4b2b058b4e For #19886 - Remove tracking protection overlay CFR 2021-08-16 16:42:39 -04:00
Arturo Mejia
07bb1113f8 For #19886 - Add connection sub-menu. 2021-08-16 16:42:39 -04:00
Gabriel Luong
63368779df For #19886 - Add favicon to website info view
Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
2021-08-16 16:42:39 -04:00
Gabriel Luong
61dfb40339 For #19886 - Handle toggling tracking protection in quick settings 2021-08-16 16:42:39 -04:00
Gabriel Luong
cad0e110dd For #19886 - Add navigation from quick settings to tracking protection panel 2021-08-16 16:42:39 -04:00
Gabriel Luong
465f553ea8 For #19886 - Remove the tracking protection indicator 2021-08-16 16:42:39 -04:00
Jonathan Almeida
29b6bab435 Update TabSessionState.createdAt for inactive tabs debugging 2021-08-16 15:53:25 +00:00
Arturo Mejia
22e9e067a1 For #20764 separate learn more string 2021-08-16 11:24:42 -04:00
Arturo Mejia
eb490a898c Remove duplicated line in TabsSettingsFragment 2021-08-16 07:29:52 +00:00
Sebastian Kaspari
2b53df2ed4 Use theming in debug screen. 2021-08-16 07:03:29 +00:00
Jonathan Almeida
708f024d07 Close #20796: Fix intermittent test failure in TrackingProtectionExceptionsInteractorTest 2021-08-14 01:52:52 -04:00
Jonathan Almeida
545a59ac97 Close #20792: Fix intermittent test failures in QuickSettingsFragmentReducerTest 2021-08-14 01:52:52 -04:00
Steven Knipe
1f9b1fa0d5 For #4134 Add Forward Back Reload to Toolbar on Tablets 2021-08-12 13:54:13 +00:00
codrut.topliceanu
f2862eef6a For #20098: Allow PB PiP video screenshots
...when `Allow screenshots in private browsing` is enabled
2021-08-12 06:49:55 +00:00
Rohan Maity
c45703db07 For #20596 remove perf.startup probes 2021-08-11 22:31:52 +00:00
Arturo Mejia
463728e007 For #20764 add screen for opting out of experiments 2021-08-11 16:14:13 -04:00
Arturo Mejia
823c89f4ff For #20672 crash when attempting to disconnect from Mozilla account 2021-08-11 17:39:33 +00:00
codrut.topliceanu
94cf03a1ca For #17917: Use View binding in history screens 2021-08-11 15:29:35 +00:00
codrut.topliceanu
6a1efacf3a For #17917: Use View binding in collections 2021-08-11 08:01:58 +00:00
Vitaly V. Pinchuk
5093e7a5d6 Dismisses search dialog if active in (RecentTabsHeaderViewHolder, RecentBookmarksViewHolderTest) and adapts test for the changes. 2021-08-10 12:01:29 +00:00
Elise Richards
7fdad978a3
For FNXV2-17067: always show home in background behind search dialog (#20573)
* Navigate to home on toolbar click. Handle back press from search dialog

Update tests to show home behind search dialog. Remove unused test.

Jump back in show all button is clickable behind search dialog

Recently saved bookmarks show all button is clickable behind search dialog

* Add feature flag

* Past explorations show all button is clickable behind search dialog

Handle keyboard in controllers instead of viewholders. Update tests.

Allow collections to be visible behind search dialog

Dismiss keyboard and search dialog with navigateUp instead of just dismissing the keyboard

Verify navigateUp in tests

Adding ignore for flaky UI test

Only resize home behind search dialog

Add ignore for collection intermittent test

Cleanup
2021-08-09 15:40:41 +00:00
codrut.topliceanu
003a2ce81a For #17917: Use View binding in downloads screen 2021-08-09 11:06:28 +00:00
mcarare
55ccfda759 For #20425: Re-add tests for class BookmarksUseCaseTest. 2021-08-09 09:46:27 +00:00
Jonathan Almeida
5442798b38 Issue #20718: Show url if title is missing for inactive tabs 2021-08-06 22:00:38 +00:00
Roger Yang
3becd30139 Closes #20723: Fix credit card management fragment binding 2021-08-06 20:59:38 +00:00
Jonathan Almeida
31081073e9 Issue #19956: Add telemetry for tab view setting changes
This differs from `tab_view_setting` which tells us what the user's tab
setting is at startup. It does not tell us if the user explicitly
changed it instead of just using the default (which was recently
changed in #19809).
2021-08-06 19:33:54 +00:00
Christian Sadilek
01555c2bea
Update Android Components version to 92.0.20210806164329 (#20722)
Addresses breaking change in ShortcutsSuggestionProvider
2021-08-06 14:19:56 -04:00
codrut.topliceanu
f9d6380ab3 For #17917: Use View binding in bookmarks screen 2021-08-06 15:52:00 +00:00
Jonathan Almeida
d6bc93981d Issue #20663: Make inactive card collapsible
We use make the inactive tabs section of the tabstray collapsible in
this change, with a technical quirk: we want to make the "isExpanded"
state of the tabs stay for the lifetime of the app and not the tabs
tray, but this functionality does not exist.

In this patch, we're storing the UI state in a singleton class that
exists for the lifetime of the app, but a more concrete solution is to
use an AppStore that holds content like this, which we can land in a
future patch.
2021-08-06 15:23:10 +00:00
codrut.topliceanu
4b21f52db4 For #20310 - Adds Recently Closed button to tabsTray 2021-08-06 12:37:44 +00:00
Grisha Kruglov
ec98db4e54 External source support
Adds handling of information about external referrer (package, category)
when dealing with external intents.
2021-08-05 17:30:00 -07:00
Roger Yang
2ac5a38120 Revert "For #18711: Telemetry for credit card autofill (#19548)"
This reverts commit e0b410efdf.
2021-08-05 18:53:46 +00:00
Roger Yang
2ed4115a6c Revert "For #18711 - Refactor credit card telemetry under the Metrics ping (#19733)"
This reverts commit 172a118a51.
2021-08-05 18:53:46 +00:00
Mugurell
27d3a3f0dd For #20584 - Use CombinedHistorySuggestionProvider for history suggestions
This should ensure user is always presented with history results for his
searches.
2021-08-05 15:52:06 +00:00
Jonathan Almeida
ca51ac6168 Issue #20664: Do not consider newly created tabs as inactive 2021-08-05 01:37:43 +00:00
Sebastian Kaspari
145f1898f1 Enable Android Autofill in Beta builds. 2021-08-04 21:07:42 +00:00
mcarare
066f9d7f5d For #20601: Use View binding in quick settings. 2021-08-04 09:32:08 -04:00
Arturo Mejia
0b43eb879e For #19970 [Crash] IllegalStateException when navigating to TP panel 2021-08-04 00:17:13 +00:00
Roger Yang
c55c252f9a Closes #20650: Revert to manually close tab as default setting 2021-08-03 22:44:14 +00:00
Arturo Mejia
525e5e7c25 For #20601: Undo Use View binding in quick Settings. 2021-08-03 15:34:38 -04:00
Michael Comella
1963d502c7 Closes #20461: remove app_received_intent probe. 2021-08-03 18:19:12 +00:00
Sebastian Kaspari
1cc4ae9ab2 Fix UI tests: SettingsPrivacyTest, DeepLinkTest. 2021-08-03 11:43:25 +00:00
Sebastian Kaspari
7fed8b4ab5 Add preference for enabling/disabling Android Autofill from within the app. 2021-08-03 11:43:25 +00:00
Sebastian Kaspari
4774f8396b Add dialog-like theme for AutofillSearchActivity 2021-08-03 11:10:21 +00:00
Elise Richards
7fdade49ec
No issue: fix glean metrics tests for expired metrics (#20621)
* Remove references to preferences.open_links_in_private and preferences.private_search_suggestions in tests. These metrics have been expired and may be removed.

* Add ignores for performance metrics that have expired.

* Remove tabs_tray.cfr.dismiss and tabs_tray.cfr.go_to_settings telemetry probes.

* Remove metrics controller from signature and remove in tests
2021-08-02 18:14:17 +00:00
fevziomurtekin
a80b7fa329 For issue: #16396 Fix text contrast ratio on "recently closed tabs" 2021-08-02 11:48:11 +02:00
Jonathan Almeida
69d630f46c Issue #20349: Add inactive tab grouping to tabs tray 2021-08-02 11:44:13 +02:00
Jonathan Almeida
f8945b3720 Issue #20590: 'Jump back in' should obey feature flags 2021-08-02 10:46:38 +02:00
Gabriel Luong
0f861236c1 Add history metadata feature to the settings menu 2021-07-30 19:31:03 +00:00
Christian Sadilek
27a7396a42 Keep history metadata for 14 days 2021-07-30 14:50:33 +00:00
Sebastian Kaspari
971b419d77 Run ktlintFormat to adapt to latest formatting rules. 2021-07-30 11:58:02 +00:00
Sebastian Kaspari
24e9f64cff Add telemetry for Android Autofill feature. 2021-07-30 09:37:43 +00:00
mcarare
cca7892e91 For #17917: Use View binding in settings screens. 2021-07-30 08:20:58 +00:00
mcarare
26e41be02e For #19955 #20393: Add telemetry for home screen recent tabs. 2021-07-29 15:46:02 +00:00
mcarare
8b13e382fd For #17917: Use View binding in lists. 2021-07-29 14:10:36 +00:00
Jonathan Almeida
e81c20bc26 Close #19785: Let WebAuthnFeature ride the trains 2021-07-29 06:52:07 +00:00
Arturo Mejia
7e5644036b Put the Start On home setting behind a feature flag. 2021-07-28 16:53:03 -04:00
codrut.topliceanu
e2af42a497 For #20440 - Forces TopSitePager bind if no. of pages changed 2021-07-27 16:19:31 +00:00
Sebastian Kaspari
1cd04cd05e Render debug info screen with Jetpack Compose. 2021-07-27 09:54:24 +00:00
codrut.topliceanu
302ad8ae85 For #20449 - Fixes Show most visited sites crash on disable 2021-07-26 21:23:56 +00:00
mcarare
c094e1a457 For #20425: Do not show recent bookmarks older than 10 days. 2021-07-26 13:59:46 +00:00
Mugurell
2c8c6d29ea For #20402 - Re-enable "in progress media tab"
The crash for when media starts playing in a custom tab is now resolved in AC.
2021-07-22 22:28:54 +00:00
Gabriel Luong
973070ab50 For #20259 - Add HistoryMetadataSuggestionProvider in AwesomeBar 2021-07-22 22:28:54 +00:00
Gabriel Luong
9b22b2baa4 For #20438 - Display a list of history metadata groups 2021-07-22 19:19:50 +00:00
Christian Sadilek
589f166b29 Issue #16330: Remove remaining usages of Sentry.capture 2021-07-21 20:07:30 +00:00