Commit Graph

175 Commits (84f4ff0d8652cd1ad0323c86de098f825d9c422e)

Author SHA1 Message Date
ekager 4d348dd26a Fixes existing lint errors 4 years ago
Gabriel Luong 665a71cbb0 For #15907 - Remove the usage of the TabTrayGridItemDecorator 4 years ago
Gabriel Luong af0af7f88a For #15115 - Part 7: Draw a border around the selected tab 4 years ago
Gabriel Luong 5fcc486caa For #15115 - Part 6: Display the tab's favicon in the grid view 4 years ago
Gabriel Luong 5fa72cf48c For #15115 - Part 5: Don't draw any background when swiping to delete a tab 4 years ago
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
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
Kainalu Hagiwara b867e0de45 Update TabTrayViewHolder with A-C thumbnail changes. 4 years ago
Tiger Oakes d0e9f1f165
Update Kotlin dependency (#10806) 4 years ago
ekager 0add94e353 For #11324 - Adds trash icon to swipe to delete 4 years ago
Nazım Can Altınova 7319f77114 Add profiler markers for HomeActivity.load and DefaultTabTrayController.onNewTabTapped 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
Gabriel Luong 005ad6ff2a
Update Android Components version to 48.0.20200626130049. (#12006)
Co-authored-by: MickeyMoz <sebastian@mozilla.com>
Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
4 years ago
ekager d3de9e517e Remove ThumbnailsUseCases 4 years ago
mcarare b961fdcf02 For #11901: Use safe call for collection item info. 4 years ago
Jeff Boek 177e7a400f For #11406 - Scrolls to selected tab when switching modes 4 years ago
mcarare fe97dc9d2e For #11542: Update tabs positions in tab tray reported by screen readers 4 years ago
Jeff Boek 8ce7cf59c8
For #11261 - Dismisses menu when rotating to landscape (#11845) 4 years ago
Jeff Boek c7b1f215c8
No Issue - Fixes flash when toggling tab tray (#11826) 4 years ago
ekager 635c30510d No issue: refactor tabs tray to use interactor/controller, add tests 4 years ago
Jonathan Almeida e6da2bd910 Fix breaking APIs in TabsAdapter and ViewHolder 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
David Walsh 063cf457ba
For #11291 - Provide New Tab button when accessibility enabled (#11441) 4 years ago
Jeff Boek 1639b1d3a1 For #11342 - Fixes missing space for the FAB 4 years ago
Jeff Boek cd3b6181b3 For #10374 - Adds quick contextual menu to tab switcher
Co-authored-by: person808 <kainaluh808@gmail.com>
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
David Walsh d33080571b
For #11267 - Announce "Your open tabs will be shown here (#11272) 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
Gabriel Luong 0300f15df1
Fix crash from TabThumbnailView where drawable is null (#11121) 4 years ago
Gabriel Luong 60b68a265a
For #10921 - Integrate BrowserThumbnails feature into the tabs tray (#11093) 4 years ago
David Walsh 84d9e5b1fb
For 11031 - Fix landscape mode for tab tray (#11084) 4 years ago
Jeff Boek a6e77e3e8f For #10848 - Fixes unit tests 4 years ago
Jeff Boek c8e8566668 For #10848 - Fixes navigationbar colors on tab dialog fragment 4 years ago
Jeff Boek f05890efec For #10848 - Fixes bug where selected index wouldnt be properly calculated in private mode 4 years ago
Jeff Boek d5c20bc0d0 For #10848 - Fixes menu background color 4 years ago
Jeff Boek 19a709a04d For #10848 - Fixes tab tray colors 4 years ago
Gabriel Luong 63e529ac2b Added BrowserThumbnails dependencies 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
Jeff Boek 58a42828a1 For #10496 - Fully expand bottom sheet when loaded 4 years ago
Jeff Boek 0566790257 For #10496 - Automatically scroll to the selected tab when you open the tab tray 4 years ago
David Walsh a70ba76cc9 Provided unique no tabs message per mode 4 years ago