Commit Graph

120 Commits (a001004addeb936be0ffddc9c0c33fe6c0466f64)

Author SHA1 Message Date
Gabriel Luong a001004add For #15115 - Part 4: Formatted TabTrayView.kt 4 years ago
Gabriel Luong 6c77cdab41 For #15115 - Part 3: Implement a grid view layout for the tabs
Co-authored-by: Abhijit Valluri avalluri2@bloomberg.net
4 years ago
Gabriel Luong ed3986662f For #15115 - Part 1: Convert the CloseTabsSettingsFragment to a general TabsSettingsFragment
- Renames CloseTabsSettingsFragment.kt to TabsSettingsFragment.kt
- Renames close_tabs_preferences.xml to tabs_preferences.xml
- Adds preference options for the switching between the Grid and List tab views
4 years ago
Jonathan Almeida 23d9951e78 Upgrade to Android Component 62.0.20201006190820 with breaking changes 4 years ago
mcarare 07748f69b7 For #15632: Improve checking open tabs logic to show collection button.
Check now considers selected tab tray mode.
4 years ago
Grisha Kruglov 51dab196c4 Closes #15443: Use fragment's lifecycleScope for AlertDialog actions 4 years ago
mcarare 19b377c021 For #15535: hasOpenTabs now considers the selected tab mode in tray tab. 4 years ago
ekager 01e802fef0 For #15324 - Show tab settings and recently closed items in menu when no tabs 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
Sawyer Blatz 0fa2509bef
For #14243: Pre-land visuals for Close Tabs CFR (#15171) 4 years ago
person808 baccb153b7 For #15219 - Fix tab tray handle size.
Also use dimens for the tab history handle.
4 years ago
Tiger Oakes b563576335
Closes #14131: Move constants to dimens.xml (#14135)
Co-authored-by: Elise Richards <erichards@mozilla.com>
4 years ago
ekager 09fbb43f80 For #2486 - Adds Recently Closed Tabs 4 years ago
ekager b986730031 No issue - Updates AC to 58.0.20200910190642 and fixes imports 4 years ago
mcarare 4de80a0493 For #14540: Fix updating list and item info for a11y services. 4 years ago
Tiger Oakes 4b6a589f24
Extract checkbox selected mask (#14308) 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
ekager 2d67e4b748 For #4118 - Creates setting for auto closing tabs 4 years ago
Tiger Oakes bf2ac22d03
Simplify media state drawables (#13474) 4 years ago
Gabriel Luong dcb99856f9
For #13264 - Scroll to the tab above the selected tab in the tabs tray (#14372) 4 years ago
Tiger Oakes ac2d65cc5e
Replace setPadding with updatePadding (#14137) 4 years ago
Jonathan Almeida 99fab556f4 For #12287: Address review comments 4 years ago
Jonathan Almeida f92485d1e8 For #12287: Add feature flag for Synced Tabs in tabs tray 4 years ago
Jonathan Almeida f614c0b18d For #12287: Add Synced Tabs to Tabs Tray 4 years ago
ekager 54c24016ba For #13251 - Use bottomSheetCallback in multiselect mode 4 years ago
Jonathan Almeida 4ba4b589de For #13293: Show Add To Collections after tabs load 4 years ago
Shen 0356d86784 For #12976 - Show infinity symbol in the tab counter when the count is greater than 99 4 years ago
Emily Kager 37b166d033
For #13298 - Make private tabs in tabs tray not long clickable (#13316) 4 years ago
Hakkı Kaan Çalışkan 27341eaaf4 For #12585: Close tab tray menu on orientation changes 4 years ago
ekager f14b6d0385 For #13117 - Don't show add to collections button in private tabs tray 4 years ago
ekager 0356bea50e For #13117 - Hide save to collection button for private tabs in tab tray 4 years ago
mcarare ed8a9bd1a0 For #12565: Remove activity from DefaultTabTrayController constructor. 4 years ago
Antti Vainikka 579a69b477 Closes #12692: Remove www. prefix in tab tray urls
Use separate imports instead of a wildcard import

Use toShortUrl String extension instead of removing prefix from url host

Add missing import
4 years ago
ekager 87a7b6f9ec For #12992 - Correctly notifies concat adapters about mode changes 4 years ago
ekager 6a27c209b5 For #13042 - Remove bottomSheetCallback in multiselect mode 4 years ago
Jonathan Almeida 239e3de5e9 For #12856: Add save to collections button to Tabs Tray
Using the ConcatAdapter, we're now able to insert multiple data sources
of information into one RecyclerView and preserve layout/scrolling in
addition to adding the 'Save to Collection' button.
4 years ago
ekager 33bb86b1aa For #12992 - Hide tab close button while in multiselect mode 4 years ago
Tiger Oakes 61d6b333de Update LongParameterList baseline 4 years ago
ekager 6f5faa332d For #12947 - Adjust tab selected state on bind 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
Tiger Oakes 652af79e95
Migrate from Session.toTab to BrowserStore (#12221) 4 years ago
Jonathan Almeida 99354174a9 For #12797: Use measured height/width for loading a thumbnail
Using `onNextLayout` has the side-effect of showing the thumbnail with
the tab.id from a recycled view.

The root cause of needing that call is to retrieve the measured
height/width from the view first before requesting. A simpler solution
to avoid the complexity is to retrieve these values from the dimen
resources.

Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
4 years ago
Sawyer Blatz b483067bd9 For #12461: Update content description for tabs tray open tab count 4 years ago
Sawyer Blatz 284ec7b58f For #12461: Add tab count to tab tray 4 years ago
Kainalu Hagiwara 313e5abf6a Rename tab_tray_background.xml 4 years ago