Commit Graph

383 Commits (594483f535ae894306e0371aa4b01c8f2bb0ed10)

Author SHA1 Message Date
Sachin 6f3c613f97 [fenix] for https://github.com/mozilla-mobile/fenix/issues/11364 added a resetAfter for onboarding variable inside HomeFragment to avoid random system strictmode violations during UI testing. (https://github.com/mozilla-mobile/fenix/pull/13811) 4 years ago
Jeff Boek 4898f0edfc [fenix] For https://github.com/mozilla-mobile/fenix/issues/13052 - When opening a new tab pre-open search 4 years ago
ekager a42bb3c9de [fenix] For https://github.com/mozilla-mobile/fenix/issues/6313 - Removes unused browser animations, improve delayed paint interactions 4 years ago
Jeff Boek 4f119b055d [fenix] Wires up controller, store and interactor. (https://github.com/mozilla-mobile/fenix/pull/13324)
* For https://github.com/mozilla-mobile/fenix/issues/13320 - Wires up the search store, controller and interactor for the new search experience

* For https://github.com/mozilla-mobile/fenix/issues/13323 - Navigates to new search experience from the browser when enabled
4 years ago
Jeff Boek 5b99bf33a1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/13052 - Creates new dialog fragment for search and puts it behind a feature flag 4 years ago
Mihai Eduard Badea 11baf289f3 [fenix] For issue https://github.com/mozilla-mobile/fenix/issues/12400 - Refresh swiped collection tab view
Item is now refreshed by calling notifyDataSetChanged on the adapter when the last tab from the collection has been swiped away and the user cancels the deletion by pressing the cancel button from the dialog.
Also added a "wasSwiped" flag to onCollectionRemoveTab in order to check if the tab was deleted from a swipe action and not by pressing the "X" button.
4 years ago
ekager d7514bcf78 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6846: Added quick actions for nav bar in home 4 years ago
ekager 1ced27bda6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10163 - Adds tab multiselect mode 4 years ago
Sawyer Blatz fdf22f7e74 [fenix] No issue: fix master 4 years ago
Sawyer Blatz adc1813fd6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12793: Improve snackbars for tabs tray 4 years ago
Sawyer Blatz b4a0e122d1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10997: Remove scrolling from home (https://github.com/mozilla-mobile/fenix/pull/12866) 4 years ago
Tiger Oakes 0d37525151 [fenix] Migrate from Session.toTab to BrowserStore (https://github.com/mozilla-mobile/fenix/pull/12221) 4 years ago
Tiger Oakes bf4a7cd969 [fenix] Create ToolbarPosition enum (https://github.com/mozilla-mobile/fenix/pull/12747) 4 years ago
Tiger Oakes 3bccc0dd50 [fenix] Pass settings and metrics to CFR 4 years ago
Sawyer Blatz 54a6de9b84 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12735: Fixes issue with tab deletion undo (https://github.com/mozilla-mobile/fenix/pull/12737) 4 years ago
Tiger Oakes 549acfa6f1 [fenix] Test session control controller (https://github.com/mozilla-mobile/fenix/pull/12652) 4 years ago
Mihai Eduard Badea 58a456eb33 [fenix] For issue https://github.com/mozilla-mobile/fenix/issues/12126 - Tab counter consumeFrom update
Added a direct call to the updateTabCounter method to account for changes made to the BrowserState while the tabCounter view is not visible.
4 years ago
ValentinTimisica f27c27360a [fenix] For https://github.com/mozilla-mobile/fenix/issues/11763: Shows confirmation dialog when deleting last tab from collection 4 years ago
ValentinTimisica bad18816f2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/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
mcarare 53508bffea [fenix] For https://github.com/mozilla-mobile/fenix/issues/12125: Handle visibility updates for add to collection button. 4 years ago
ekager 1949ca714f [fenix] For https://github.com/mozilla-mobile/fenix/issues/11991 - Show tab count during onboarding 4 years ago
MarcLeclair fe4a508fbf [fenix] For https://github.com/mozilla-mobile/fenix/issues/11841: Removed topsite bug on private browsing (https://github.com/mozilla-mobile/fenix/pull/12020) 4 years ago
David Walsh c6a8a6ed28 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11860 - Conditionally show add to collection button on Home screen 4 years ago
person808 1aaf9108c7 [fenix] Followup for https://github.com/mozilla-mobile/fenix/issues/11442 - Add tab counter menu metrics to home fragment. 4 years ago
Tiger Oakes 9818176c34 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11534 - Don't check lastUsed mode for screenshots (https://github.com/mozilla-mobile/fenix/pull/11827) 4 years ago
MarcLeclair 17d1072e3a [fenix] For https://github.com/mozilla-mobile/fenix/issues/11660: added prefetch for topsites and update in onCreateView() (https://github.com/mozilla-mobile/fenix/pull/11668)
* For https://github.com/mozilla-mobile/fenix/issues/11660:added prefetch for topsites

TopSites will be prefetched with observerOnce (wrapper around observerForever).
Also, the SessionControlView.update() is called right away instead of waiting from consumeFrom
in the HomeFragment.onCreateView() which will allow the UI to render all at once on its first
perform traversal

* Removed the submitList(null) since it retriggered a drawing on lower end device
4 years ago
Sachin e56cc28342 [fenix] for https://github.com/mozilla-mobile/fenix/issues/11617 added a resetPoliciesAfter ext function for StrictMode, and replaced all existing calls to "resetAfter" with "resetPoliciesAfter" (https://github.com/mozilla-mobile/fenix/pull/11619) 4 years ago
David Walsh ce2b4b9bfb [fenix] For 11428 - Focus on home screen address bar when tab tray new tab is tapped (https://github.com/mozilla-mobile/fenix/pull/11429) 4 years ago
Jeff Boek 2b3db93673 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10374 - Adds quick contextual menu to tab switcher
Co-authored-by: person808 <kainaluh808@gmail.com>
4 years ago
Sachin c5d5a12d0e [fenix] for https://github.com/mozilla-mobile/fenix/issues/10839 added IO coroutine to check onboarding stat from sharedpref (https://github.com/mozilla-mobile/fenix/pull/11338)
changed coroutine scope to fragments lifecycle
4 years ago
Sachin c17dc6a61b [fenix] for https://github.com/mozilla-mobile/fenix/issues/7225, Changed strictMode thread penalty to dialog on startup and back to logs after startup is done. (https://github.com/mozilla-mobile/fenix/pull/10831)
for https://github.com/mozilla-mobile/fenix/issues/7225, refactored and cleanup the branch.

for https://github.com/mozilla-mobile/fenix/issues/7225, change strict mode policy only on main process.

for https://github.com/mozilla-mobile/fenix/issues/7225, setting thread policy inside a seperate thread to keep it from getting overridden in activities.

for https://github.com/mozilla-mobile/fenix/issues/7225 removed Handler().postAtFrontOfQueue as a solution due to unknown side effects. moved the enableStrictMode function to be static so we can reuse it.

for https://github.com/mozilla-mobile/fenix/issues/7225 lint check

for https://github.com/mozilla-mobile/fenix/issues/7225 created strict mode manager and moved enabledStrictMode function inside it.

for https://github.com/mozilla-mobile/fenix/issues/7225 removed penalty death on network

for https://github.com/mozilla-mobile/fenix/issues/7225 added allow disk access on thread for already existing violation


strict mode running in main process to see if it passes the gitlab check, will revert it if it doesnt

allowed diskread for super.onCreate for home activity

added comments for disk violation oncreate homeactivity

added fragment manager inside strictmode manager

allowed disk read for onboarding

allowed disk read for cachedTopSites
4 years ago
Jeff Boek 2c2cc97b97 [fenix] Remove tab tray feature flag (https://github.com/mozilla-mobile/fenix/pull/11176)
* For https://github.com/mozilla-mobile/fenix/issues/11171 - Removes feature flag for the new tab tray

* For https://github.com/mozilla-mobile/fenix/issues/11171 - Removes all tab references from homeFragment

* For https://github.com/mozilla-mobile/fenix/issues/11171 - Fixes unit tests

* For https://github.com/mozilla-mobile/fenix/issues/11171 - Gets UI tests to compile and HomeScreenTest to pass

* For https://github.com/mozilla-mobile/fenix/issues/11171 - Fixes `deleteMultipleSelectionTest`

* For https://github.com/mozilla-mobile/fenix/issues/11171 - Fixes `openHistoryItemInNewPrivateTabTest`

* For https://github.com/mozilla-mobile/fenix/issues/11171 - Fixes `openHistoryInPrivateTabTest`

* For https://github.com/mozilla-mobile/fenix/issues/11171 - Fixes `openHistoryInNewTabTest`

* For https://github.com/mozilla-mobile/fenix/issues/11171 - Fixes `openNewPrivateTabTest`

* For https://github.com/mozilla-mobile/fenix/issues/11171 - Fixes tabbedBrowsingTests

* For https://github.com/mozilla-mobile/fenix/issues/11171 - Fixes SettingsPrivacyTest

* For https://github.com/mozilla-mobile/fenix/issues/11171 - Fixes TopSitesTest

* For https://github.com/mozilla-mobile/fenix/issues/11171 - Fixes lint errors

* Ignore
4 years ago
David Walsh 49359e95e0 [fenix] Scroll to the top of home when using the tab tray 4 years ago
Jeff Boek c02dd322e2 [fenix] Implement tab tray design improvements and fix close functionality. 4 years ago
ValentinTimisica 6713c90c14 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/9696: Adds Add-ons menu item to the home menu 4 years ago
Vishwa Patel d7faa8c2c5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10834 - Adding Sync Tabs Feature in Fenix 4 years ago
Jeff Boek b314fce425 [fenix] Refactors the TabTrayDialogFragment to ditch that weird interactor (https://github.com/mozilla-mobile/fenix/pull/11061)
* For https://github.com/mozilla-mobile/fenix/issues/11056 - Removes unused argument when navigating to the collection creation fragment

* For https://github.com/mozilla-mobile/fenix/issues/11056 - Moved the collection creation navigation logic to the TabTrayDialogFragment

* For https://github.com/mozilla-mobile/fenix/issues/11056 - Moves navigating to the share screen from home/browser to the TabTrayDialogFragment

* For https://github.com/mozilla-mobile/fenix/issues/11056 - We moved tab selection logic from home/browser to the tab tray dialog

* For https://github.com/mozilla-mobile/fenix/issues/11056 - Moved new tab tapped logic to the tab tray dialog fragment

* For https://github.com/mozilla-mobile/fenix/issues/11056 - Removes all interactor logic for the TabTrayDialogFragment

* For https://github.com/mozilla-mobile/fenix/issues/11056 - Migrates the presentation / navigation around the TabTrayDialog to the androidx navigation library
4 years ago
ValentinTimisica 64896fe497 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/10064: Open help articles in normal tab instead of custom tab 4 years ago
David Walsh b23bda3827 [fenix] For 11001 - Show close all tabs above tab tray 4 years ago
Sawyer Blatz b5b49eccb6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9488: Add search widget CFR 4 years ago
David Walsh 017016e655 [fenix] For 10734 - Open tab tray when collection is opened from Home (https://github.com/mozilla-mobile/fenix/pull/10751)
* For 10734 - Open tab tray when collection is opened from Home

* Update to work with tab tray drawer
4 years ago
David Walsh bb512269ab [fenix] For https://github.com/mozilla-mobile/fenix/issues/10865 - Implement 3 dot menu for tab tray (https://github.com/mozilla-mobile/fenix/pull/10869) 4 years ago
David Walsh 2596bb1c51 [fenix] Remove onTabClosed from interactor 4 years ago
David Walsh 312998c39d [fenix] Fix elevation for snackbar and fab 4 years ago
David Walsh 40381c9e65 [fenix] Move snackbar to TabTrayDialogFragment 4 years ago
David Walsh dec2ddef27 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10864 - Display snack bar to undo closing tabs 4 years ago
Tiger Oakes 2c2ca71d82 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10596 - Redirect moz://a URL (https://github.com/mozilla-mobile/fenix/pull/10688) 4 years ago
Jeff Boek f92ea0f960 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10504 - Removes "old" TabTrayFragment 4 years ago
Jeff Boek 18f664f477 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10504 - cleans up tabLayout colors 4 years ago
Jeff Boek 8c770984a0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10504 - Adds tabTrayDialogInteractor to browserfragment 4 years ago