Commit Graph

49 Commits (51dab196c45263e8b435f20af05329d4799bc9f4)

Author SHA1 Message Date
Grisha Kruglov 51dab196c4 Closes #15443: Use fragment's lifecycleScope for AlertDialog actions 4 years ago
Sebastian Kaspari 3983c509dc Use "undo" implementation from Android Components.
This is not the super fancy version yet - since we still need to restore into SessionManager and
haven't fully switched to BrowserStore yet. However AC having knowledge about "undo" and whether
it was performed or not, will help us with features like "recently closed tabs". And once we
can improve "undo", Fenix will get all the nice things automatically.

Requires:
https://github.com/mozilla-mobile/android-components/pull/8449
4 years ago
ekager 7d5c199e51 For #12383 #15407 #12860 - Switch to using shared view model for session to delete on home 4 years ago
Tiger Oakes 113241e8ce
Enforce IO thread inside of components (#14704)
* Automatically run PermissionStorage on IO thread

* Run TabCollectionStorage on dedicated scope + IO

* Update findSitePermissionsBy calls
4 years ago
Sebastian Kaspari e0071341c7 Update to new state API and update Mozilla Android Components version.
The EngineSessionState of a tab is now always accessible through tab.engineState.engineSessionState. It will
never get cleared.
4 years ago
Jonathan Almeida 99fab556f4 For #12287: Address review comments 4 years ago
Jonathan Almeida f614c0b18d For #12287: Add Synced Tabs to Tabs Tray 4 years ago
Hakkı Kaan Çalışkan 27341eaaf4 For #12585: Close tab tray menu on orientation changes 4 years ago
mcarare ed8a9bd1a0 For #12565: Remove activity from DefaultTabTrayController constructor. 4 years ago
ekager 46511d6f8e For #10163 - Adds tab multiselect mode 4 years ago
Jonathan Almeida d15b8381a6 For #10925: Fix breaking APIs in tabs tray 4 years ago
Sawyer Blatz 9c56e1905b For #12793: Improve snackbars for tabs tray 4 years ago
Sawyer Blatz 6c58098fef For #12791: Fix issue with undo snackbar last tab 4 years ago
Sawyer Blatz afbb039a08
For #11851: Close tab tray when last tab closed (#12615) 4 years ago
ekager e1ef5f55ec For #12453 - Sets secure flags on private tab of tabs tray 4 years ago
Tiger Oakes d0e9f1f165
Update Kotlin dependency (#10806) 4 years ago
ekager 38657bbfc6 For #11431 - Scroll to restored tab in tab tray 4 years ago
ValentinTimisica c3acde438a For #11889: Changes collection creation confirmation snackbar strings
Also I changed the adding tabs to collection confirmation string from
tabtray to take into account the number of tabs.
Example: 1 tab-"Tab saved!"; multiple tabs-"Tabs saved!"
4 years ago
Jeff Boek a18c1befd1
For #11044 - Sets the anchorView of the snackbar to be the new tab fab (#11930) 4 years ago
Sawyer Blatz 101ecfbf66
For #11273: Add tabs tray telemetry (#12036) 4 years ago
ekager d3de9e517e Remove ThumbnailsUseCases 4 years ago
Jeff Boek 8ce7cf59c8
For #11261 - Dismisses menu when rotating to landscape (#11845) 4 years ago
ekager 635c30510d No issue: refactor tabs tray to use interactor/controller, add tests 4 years ago
David Walsh 149efc1683
For 9640 - Focus on last selected tab in tab tray with a11y turned on (#11487) 4 years ago
David Walsh 8b24cdec42
For 11428 - Focus on home screen address bar when tab tray new tab is tapped (#11429) 4 years ago
Jeff Boek 1639b1d3a1 For #11342 - Fixes missing space for the FAB 4 years ago
Jeff Boek f41ca2f424 No Issue - Moves from being a tabstray observer to overriding tab use cases 4 years ago
Jeff Boek 4ee1cd6716 For #11361 - Nulls out tabsFeature in the correct spot 4 years ago
Jeff Boek d8ef0722e3 For #11175 - Moves tab tray strings to be translated, fixes description of the fab string 4 years ago
Mozilla L10n Automation Bot 5373a75f57 For #10502 - Show snackbar after adding tabs to collection from tab tray 4 years ago
Jeff Boek e4e7cc5108 For #11260 - Fixes lifecycle issues with the tabs tray
- Also check to make sure the fragment manager is still valid before trying to show the tabs tray

Co-authored-by: Emily Kager <emilykager@gmail.com>
4 years ago
Jeff Boek bc53b94feb For #10989 - Fixes memory leak caused by retaining the TabTrayView and TabsFeature 4 years ago
Jeff Boek 2dd0a3cb9e
Implement tab tray design improvements and fix close functionality. 4 years ago
David Walsh 84d9e5b1fb
For 11031 - Fix landscape mode for tab tray (#11084) 4 years ago
Jeff Boek 8662164b8a
Refactors the TabTrayDialogFragment to ditch that weird interactor (#11061)
* For #11056 - Removes unused argument when navigating to the collection creation fragment

* For #11056 - Moved the collection creation navigation logic to the TabTrayDialogFragment

* For #11056 - Moves navigating to the share screen from home/browser to the TabTrayDialogFragment

* For #11056 - We moved tab selection logic from home/browser to the tab tray dialog

* For #11056 - Moved new tab tapped logic to the tab tray dialog fragment

* For #11056 - Removes all interactor logic for the TabTrayDialogFragment

* For #11056 - Migrates the presentation / navigation around the TabTrayDialog to the androidx navigation library
4 years ago
David Walsh 248237290e
For #10865 - Implement 3 dot menu for tab tray (#10869) 4 years ago
David Walsh 5e4fd460f8 Remove onTabClosed from interactor 4 years ago
David Walsh 8b843ac9e5 Fix elevation for snackbar and fab 4 years ago
David Walsh e9bcc9bb1e Move snackbar to TabTrayDialogFragment 4 years ago
David Walsh f653964ee1 For #10864 - Display snack bar to undo closing tabs 4 years ago
Jeff Boek 601aedda46 For #10504 - Removes "old" TabTrayFragment 4 years ago
Jeff Boek c32904a1d0 For #10504 - opens the tab tray and filters the tab based on the browser mode 4 years ago
Jeff Boek a674c5dfe7 For #10504 - cleans up tabLayout colors 4 years ago
Jeff Boek 4e499e7a48 For #10504 - Adds tabTrayDialogInteractor to browserfragment 4 years ago
Jeff Boek 90cef752b0 For #10504 - Fixes up tab tray dialog styles 4 years ago
Jeff Boek 0b9484a172 For #10504 - Adds padding fto account for navigation bar in landscape 4 years ago
Jeff Boek dd2a26fc7c For #10504 - Added the tab tray to the TabTrayDialogFragment and wired up dismiss actions 4 years ago
Jeff Boek 34ac9df481 For 10504 - Adds dialog style and fab 4 years ago
Jeff Boek 97d66cce56 For #10504 - Creates the TabTrayDialogFragment 4 years ago