1
0
Fork 0
Commit Graph

195 Commits (69a9aeebae193107ba122bf60e5b60386666d85b)

Author SHA1 Message Date
mcarare 6c2220bffc For #13388: Use safe call for nullable swipeRefresh. 2020-08-24 09:41:24 +03:00
Jonathan Almeida f3b870d356 For #11918: Take a screenshot when clicking the tab tray
We looked into taking a screenshot right before leaving the
BrowserFragment, however this call will always fail since it's
non-blocking (we never want it to be blocking too), and we will never
receive a screenshot when a session is detached from an EngineView
before the callback is complete.

In Fenix, we can nicely evade this by taking a screenshot when click
the tabs tray icon, which is where you would want to see the most
up-to-date thumbnail of the tab and also does not leave the
BrowserFragment as well.
2020-08-21 20:30:50 -04:00
Kainalu Hagiwara d49ca515f4 For #13330 - Remove feature flag for swipe to switch tabs. 2020-08-18 10:31:23 -10:00
mcarare 1e223a8a53 For #13761: Add a11y change listener after toolbar is initialised.
Also removed it before reference is removed in onDestroy.
2020-08-17 11:35:35 -04:00
Roger Yang da1579b361
Closes #13459: Pass DefaultLoadUrlUseCase to AppLinksFeature (#13460) 2020-08-14 16:09:36 -04:00
Kainalu Hagiwara 2bdcbe5db9 For #11935 - Move BrowserThumbnails to BrowserFragment. 2020-08-12 13:48:47 -07:00
Kainalu Hagiwara ba0c0b134b For #13329 - Remove tab history feature flag. 2020-08-12 12:49:28 -07:00
Kainalu Hagiwara 52d4ffdef0 For #13424 - Fix detekt config and warnings. 2020-08-12 09:04:24 -07:00
Arturo Mejia c52e4fd9f5 For issue #7620: Add support for external download managers 2020-08-11 14:15:10 -04:00
ekager 5d664b979d For #6313 - Removes unused browser animations, improve delayed paint interactions 2020-08-05 20:03:05 -04:00
ekager f663129632 For #6313 - On first load, hides engineView until firstContentfulPaint 2020-08-04 17:15:46 -04:00
Elise Richards 3e8cab19c0
For #10261: PWA Telemetry (#11859)
* Add PWA events to metrics.

Track events for add to homescreen and install.

Map PWA facts to events

* Map component facts to local metrics

Add events pings to fragments

Supress long method for events

Move install event to AC and collect facts

Retrieve fg and bg events from Facts. Do not track intent fg/bg events, only views

* Allow onPause in base fragment to send telemetry for PWA in the external app fragment. Track foreground and bg locally in fenix, and route install and home screen taps from AC facts

* Rebase
2020-08-03 13:59:31 -05:00
Kainalu Hagiwara e1653f629e For #13127 - Make sure tabPreview is added after browserLayout. 2020-07-31 14:14:05 -07:00
Kate Glazko 611adf83e5 remove unused import 2020-07-29 17:47:18 -07:00
Kate Glazko 151e8595b6 For AC #7673 Move DownloadStatus to DownloadState Fenix Side Changes 2020-07-29 17:47:18 -07:00
ekager 6b6e1956ca For #13071 - Only return to home when session doesn't have parent session to select 2020-07-29 09:50:58 -07:00
Kainalu Hagiwara bef98698cb For #12904 - Conditionally inflate SwipeGestureLayout in BaseBrowserFragment.
Changing the root view of BaseBrowserFragment from a CoordinatorLayout
to a SwipeGestureLayout has caused some regressions, particularly in
snackbar behavior. Lets prevent those regressions from occuring in
builds where the feature flag for gestures is off by only adding the
SwipeGestureLayout when the feature flag is on.
2020-07-28 14:54:18 -07:00
Kainalu Hagiwara 272c380755 For #13028 - Add feature flag for tab history. 2020-07-28 11:01:59 -07:00
ekager 1d604d327c For #12966 - Fixes session removal show home logic 2020-07-27 10:27:39 -07:00
ekager 46511d6f8e For #10163 - Adds tab multiselect mode 2020-07-24 18:18:26 -04:00
Kainalu Hagiwara cac0be43e6 For #12880 - Pass a CoordinatorLayout to Snackbars created by the context menu. 2020-07-24 12:30:46 -07:00
mcarare 3883703ed5 For #10026: Update scroll flags on a11y state change. 2020-07-24 10:35:33 +03:00
mcarare e7a5613afb For #10026: Add a11y state listener to BaseBrowserFragment. 2020-07-24 10:35:33 +03:00
Kainalu Hagiwara 8f32b18dfa For #12868 - Fix tab counter menu snackbar position. 2020-07-23 18:30:04 -07:00
Tiger Oakes 8f5a37733d
Create ToolbarPosition enum (#12747) 2020-07-22 19:23:38 -07:00
Kainalu Hagiwara 58ccc64386 Fix UI tests.
We need to pass a CoordinatorLayout instead of a SwipeGestureLayout to
FenixSnackbar.make() in BaseBrowserFragment to prevent UI tests from
breaking. We also need to remove a few view IDs from the tab preview.
2020-07-22 11:26:15 -07:00
Kainalu Hagiwara 921b16233b For #1048 - Add ability to view tab history by long-pressing the back or forward button. 2020-07-22 11:20:47 -07:00
ekager 1dc0ad39f4 For #10784 - Fixes memory leak in BrowserAnimator 2020-07-20 13:50:18 -04:00
Christian Sadilek 16b6776938 Update Android Components to 51.0.20200717190031 2020-07-17 19:32:02 -04:00
ekager 9ed85510ae For #7094 - Adds save login exceptions 2020-07-14 14:47:37 -04:00
Sebastian Kaspari a2a7b11425 Issue #12311: BrowserToolbarController: Stop SessionFeature and release session from EngineView. 2020-07-09 12:36:56 -04:00
ekager f863c341e8 Updates AC to 49.0.20200702190156 and fixes breaking changes 2020-07-03 06:40:06 -04:00
Tiger Oakes ed334788e8 For #11903: Enforce private theme in custom tabs 2020-06-26 22:59:43 -04:00
Sawyer Blatz 13c8abe3dc For #11613: Expand toolbar onUrlChanged 2020-06-24 21:50:06 -04:00
ekager f39313d908 For #8374 - On external session removed, handle back press 2020-06-24 20:17:26 -04:00
Tiger Oakes ccb532bb77
For #11534 - Don't check lastUsed mode for screenshots (#11827) 2020-06-22 17:38:58 -07:00
codrut.topliceanu 0eb2f328dc For #11371 - Fix for Dynamic Download Dialog 2020-06-18 09:00:55 -04:00
Hakkı Kaan Çalışkan 87a65d2445 For #9782: Clean up unused FeatureFlags
I've currently found out this ones unused.
webPushIntegration removed because looks like all fatal bugs solved as it said from note.
2020-06-16 23:30:57 -04:00
Tiger Oakes d81aa62683 Fix PIP toolbar 2020-06-15 15:34:06 -04:00
Tiger Oakes d3d5c8934f Cleanup tests for toolbar controller 2020-06-15 15:25:33 -04:00
Tiger Oakes 704fc6f983 Use updated webapphidetoolbarfeature 2020-06-12 19:21:34 -04:00
Jeff Boek cd3b6181b3 For #10374 - Adds quick contextual menu to tab switcher
Co-authored-by: person808 <kainaluh808@gmail.com>
2020-06-10 16:50:28 -07:00
Sawyer Blatz 27c7ef5ad4 For #8775: Removes feature flag for dynamic bottom toolbar 2020-06-09 20:58:17 -07:00
ekager 54df729fb3 For #8374 - Don't recreate ExternalAppBrowserActivity or finishing activities 2020-06-04 16:44:07 -04:00
Jeff Boek 2dd0a3cb9e
Implement tab tray design improvements and fix close functionality. 2020-06-02 15:03:58 -05:00
Gabriel Luong 60b68a265a
For #10921 - Integrate BrowserThumbnails feature into the tabs tray (#11093) 2020-06-01 14:36:44 -04:00
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
2020-05-29 17:17:56 -05:00
Tiger Oakes 749c95e0f0
Add tests for ReaderModeController (#11049) 2020-05-29 11:46:31 -07:00
David Walsh 267cf35edb For 11001 - Show close all tabs above tab tray 2020-05-28 19:39:56 -07:00
Christian Sadilek 7b5661ed10 Update Android Components version to 44.0.20200528190114
Pass store to download manager and service to address API changes.
2020-05-28 17:26:38 -04:00