Commit Graph

1846 Commits (0bc5934e083e2e409ed56e5c53dd29fc3740f8c3)

Author SHA1 Message Date
Emily Kager 527b52ed71 [fenix] No issue: Update testing dependencies 5 years ago
Sawyer Blatz 93a03e892e [fenix] For https://github.com/mozilla-mobile/fenix/issues/4451: Adds tests for DefaultBrowserToolbarController (https://github.com/mozilla-mobile/fenix/pull/4493)
* For https://github.com/mozilla-mobile/fenix/issues/4451: Adds tests for DefaultBrowserToolbarController

* Continue working

* Large refactoring of test

* Mock analytics

* Fix merge conflicts
5 years ago
Sawyer Blatz 8bd4dc98d2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4508: Treats warnings as errors (https://github.com/mozilla-mobile/fenix/pull/4543) 5 years ago
ValentinTimisica f65f57cfbb [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/4354: Updated SearchFragment state after returning from SearchEngineFragment.
The user has the option to go to 'Shortcuts' -> 'Search engine settings' to
modify the default search engine. When returning from that settings screen we
need to update it to account for any changes.
For this we will check the current default engine against a previously stored
value in a newly added 'defaultEngineSource' property from SearchState class.
Also, I modified 'SearchStoreTest' by adding the new parameter to the
'SearchState' constructor.
5 years ago
Tiger Oakes 9daf0c9542 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/2379 - Generic library selection 5 years ago
Yeon Taek Jeong 04d9c346f5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/201: Search Widget 5 years ago
Colin Lee 76c9056cd4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/1539: Only allow delete when folders multi-selected (https://github.com/mozilla-mobile/fenix/pull/4062) 5 years ago
Sawyer Blatz 464a5f92cd [fenix] For https://github.com/mozilla-mobile/fenix/issues/2267: Fixes telemetry for reader view (https://github.com/mozilla-mobile/fenix/pull/4328) 5 years ago
Jeff Boek 5cb403b070 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4137 - Fixes HistoryStoreTest 5 years ago
Jeff Boek a20d0e7b74 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4137 - Fixes HistoryInteractorTest 5 years ago
Sawyer Blatz a8a228e24d [fenix] For https://github.com/mozilla-mobile/fenix/issues/4124: Migrate BrowserToolbar to Libstate (https://github.com/mozilla-mobile/fenix/pull/4279)
* For https://github.com/mozilla-mobile/fenix/issues/4124: Migrate BrowserToolbar to Libstate

* Restores QuickActionSheetReducer

* Improve tests

* Make QuickActionSheetController

* Finalize tests

* Breaks out QuickActionSheetState

* Fix comments

* Adds BrowserStoreTest
5 years ago
Colin Lee d726ec0acb [fenix] For https://github.com/mozilla-mobile/fenix/issues/3695: Make SessionSuggestionProvider link to existing tab (https://github.com/mozilla-mobile/fenix/pull/4280) 5 years ago
Colin Lee 526c077529 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4128: Migrate Bookmarks to LibState (https://github.com/mozilla-mobile/fenix/pull/4254) 5 years ago
Emily Kager b3c118d7ba [fenix] For https://github.com/mozilla-mobile/fenix/issues/4127 - Converts Exceptions to LibState and adds tests 5 years ago
Sawyer Blatz 8cb4414365 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/3986 & Closes https://github.com/mozilla-mobile/fenix/issues/3661: Migrate QuickActionSheet to LibState & add tests (https://github.com/mozilla-mobile/fenix/pull/4058)
* Closes https://github.com/mozilla-mobile/fenix/issues/3986: Migrate QuickActionSheet to LibState

* Closes https://github.com/mozilla-mobile/fenix/issues/3661: Add tests for QuickActionSheet

Co-authored-by: boek <jeff@jeffboek.com>

* For https://github.com/mozilla-mobile/fenix/issues/3986: Fix feedback
5 years ago
Tiger Oakes 0e78e740f2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/3633 - Update StoreProvider to use a callback
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
5 years ago
Jeff Boek c6c5f6918c [fenix] Fix search metrics (https://github.com/mozilla-mobile/fenix/pull/4150)
* For https://github.com/mozilla-mobile/fenix/issues/4082 - Changes lifecycles for metrics

* For https://github.com/mozilla-mobile/fenix/issues/4082 - Replaces the SearchEngine name with the identifier for
countLabel
5 years ago
Tiger Oakes 42ee00c49a [fenix] Use StateListDrawable & resources w/ TabCollection 5 years ago
Emily Kager ef062ecd5b [fenix] For https://github.com/mozilla-mobile/fenix/issues/3987 - Convert History to Lib-State and add tests 5 years ago
Christian Sadilek da099b4742 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/4096: IllegalStateException in SearchFragment (https://github.com/mozilla-mobile/fenix/pull/4131) 5 years ago
Christian Sadilek 70c981cc25 [fenix] For https://github.com/mozilla-mobile/fenix/issues/3633: Add unit tests for SearchStore 5 years ago
Jeff Boek 8f72063d99 [fenix] For https://github.com/mozilla-mobile/fenix/issues/3633 - Refactors the search screen to use lib-state
* For https://github.com/mozilla-mobile/fenix/issues/3633 - Adds SearchStore

* For https://github.com/mozilla-mobile/fenix/issues/3633 - Refactors AwesomeBarUIView

* For https://github.com/mozilla-mobile/fenix/issues/3633 - Refactors ToolbarUIView to use lib-state

* For https://github.com/mozilla-mobile/fenix/issues/3633 - Fixes a couple of state bugs

* For https://github.com/mozilla-mobile/fenix/issues/3633 - Moves all user interaction to SearchInteractor

* For https://github.com/mozilla-mobile/fenix/issues/3633 - Adds kdocs to SearchStore and SearchInteractor

* For https://github.com/mozilla-mobile/fenix/issues/3633 - Adds documentation for the properties on SearchState
Also removes uneccessary property

* For https://github.com/mozilla-mobile/fenix/issues/3633 - Creates `StateViewModel` to handle state restoration

* For https://github.com/mozilla-mobile/fenix/issues/3633 - Adds a test for onTextChanged

* For https://github.com/mozilla-mobile/fenix/issues/3633 - Adds tests for SearchInteractor

* For https://github.com/mozilla-mobile/fenix/issues/3633 - Fixes bugs and adds documentation
5 years ago
Tiger Oakes 8d3020ebcf [fenix] No issue: Normalize license header comment (https://github.com/mozilla-mobile/fenix/pull/3909) 5 years ago
Colin Lee 8bfdd2b449 [fenix] For https://github.com/mozilla-mobile/fenix/issues/2251 - Add bookmark adapter diffutil (https://github.com/mozilla-mobile/fenix/pull/3936)
* For https://github.com/mozilla-mobile/fenix/issues/2251 - Add bookmark adapter diffutil

* For https://github.com/mozilla-mobile/fenix/issues/2251 - Fix unit tests for bookmark adapter diffutil
5 years ago
Colin Lee 00733069e1 [fenix] No issue: Fix broken Settings test 5 years ago
Denys M 658ad81d70 [fenix] Add unit tests for `Settings`.
Add unit tests for `Settings`.
5 years ago
Colin Lee 22549c75d3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/3203: Updates edit bookmarks to have user friendly names (https://github.com/mozilla-mobile/fenix/pull/3372)
Co-authored-by: Colin Lee <mncolinlee@gmail.com>
Co-authored-by: Sawyer Blatz <sdblatz@gmail.com>"
5 years ago
Jeff Boek 00bfe0bca0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/2395 - Fixes test suite 5 years ago
Grisha Kruglov 86fefa5990 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/2770: Allow receiving tabs from FxA devices (https://github.com/mozilla-mobile/fenix/pull/2772)
* Closes https://github.com/mozilla-mobile/fenix/issues/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 20619bce23 [fenix] Use UpdateTrackingProtectionUseCase
https://github.com/mozilla-mobile/android-components/issues/2746
5 years ago
Sawyer Blatz 848fbe390c [fenix] For https://github.com/mozilla-mobile/fenix/issues/2205 & https://github.com/mozilla-mobile/fenix/issues/1578: Integrates tab collection storage (https://github.com/mozilla-mobile/fenix/pull/2478)
* For https://github.com/mozilla-mobile/fenix/issues/2205: Adds TabCollectionStorage

* For https://github.com/mozilla-mobile/fenix/issues/1578: Adds delete to TabCollection
5 years ago
Jeff Boek c391139359 [fenix] Teases apart ViewModel dependencies (https://github.com/mozilla-mobile/fenix/pull/2499)
* No Issue - pulls render outside of the viewmodel

* No Issue - Properly subscribes to the changesObservable

* No Issue - Fixes ViewModel tests
5 years ago
Sawyer Blatz 569c883ac3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/563: Restyles history management (https://github.com/mozilla-mobile/fenix/pull/2378) 5 years ago
Colin Lee ec9aae6358 [fenix] For https://github.com/mozilla-mobile/fenix/issues/1994: Re-architect state handling code (https://github.com/mozilla-mobile/fenix/pull/2382) 5 years ago
Colin Lee 0f756b8f1b [fenix] Fix build breakage over FragmentScenario integration 5 years ago
Colin Lee 28ee8089fd [fenix] For https://github.com/mozilla-mobile/fenix/issues/1710: Create scaffolding for Robolectric tests (https://github.com/mozilla-mobile/fenix/pull/2282) 5 years ago
Alessio Placitelli d353bf344f [fenix] Generate the `activation` ping and send it with Glean (https://github.com/mozilla-mobile/fenix/pull/1707)
This fetches the Google Advertising ID, salts it and
then applies hashing before sending a ping with it,
at startup. Hashing and salting are used in order
to prevent ourselves to correlate advertising IDs
from the same user running different products we
own off a single device. We will never send the
client_id and the Google Advertising ID in the same
ping.
5 years ago
Colin Lee 2059df7c67 [fenix] For https://github.com/mozilla-mobile/fenix/issues/1967: Multi-selection toolbar should disappear after deleting (https://github.com/mozilla-mobile/fenix/pull/2202) 5 years ago
Colin Lee 81e1fde827 [fenix] For https://github.com/mozilla-mobile/fenix/issues/1539: Add bookmark multi-select features 6 years ago
Colin Lee c7b4a69ee7 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/1312, https://github.com/mozilla-mobile/fenix/issues/1236, https://github.com/mozilla-mobile/fenix/issues/1237, https://github.com/mozilla-mobile/fenix/issues/1238, https://github.com/mozilla-mobile/fenix/issues/1239: Creating, Editing, and Deleting Bookmarks and Bookmark Folders 6 years ago
Grisha Kruglov 8b97f9cf08 [fenix] History UI limits: visit type & time
These are temporary limitations to make History UI somewhat functional,
until we get relevant UI and API changes in place.
6 years ago
Colin Lee 6311a7abd1 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/916, fixes https://github.com/mozilla-mobile/fenix/issues/917, fixes https://github.com/mozilla-mobile/fenix/issues/920: Save, share, and delete bookmarks 6 years ago
Jeff Boek fff58233eb [fenix] Fixes HsitoryCOmponentTest 6 years ago
Colin Lee 3aeaac9459 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/589: Add sample unit tests for a component 6 years ago
Colin Lee c0a89dc3c1 [fenix] Make ktlint and detekt style changes 6 years ago
Jeff Boek 06f1bf6471 [fenix] Initializes Android project
Co-authored-by: Colin Lee <mncolinlee@gmail.com>
Co-authored-by: Sawyer Blatz <sdblatz@gmail.com>
Co-authored-by: Emily Kager <emilykager@gmail.com>
6 years ago