Commit Graph

401 Commits (44f4cedefdbf4e32ef1126f7ae8240793a6c7641)

Author SHA1 Message Date
Sawyer Blatz 0ec92d716f
For #4123: Adds telemetry for quick action open in app (#4629) 5 years ago
Yeon Taek Jeong 69434a765f Fix most issues 5 years ago
Tiger Oakes 52542708aa Consodilate private browsing code 5 years ago
Jonathan Almeida 23f5ac0fb9 For #4066: Create InflationAwareFeature for lazy inflation 5 years ago
Colin Lee 519c3bde5d For #4066: Provide lazy inflation of Find In Page View 5 years ago
Christian Sadilek e26570054a Suppress warning in LeanplumMetricsService to fix release builds 5 years ago
Colin Lee ef97173cd9
For #4529, #4427: Resuming after restoring instance state breaks UI (#4571)
* For #4529, #4427: Resuming after restoring instance state breaks UI

* Clear up warnings
5 years ago
Sawyer Blatz ff6e9bccb7
For #4451: Adds tests for DefaultBrowserToolbarController (#4493)
* For #4451: Adds tests for DefaultBrowserToolbarController

* Continue working

* Large refactoring of test

* Mock analytics

* Fix merge conflicts
5 years ago
Emily Kager 0b98d43c23 Closes #4602 - Add back transitions 5 years ago
Sawyer Blatz 4566bd6fba Fixes feedback 5 years ago
Sawyer Blatz 4d14735935 For #3060: Adds Leanplum attributes for fxa syncing 5 years ago
Sawyer Blatz 9d65e665e5 No issue: Removes deprecated usage of ViewModelProviders 5 years ago
Sawyer Blatz 969d17b4a9
For #969: Adds more telemetry for collections (#4539) 5 years ago
Sawyer Blatz da06b0fb15
For #4508: Treats warnings as errors (#4543) 5 years ago
Grisha Kruglov f23f3b7489 Closes #4467: Use a-c version of FirefoxAccountsAuthFeature 5 years ago
Sawyer Blatz f9288c7fbd
For #969: Finalizes collections telemetry (#4592) 5 years ago
Jonathan Almeida ec96d134ff No issue: Fix breaking AccountObserver API 5 years ago
Sawyer Blatz 29f089c414 For #2203: Polishes BrowserToolbarMenu 5 years ago
Jeff Boek e4700f76c6 For #3886 - Uses `defaultDeviceName` for the `DeviceConfig` device name 5 years ago
Sawyer Blatz 97f7d5ba87 For #2267: Fixes telemetry for reader view (#4328) 5 years ago
Sawyer Blatz 2e7a61860a For #969: Adds more telemetry for collections (#4358) 5 years ago
Jonathan Almeida 4922e5d09d No issue: Move PublicSuffixList to root component
With the PublicSuffixList class in Utilities, the first instantiation
of it (prefetching in onCreate), causes the Utilities to instantiate
and thus slowing down startup by needing the SearchEngineManager from
instantiating as well.

Moving this back to the root component fixes the immediate perf issue.

Co-authored-by: Will Hawkins <whh8b@obs.cr>
5 years ago
Will Hawkins ed31d990a4 No Issue: Move notification manager to member of background services
Instead of taking notification manager as a parameter
(from the utils class), create one private to the
BackgroundServices class. This means that we do not need
to create the entirety of utilities just to use
the notification manager.
5 years ago
ekager 4494e40dbc For #4137 - Adds pagination to the history view 5 years ago
Jonathan Almeida 90b1e5c262 Closes #4355: unsubscribe FxA subscription on logout 5 years ago
bloslo 8ff77b90f3 For #3886 - Change default device name to show the app name. (#3916)
* Fix default device name to show the app name.

* Add string resource with placeholders.

* Wrap line that triggers MaxLineLength lint issue.
5 years ago
Sawyer Blatz 6fa022c2f8
For #4124: Migrate BrowserToolbar to Libstate (#4279)
* For #4124: Migrate BrowserToolbar to Libstate

* Restores QuickActionSheetReducer

* Improve tests

* Make QuickActionSheetController

* Finalize tests

* Breaks out QuickActionSheetState

* Fix comments

* Adds BrowserStoreTest
5 years ago
Tiger Oakes 87d8f3b037 Remove redundant super calls 5 years ago
Tiger Oakes c2e6e25bef Fixes #4005 - Move getColorFromAttr to Context 5 years ago
Jonathan Almeida c8148e61d5 No issue: Reset push subscriptions 5 years ago
Colin Lee 3dc20543e3
For #4128: Migrate Bookmarks to LibState (#4254) 5 years ago
chiragmantri 9bbd14a542 removed unused import. 5 years ago
chiragmantri 945b1ee274 [#4089] Moved PublicSuffixList to a sub-component(Utilities) class. 5 years ago
Jonathan Almeida 1026a92f32 Update to use Mozilla Android Components 6.0.0 5 years ago
Jonathan Almeida 2531e9dd62 No issue: Use correct server host and force subscribe for push 5 years ago
Tiger Oakes 3c99c8540f Switch to new intent processors 5 years ago
Jonathan Almeida 5ecdce6ba6 Closes #4171: Do not pause deviceEventObserver on lifecycle events 5 years ago
Nikit Bhandari f110ba2861 use synthetic binding instead of findviewbyid 5 years ago
Jonathan Almeida d298b5f2f5 Closes #4075: Add Feature Flag class (#4077) 5 years ago
Sawyer Blatz 13198f56df For #969: Adds telemetry for collections (#3935) 5 years ago
Sawyer Blatz e544827e83 For #2267: Adds telemetry for reader mode (#3941) 5 years ago
Tiger Oakes edb0a3ed08 For #3633 - Update StoreProvider to use a callback
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
5 years ago
Jeff Boek e294521c92
Fix search metrics (#4150)
* For #4082 - Changes lifecycles for metrics

* For #4082 - Replaces the SearchEngine name with the identifier for
countLabel
5 years ago
Tiger Oakes 981b6b5b02 For #4124 - Remove browser toolbar editing code 5 years ago
James Hugman 62850430b7 Closes AC#3695 - Add UI to open current page in external app 5 years ago
Emily Kager 68dae52fd1 Closes #3332 - Do not alter text of hosts of tabs in collection 5 years ago
Sawyer Blatz 11d36b5a00
For #2362: Adds telemetry for history (#3940) 5 years ago
Colin Lee 8855af2234
For #3615: Long pressing the address bar should not copy link (#4083) 5 years ago
Jeff Boek ec099a6e11
For #3633 - Creates generic store provider (#4060) 5 years ago
Jonathan Almeida fd7ff58ab8 No issue: Add comments on the push flag state 5 years ago
Jonathan Almeida cf9ae87d50 For #3015: Add push support for send tab 5 years ago
Sebastian Kaspari 9b1e63224c Closes #4052: Remove pending intent workaround. (#4059)
Previously we needed to set a static launch function to be invoked when the find in page
integration should be launched. Now we can access the integration class directly and
can avoid the static property that caused issues when used by multiple activities.
5 years ago
Jeff Boek e4ff70c542
For #3633 - Refactors the search screen to use lib-state
* For #3633 - Adds SearchStore

* For #3633 - Refactors AwesomeBarUIView

* For #3633 - Refactors ToolbarUIView to use lib-state

* For #3633 - Fixes a couple of state bugs

* For #3633 - Moves all user interaction to SearchInteractor

* For #3633 - Adds kdocs to SearchStore and SearchInteractor

* For #3633 - Adds documentation for the properties on SearchState
Also removes uneccessary property

* For #3633 - Creates `StateViewModel` to handle state restoration

* For #3633 - Adds a test for onTextChanged

* For #3633 - Adds tests for SearchInteractor

* For #3633 - Fixes bugs and adds documentation
5 years ago
Tiger Oakes ef8d9604ae No issue: Normalize license header comment (#3909) 5 years ago
Grisha Kruglov fe51bbcf7b Update FxA integration to new APIs 5 years ago
ekager c6c9818751 For #3240 - Create AuthCustomTabActivity to fix dead end on auth 5 years ago
Sawyer Blatz 83312b38aa
For #3175: Correctly grabs focus in search fragment (#3938) 5 years ago
Tiger Oakes 9901514766 Replace deprecated pxToDp (#3932) 5 years ago
Emily Kager f60536b13c For #3829 - Add pop up to nav_graph to browser to home nav 5 years ago
Jeff Boek 20993462e9 For #3869 - Creates a SearchLocalizationProvider that sets the region to get the correct default search engine based on a locale 5 years ago
Yeon Taek Jeong 29402a297e For #3317: Prepopulate FxA device name field with existing name (#3733) 5 years ago
Emily Kager ce2d597af3 For #203 - Adds find in page and request desktop site to custom tab menu (#3835) 5 years ago
Colin Lee eedb0fa3b2
For #2945: Launches to blank screen and hangs on Nexus 10 (#3854) 5 years ago
Sawyer Blatz dbe29ebbda
For #3174: Adds telemetry for bookmarks (#3724) 5 years ago
ekager 7fa4cf4487 Use sessionId in FIP Integration, use pendingIntent for startActivity 5 years ago
ekager 6d0a4fdb4d Revert "For #3609 - Remove FIP Integration, Use FIP Feature"
This reverts commit 428643d598e938f58a2fe4abfee417c46edec167.
5 years ago
Colin Lee 7481d52c4b
For #3505: Opening a sent tab crashes Fenix (#3507) 5 years ago
Tiger Oakes 4994554576 No issue: Adds lint exception for when statement (#3685) 5 years ago
Sawyer Blatz 309014139d For #3488: Cleans up edit mode calls (#3689) 5 years ago
Tiger Oakes 30930cdc88 Import variables referred to by path 5 years ago
Emily Kager 74111c75de For #3639 - Remove fontInflationEnabled (#3640) 5 years ago
Colin Lee ea7841b8c5 No issue: Add Sentry breadcrumbs to ease crash investigations 5 years ago
Emily Kager 084fab77d4 For #3609 - Remove FIP Integration, Use FIP Feature (#3637) 5 years ago
Emily Kager afb59251c1 For #3588 - Preload the content process when starting Gecko (#3589) 5 years ago
Grisha Kruglov 521312c6f8 Disable send tab for non-nightly, non-debug builds (#3542)
* Put deviceCapabilities list behind a SEND_TAB_ENABLED flag

* Disable SEND_TAB for non-debug, non-nightly builds
5 years ago
Jeff Boek 3b848393f7 For #981 - Adds link to mma.md to telemetry.md 5 years ago
Jeff Boek 45b096c84f For #981 - mma docs 5 years ago
Jeff Boek f323c38be0 For #981 - Adds missing Leanplum events 5 years ago
Colin Lee d5c5587a0c
For #3209: Disable shared element animations for crash temporarily (#3482) 5 years ago
Jonathan Almeida 986bc91347 For #3401: Update toolbar tab counter when view is attached
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
5 years ago
vladikoff dfe181aa0a Add application-services fretboard feature flags 5 years ago
Jeff Boek 1212887e08 For #1242 - properly record metrics (#3437) 5 years ago
Sawyer Blatz 7bcc8d576e For #2219: Inflates toolbar menu from bottom (#3389) 5 years ago
Sawyer Blatz 3e5b6ca007 For #975: Removes leakcanary and default browser telemetry (#3350) 5 years ago
Sawyer Blatz decacbfc97 For #3323 Runs PublicSuffixList synchronously 5 years ago
Sawyer Blatz c17d024452
For #975: Adds preferenceToggled event (#3316)
🤦🏼‍♂️
5 years ago
Colin Lee f7b5fc3e18
For #3186: Add environment to Sentry reports (#3261) 5 years ago
Tiger Oakes 82d2a0661b Remove deprecatd support-ktx methods (#3305) 5 years ago
Sawyer Blatz b2ca77269b
For #3251: Fixes shortcut typing (#3271) 5 years ago
Sawyer Blatz 45c509fbce
For #2648: Updates trimming of url hostname (#3191)
* For #2648: Updates trimming of url hostname

* For #2648: Fix nits
5 years ago
Emily Kager 7368a95d29 No issue: Sets up observers for tab collection changes (#3248) 5 years ago
Colin Lee 1e6da54263 For #3238: fixes race condition crash, nav destination unknown 5 years ago
Sawyer Blatz 6682386fc8 For #1242 & #975: Fixes camelcase of telemetry 5 years ago
Denys M 605a552f16 For #1366. Update toolbar search state when typing. (#2908) 5 years ago
Emily Kager 33eb26861d For #3141 For #3142 Do not try to fade BrowserFragment in transitions (#3195) 5 years ago
Emily Kager 9624964bc3 For #3087 - Adds disabled color attr (#3192)
* For #3087 - Adds disabled color attr

* Change alpha to 40%
5 years ago
Grisha Kruglov fe3c163a20 Fix how we reflect FxA state in preference
This cleans up how we're displaying account state in the main preference UI.
Before when it worked, it worked mostly accidentally.
'launch' wrapper around "update ui" methods would trigger a race condition
between binding the account pref view holder and actually updating that view
with values. Sometimes the "update view with values" would happen after view
was bound, and the UI will be correct. Most of the time it would happen before,
and so there will be nothing to update and we'd get into an inconsistent state.

This also splits up the "accountpreference" into two: account is good,
and account needs re-auth. This greatly simplifies their management.
5 years ago
Sawyer Blatz 47c14b07dd For #1190: Removes syncing items from FxA telemetry 5 years ago
Sebastian Kaspari b2d81aba43 Issue #2381: Add feature-media component and enable notification for recording devices. 5 years ago
Jeff Boek 27fdd9605b For #2395 - Adds an early return statement and documents why we copy a feature 5 years ago
Jeff Boek f26c402f0a For #2395 - Properly takes you back to where you start authentication on completion 5 years ago
Sawyer Blatz 12eabd5eb3 For #977: Listens to correct custom tab open menu fact 5 years ago
mythio 2daa75db2c Closes #3000: Replace deprecated method 5 years ago
Sawyer Blatz 8e24feefc2 For #1192: Updates detection for Lockwise 5 years ago
ekager 98a40aabd7 For #2223 , For #371 - Replace Toolbar with FIP when opened 5 years ago
Jeff Boek e15ab3f958 For #1158 - Use a dot instead of an underscore to seperate values 5 years ago
Jeff Boek a7d5cdcb9d For #2723 - Fixes theme manager 5 years ago
Sawyer Blatz 7fff475fd8 For #1679: Pause media playback when backgrounded 5 years ago
Sawyer Blatz b8c04e02e9 For #2327: Fixes nits 5 years ago
Sawyer Blatz fe50e88fc8 For #2327: Adds error state syncing 5 years ago
Grisha Kruglov 5f42a65c2a No issue: improve allowUndo
This patch fixes a few issues:
- it was an extension on a CoroutineScope, but that was quite misleading
since the Main dispatcher would be always used regardless of what dispatcher
the owning CoroutineScope was configured with.
- timing was reliant on exact value of the undocumented Snackbar.LENGTH_LONG duration
- coroutine cancellation relied on cooperation of the 'operation' suspend function,
which we can't depend on

New 'allowUndo' fully controls its timing, doesn't imply a dispatcher to its consumers,
and doesn't rely on cooperation of passed-in suspend blocks for cancellation to work.
5 years ago
Emily Kager c589e4d4c3 For #2938 - Remove save to collection from PB browsing menu 5 years ago
Emily Kager f142be8c92 Refactor new param to startInEditMode 5 years ago
Emily Kager d6c1f65d72 Start MotionLayout animation to end while navigating to search fragment 5 years ago
Emily Kager 8181705b58 Init Toolbar in edit mode so we don't see the flash 5 years ago
ekager dee3c059dc Adds Shared Transition between Home and Search 5 years ago
Grisha Kruglov 70453ef2d5 No issue: increase likelyhood of notification showing up as 'heads-up' 5 years ago
Jonathan Almeida 06bf7a4da7 For #2890: Sending tab from another device shows empty title 5 years ago
Jonathan Almeida d825011fc0 Fixes #2872: Send tab notification never dismisses (#2889) 5 years ago
Jeff Boek d24aa8a772 For #927 - Adds build type to glean to report the channel 5 years ago
Sawyer Blatz 9aa4f48e77 For #1190: Adds additional telemetry for FxA login 5 years ago
Sawyer Blatz 62bed0cd06 For #1190: Adds telemetry for FxA login 5 years ago
Jonathan Almeida 2fd91daa5b No issue: Fix NotificationManager icon color 5 years ago
Emily Kager 833290799e For #1286 - Add Automatic Font Sizing Preference 5 years ago
ekager 0e64ead75c Try to pop up to home if it exists on stack from browserfragment 5 years ago
Emily Kager 40f2fe5166 For #1287 - Create animation for opening and closing tab from home 5 years ago
Grisha Kruglov 6a8d0f324e Closes #2770: Allow receiving tabs from FxA devices (#2772)
* Closes #2770: Allow receiving tabs from FxA devices

Now that we're on a-c 0.54, we can land this since it supports device
capability migration.

This patch adds a SEND_TAB device capability, making Fenix a valid target
in the Send Tab device list on Desktop Firefox.

Additionally, it adds a notification manager which manages notification
channels and knows how to display "received tabs" notifications".

* Post: remove unusued test file that's causing issues
5 years ago
Tiger Oakes 9b69f9f5db Fixes #654 - Update refresh/stop toolbar buttons (#2702)
(Also back and forward)
5 years ago
Jeff Boek f5a993a027 For #2762 - Prevents crash when a device has a font scale other than 1.0 5 years ago
Sawyer Blatz 22ca1b88a0 For #2688: Corrects extra key of library selected item telemetry 5 years ago
Arturo Mejia b2294483a8 Updated tracking protectionPolicy to the recommend one. 5 years ago
Sawyer Blatz aa9e5c46ae For #1242: Adds telemetry for error pages 5 years ago
Tiger Oakes cfca683a14 Use UpdateTrackingProtectionUseCase
mozilla-mobile/android-components#2746
5 years ago
Sebastian Kaspari 291df48c4e Install the "icons" WebExtension to automatically load icons for every visited website. 5 years ago
Sawyer Blatz c334c77bbe For #976: Adds telemetry for library 5 years ago
Sawyer Blatz 4e6f9b9ef1 For #1574: Displays previous tab collections when creating 5 years ago
Sawyer Blatz 9e50b55340 For #1857: Adds telemetry for QR scanner 5 years ago
Emily Kager e00380960f Add Accessibility Fragment and Text Size Adjustment Setting 5 years ago
Sawyer Blatz 72d29c2a43
For #2205 & #1578: Integrates tab collection storage (#2478)
* For #2205: Adds TabCollectionStorage

* For #1578: Adds delete to TabCollection
5 years ago
Michael Droettboom c34946b88f 1551700: Enable custom pings from debug dashboard (#2516)
Fix re-enabling of telemetry
5 years ago
Sebastian Kaspari f84b7f10dd Issue #2458: Use correct Socorro product name. 5 years ago
Jeff Boek c5e5ef4b25
Teases apart ViewModel dependencies (#2499)
* No Issue - pulls render outside of the viewmodel

* No Issue - Properly subscribes to the changesObservable

* No Issue - Fixes ViewModel tests
5 years ago
Colin Lee 49ac62ab85 Fix ViewModel States (#2457)
Co-authored-by: Jeff Boek <jeff@jeffboek.com>
5 years ago
Sawyer Blatz b71eeb9fb3
For #2245: Updates quick action bar state and animation (#2451)
* Revert quick action changes

* For #2245: Updates quick action bar state and animation
5 years ago
Colin Lee ccbc14a71f For #1994: Re-architect state handling code (#2382) 5 years ago
Jeff Boek 27d8c09def
Fixes #1735 - adds the ability to write code against the build channel (#2388) 5 years ago
Jeff Boek f1665f12ed For #2260 - Sends valid keys to the labeled counter (#2330) 5 years ago
Christian Sadilek 0c1b43d7b6 Upgrade to GV 68.0.20190508111321 and fixes for latest A-C 0.52.0 (#2348)
Closes #2342, Closes #2297
5 years ago
Colin Lee 96b68948b5
For #1710: Create scaffolding for Robolectric tests (#2282) 5 years ago
Vlad Filippov 62ae2bca11 Update the deprecated BitmapDrawable constructor (#2308) 5 years ago