Commit Graph

972 Commits (94f9c23721c988dd81fd26a1c45693cd82d3155b)

Author SHA1 Message Date
Christian Sadilek 8fd409b721 Fix intermittent test failures of LoginExceptionFragmentStoreTest 3 years ago
Christian Sadilek 0cd08dc9b1 Issue #20533: Fix intermittent test failures of ExceptionsListItemViewHolderTest 3 years ago
Christian Sadilek 9d92e61ff4 Issue #20533: Fix intermittent test failures in SearchDialogControllerTest 3 years ago
Christian Sadilek 58e8cdfedb Issue #20533: Fix intermittent failures of DefaultTabsTrayControllerTest 3 years ago
mcarare cca7892e91 For #17917: Use View binding in settings screens. 3 years ago
mcarare 26e41be02e For #19955 #20393: Add telemetry for home screen recent tabs. 3 years ago
Christian Sadilek fbd9221c0c Fix intermittent test failures in WebPushEngineIntegrationTest 3 years ago
Christian Sadilek b3f5c87585 Fix intermittent test failures in FenixSnackbarKtTest 3 years ago
Christian Sadilek 30c890c457 Issue #20531: Fix intermittent test failures in DefaultQuickSettingsControllerTest 3 years ago
Christian Sadilek 2dde8c2388 Fix intermittent test failures in NavigationInteractorTest 3 years ago
Christian Sadilek 458e8b3cd7 Fix intermittent test failures in PagedHistoryProviderTest 3 years ago
Christian Sadilek b3895e5fde Fix intermittent test failures in TrackingProtectionExceptionsInteractorTest 3 years ago
Christian Sadilek d0c75740b7 Fix intermittent test failures in BookmarkControllerTest 3 years ago
Christian Sadilek f03f7c6071 Closes #20533: Fix intermittent failures of HistoryControllerTest 3 years ago
Sebastian Kaspari 41f21fc0f8 RemoveTabUseCaseWrapperTest: Do not mock lambdas. 3 years ago
Sebastian Kaspari 7859d4d681 DefaultRecentlyClosedControllerTest: Do not mock functions 3 years ago
Sebastian Kaspari 9ffd53ee04 Do not mock lambdas in TrackingProtectionPanelInteractorTest. 3 years ago
Christian Sadilek 2f27797530 Closes #20531: Fix intermittent failures of DefaultBrowserToolbarMenuControllerTest 3 years ago
codrut.topliceanu e2af42a497 For #20440 - Forces TopSitePager bind if no. of pages changed 3 years ago
Christian Sadilek 84fdf62240 Fix init order in TrackingProtectionExceptionsViewTest 3 years ago
Christian Sadilek 00d0ed53e0 Fix race condition in ShareViewModelTest 3 years ago
Christian Sadilek 9320700fd7 Remove unused imports in PwaOnboardingObserverTest.kt 3 years ago
Christian Sadilek 4d8d1b4ea2 Use MainCoroutineRule in PwaOnboardingObserverTest 3 years ago
Sebastian Kaspari 7840aac3ba Update Robolectric and mockk. 3 years ago
Sebastian Kaspari 8d8b6e6d36 Issue #19662: Use Java 11. 3 years ago
mcarare a5a4a7f6d9 For #20425: Update AC version 3 years ago
Mugurell 2c8c6d29ea For #20402 - Re-enable "in progress media tab"
The crash for when media starts playing in a custom tab is now resolved in AC.
3 years ago
Gabriel Luong 9b22b2baa4 For #20438 - Display a list of history metadata groups 3 years ago
Christian Sadilek 589f166b29 Issue #16330: Remove remaining usages of Sentry.capture 3 years ago
codrut.topliceanu 2040af6a5d For #20367 - Fixes removeAllTabs adding to recently closed
`removeAllTabs` will now no longer allow `UndoMiddleware` from recovering the tabs.
3 years ago
codrut.topliceanu bc723e0a9b For #15499 - Smoothly updates topSites list on remove
To remove the flash on refresh of the topsites list we have to use submitList, however using this too high up in the hierarchy of our listAdapters within listAdapters will cause children to refresh at once. The solution to this is to use submitList lower. Using it in TopSitesPagerAdapter.kt to update the TopSitesAdapter is the way to go. I've also had to use a dummy item for the "removed" Topsite ( with id = -1) so I can manually diff that before using submitList.
3 years ago
Sebastian Kaspari 8b5aef7def Update Kotlin to 1.5.10 (and Coroutines to 1.5.0). 3 years ago
Jonathan Almeida 41ba94b951 Issue #20402: Disable LastMediaAccessMiddleware temporarily
The reducer in this middleware assumes the SessionState is always a
TabSessionState which holds the lastMediaAccess. This is true for the
lastAccess long which is a persistent state.

The list of MediaSessionActions however can also come from Custom Tabs
which relies on a CustomTabSessionState.

For now, the temporary fix is to disable this feature by removing the
middleware and no longer adding the last accessed media to the
recent tabs list ("Jump back in") to avoid crashing users while we think
of a real fix.
3 years ago
Roger Yang c4347a9492 Closes #19847: Add telemetry for the default browser notification 3 years ago
Mugurell 1251894933 For #19933 - Show a media tab item on homescreen for the last tab with media 3 years ago
Mugurell f95567912f For #20229 - Use the AC common implementation for ads/search telemetry
Everything should work exactly as before.
3 years ago
Rohan Maity f8599860dd For #1268 Add Unit test for PrivateShortcutCreateManager 3 years ago
Jonathan Almeida 4b4c86551d Close #20320: Use scope from testDispatcher in RecentBookmarksFeatureTest 3 years ago
Jonathan Almeida b877430bad Close #20267: Filter out network errors from Nimbus 3 years ago
Marc Leclair 298ec5cce1 For #19804: Restore logic to original behavior 3 years ago
Michael Comella be64ee4159 For #20127: remove app_opened_all_startup integration. 3 years ago
Elise Richards 9bfe9b0787
For FNX-22339: Recently saved bookmarks (#19835)
* Title and button for home screen recently saved bookmarks section

Create bookmark item view with favicon and title

* View holders and interactors for recently saved bookmarks

Recent bookmark item view holder binding

Create adapter for recent bookmarks. Implement controller methods. Implement view holder bindings for items

Top level adapter for recent bookmarks section

Retrieve list of recent bookmarks on home

View holders and interactors for recently saved bookmarks

Recent bookmark item view holder binding

Create adapter for recent bookmarks. Implement controller methods. Implement view holder bindings for items

Top level adapter for recent bookmarks section

Retrieve list of recent bookmarks on home

Update list on app start and when bookmarks are added

View holders and interactors for recently saved bookmarks

Recent bookmark item view holder binding

Create adapter for recent bookmarks. Implement controller methods. Implement view holder bindings for items

Top level adapter for recent bookmarks section

Retrieve list of recent bookmarks on home

Update list on app start and when bookmarks are added

Make a use case for retrieving and updating the list of recently saved bookmarks

Add adapter items and define header viewholder binding

Use session interactor for header button clicks. Bind in the adapter

* Retrieve list of bookmarks asynchronously on home

Interactor and controller tests

Address review comments

Split up tests for recent bookmarks

Update to new interactors

Dark mode and light mode styles

Refactor bookmarks home stuff

* Add RecentBookmarksFeature to home

Move interactor to SessionControlInteractor

Clean up lint, styles, and dimens.

* Bookmarks use case tests for retrieving recently saved bookmarks. Linting.

* View holder tests

* Match ux to designs for colors, margins, and scrolling

* Clean up clean up

* Tests for the view bound feature

* Controller test

* Clean up: check state of store in feature tests; ellipsize textviews for bookmark item; remove unused attr; format

Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
3 years ago
Roger Yang 0133f42a15 Closes #19846: Show Default Browser Notification if browser is not default 3 years ago
codrut.topliceanu 3ae6472e16 For #20257 - Sets min no. of grid columns to 2 in TabsTray 3 years ago
codrut.topliceanu 083d50aafd For #20250 - Adds FLAG_SECURE to TabsTray dialog 3 years ago
Grisha Kruglov 946fda55aa Closes #20276: Fall-back to URL parsing for tabs with parents to obtain search terms 3 years ago
mcarare b43db5f2b6 For #20029: Remove animations when recreating activity on locale change. 3 years ago
codrut.topliceanu a7f3d34538 For #19131 - Fixes top sites refresh and interactability 3 years ago
Roger Yang e69f3dfbbb Closes #19090: Show snackbar on adding to bookmarks from tabs tray 3 years ago
Christian Sadilek 7c57898c76 Closes #20123: PlacesException when recording history metadata 3 years ago