Commit Graph

416 Commits (6c07bc316f3965e2d6541754686139c7e2138678)

Author SHA1 Message Date
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
Jeff Boek 62eda22d40 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10504 - Creates the TabTrayDialogFragment 4 years ago
ekager eb47788f4d [fenix] For https://github.com/mozilla-mobile/fenix/issues/6832 - Only emit session changes if fragment is attached 4 years ago
Tiger Oakes b676537519 [fenix] Cache findViewById calls in session control (https://github.com/mozilla-mobile/fenix/pull/10575) 4 years ago
Simon Chae 8a493357ba [fenix] Update Android Components version to 41.0.20200506130132 (https://github.com/mozilla-mobile/fenix/pull/10443) 4 years ago
Jeff Boek 4f3f47d30d [fenix] For https://github.com/mozilla-mobile/fenix/issues/1063: Put tab tray behind a feature flag and hidden pref (https://github.com/mozilla-mobile/fenix/pull/10313)
* For https://github.com/mozilla-mobile/fenix/issues/1063 - Adds feature flag and pref for new tab tray

* For https://github.com/mozilla-mobile/fenix/issues/1063 - Swaps add tab to tab tray button when newTabTray is enabled

* For https://github.com/mozilla-mobile/fenix/issues/1063 - Creates hidden preference to use new tab tray

* For https://github.com/mozilla-mobile/fenix/issues/1063 - Hides tabs on home screen when setting is enabled

* For https://github.com/mozilla-mobile/fenix/issues/1063 - Navigate to new tab tray from browser with setting enabled

* For https://github.com/mozilla-mobile/fenix/issues/1063 - Fixes regression where we dont show the new tab message with no tabs and no collections

* For https://github.com/mozilla-mobile/fenix/issues/1063 - Fixes crash when toggling to private mode on the home screen

* For https://github.com/mozilla-mobile/fenix/issues/1063 - combines both settings. Cleans up lint errors
4 years ago
ekager b5f847467f [fenix] For https://github.com/mozilla-mobile/fenix/issues/6832 - Fix various fragment not attached to a context crashes 4 years ago
Sawyer Blatz 8ed532ebdf [fenix] For https://github.com/mozilla-mobile/fenix/issues/9208: Adds in-product prompt to homescreen (https://github.com/mozilla-mobile/fenix/pull/9836) 4 years ago
ekager 5c0d300938 [fenix] Don't use ProcessLifecycleOwner for view-tied consume 4 years ago
ekager b28a0e8ce9 [fenix] No issue: Fix leaking sessionControlInteractor 4 years ago
ekager 94515941cf [fenix] Use HomeFragment viewLifecycleOwner for BrowserSessionsObserver 4 years ago
Grisha Kruglov 2a4ad0e4eb [fenix] Use HomeFragment's viewLifecycleOwner as the lifecycle for accountManager observer registry
If we just use the HomeFragment itself, we end up with a memory leak since the lifecycle events
that would clean up the registry (e.g. destroy) won't run (if the fragment is retained in the backstack, for example).
4 years ago
ekager 3b980dadad [fenix] For https://github.com/mozilla-mobile/fenix/issues/3194 - Pause media while undo snackbar appears 4 years ago
Jeff Boek 6308049167 [fenix] Cleans up nav_graph.xml (https://github.com/mozilla-mobile/fenix/pull/9829)
* For https://github.com/mozilla-mobile/fenix/issues/9751 - Cleans up homeFragment directions

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Uses global actions for fragments not owned by homeFragment

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Cleans up SearchFragment directions

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Removes settings action from DeleteBrowsingDataFragment

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Removes browser action from SettingsFragment

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Adds ManagePhoneFeature global action

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Clean up unused deletebrowsingfragment actions

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Cleans Up HistoryFragment actions

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Removes Home -> Search action

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Removes the Bookmark -> Browser action

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Cleans up bookmark fragment actions

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Cleans up actions from ShareController

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Removes defaultBrowserFragment to browserFragment action

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Removes about -> browser action

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Adds global action to TrackingProtectionFragment

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Removes exception -> browser action

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Removes login -> browser action

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Fixes LoginFragment directions

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Removes ExternalAppBrowser directions

* for https://github.com/mozilla-mobile/fenix/issues/9751 - Cleans up actions

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

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Addresses nits in PR
4 years ago
ekager 101d815231 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9890 - Do not display full screen snackbar with toolbar padding 4 years ago
Mihai Adrian 8f1876407b [fenix] For https://github.com/mozilla-mobile/fenix/issues/9687: Refactor onboarding cards to follow app architecture (https://github.com/mozilla-mobile/fenix/pull/9743)
* For https://github.com/mozilla-mobile/fenix/issues/9687: Refactor onboarding cards to follow app architecture

* For https://github.com/mozilla-mobile/fenix/issues/9687: Update unit test to new controller parameters
4 years ago
Sawyer Blatz 9e5e780a9a [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/9128 & https://github.com/mozilla-mobile/fenix/issues/9222 & https://github.com/mozilla-mobile/fenix/issues/9499: Refactors snackbar creation and fixes placement (https://github.com/mozilla-mobile/fenix/pull/9628) 4 years ago
ekager ea9add8d2b [fenix] For https://github.com/mozilla-mobile/fenix/issues/8125 - Send top sites count with metrics ping 4 years ago
Grisha Kruglov 1a25bc758e [fenix] Part 5: Refactor HomeMenu<->HomeFragment interaction
This refactor "reverses" relationship between these two classes, allowing
HomeMenu to inform its parent, HomeFragment, of any changes to the menu.

Once that's in place, we start observing account manager changes (once its ready)
for account problems.

This solves two problems:
- initialization of the account manager is no longer necessary to build a home menu
- home menu now starts observing changes to the account manager's state (before it was static)
4 years ago
Grisha Kruglov 13deec03a1 [fenix] Part 4: Make sure 'sync is on' snackbar does not initialize account manager 4 years ago
Sawyer Blatz e488ed1773 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/9132: Update to search animation for top toolbar (https://github.com/mozilla-mobile/fenix/pull/9524)
* let animation in top toolbar mode play nicely.

* remove duplicate methods, make code readable.

* migrate getToolbarNavOptions method to BrowserAnimator, one method to rule them all.

* Update linting

Co-authored-by: ahmedmamdouh13 <ahmedmamdouh13196@gmail.com>
4 years ago
mcarare ceec72715d [fenix] For https://github.com/mozilla-mobile/fenix/issues/9498: Replace navargs with viewModel to remember if scroll to tab 4 years ago
Sebastian Kaspari de3dda8af1 [fenix] Update to new feature-media API. 4 years ago
mcarare b65982aba1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7356: Scroll to selected tab when pressing tab overview 4 years ago
Mihai Branescu 7ecf93b320 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9207 - changed status bar color in home fragment to match gradient background 4 years ago
codrut.topliceanu fc2c801048 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8561 - Scroll to topSites on app cold start 4 years ago
Jeff Boek 887c1c0d7a [fenix] No issue - Fixes shadow on top layout 4 years ago
Jeff Boek 81abd0c497 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8949 - Removes old motionlayout code, fixes how shadow is drawn 4 years ago
Sawyer Blatz 4b14b16d51 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7158: Improves home to search animation (https://github.com/mozilla-mobile/fenix/pull/9008) 4 years ago
Sawyer Blatz 74a8a9e29d [fenix] For https://github.com/mozilla-mobile/fenix/issues/167: Improves home to browser animation 4 years ago
mcarare 036e74f0f4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6607 Add button to no tab content pane 4 years ago
David Walsh 7e4c381982 [fenix] Make 'Redirect to Sync' home menu item go directly to the 'Reconnect to Sync' / error screen 4 years ago
David Walsh 1462e34c3f [fenix] For https://github.com/mozilla-mobile/fenix/issues/7504 - Update sync error display in menus (https://github.com/mozilla-mobile/fenix/pull/8639) 4 years ago
ekager 0c4725dbfb [fenix] For https://github.com/mozilla-mobile/fenix/issues/5843 - Ensure tabs pending deletion are removed 4 years ago
Jeff Boek dba1d8166d [fenix] Reverts all BrowsingModeManager changes 4 years ago
Sebastian Kaspari dcd851b611 [fenix] Use Mozilla Android Components 34.0.0-SNAPSHOT. (https://github.com/mozilla-mobile/fenix/pull/8527) 4 years ago
Severin Rudie faf145a04d [fenix] For https://github.com/mozilla-mobile/fenix/issues/8408: fix requireContext crash in HomeFragment#onViewCreated 4 years ago
mcarare 0d7a8129f9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6980: Update Private browsing card.
Added test to description.
Added link to settings.
Updated unit tests.
4 years ago
Simon Chae 0e13878eb2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8153: Allow web-ext to open new tabs in correct browsing mode 4 years ago
mcarare e39a1948d9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8262: Set toolbar position relative anchor for collection snackbars 4 years ago
Jeff Boek 35faf84bfc [fenix] For https://github.com/mozilla-mobile/fenix/issues/8212 - Fixes shadow/border when toolbar is on top (https://github.com/mozilla-mobile/fenix/pull/8234) 4 years ago
Marc Leclair b3231947de [fenix] reverting linting changes that touched codes that I didn't edit 4 years ago
Marc Leclair ee51e9931c [fenix] https://github.com/mozilla-mobile/fenix/pull/8085 removed findViewById with actual id 4 years ago
Marc Leclair 06587df3da [fenix] https://github.com/mozilla-mobile/fenix/issues/7700 fixed linting issues 4 years ago
Marc Leclair 2a95a80b9f [fenix] https://github.com/mozilla-mobile/fenix/issues/7700 fixed scrolling, parallax action to match both images and some code clean up 4 years ago
Marc Leclair 3fd0dd7663 [fenix] https://github.com/mozilla-mobile/fenix/issues/7700 squash commit and fixing toolbar to switxh to top with coordinatorlayout 4 years ago
David Walsh 67d02f76f5 [fenix] Fix linting issue 4 years ago
Sawyer Blatz 0f6e965248 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6820: Updates background, shadow, & snackbars of toolbar 4 years ago
David Walsh 6ae992fc28 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6820: Place address bar at top or bottom of the home screen based on user preference 4 years ago
Sören Hentzschel f55a5190e2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7730 - always show "Add private browsing shortcut" in sett… (https://github.com/mozilla-mobile/fenix/pull/7943) 4 years ago
Gabriel Luong 7b4c67bcc1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6758 - Part 5: Add top sites to the HomeFragmentStore 4 years ago
Mihai Carare 6cf9aeb006 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7029: Navigate to Search Fragment when pressing Start browsing 5 years ago
Severin Rudie 4eb62cfc13 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7506: show highlight on home 3-dot button (https://github.com/mozilla-mobile/fenix/pull/7665) 5 years ago
Michael Comella 901ddb03e9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7423: remove unnecessary wordmark_spacer view.
Co-authored-by: Emma Malysz <emalysz@mozilla.com>
5 years ago
Sawyer Blatz 1b6e2b2f2d [fenix] For https://github.com/mozilla-mobile/fenix/issues/6308: Remove unecessary telemetry & bump expiry date (https://github.com/mozilla-mobile/fenix/pull/7793)
* For https://github.com/mozilla-mobile/fenix/issues/6308: Remove unecessary telemetry

* For https://github.com/mozilla-mobile/fenix/issues/6308: Bump expiry date on telemetry
5 years ago
Sebastian Kaspari f832b4d1d8 [fenix] Update list of tabs after onboarding screen was dismissed. 5 years ago
Sebastian Kaspari e36fd53543 [fenix] Open "migration FAQ" when selecting "What's new" in a Fennec build. 5 years ago
Severin Rudie 7dc3a94acd [fenix] For 6832: update implementation/comment to align w existing AC code 5 years ago
Severin Rudie 1b2c0bd799 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6832: fix unattached context crash in HomeFragment 5 years ago
Sawyer Blatz b86face3d4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6413: Adds more snackbar positioning logic (https://github.com/mozilla-mobile/fenix/pull/7444)
* For https://github.com/mozilla-mobile/fenix/issues/6413: Adds more snackbar positioning logic

* Refactor
5 years ago
Josh 1249b4a5ca [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/7254 - Replace Anko applyConstraintSet (https://github.com/mozilla-mobile/fenix/pull/7286)
* For https://github.com/mozilla-mobile/fenix/issues/7254: Replace anko applyConstraintSet

* Anko has been deprecated and will not be continued

* Refactor ConstraintSet changes

* Replace applyConstraintSet in SearchLayouts

* Refactor HomeFragment ConstraintSet

* Define anonymous ConstraintSet
* Remove ConstraintSet prefix from PARENT_ID
5 years ago
mcarare 51e35d827d [fenix] Reverts https://github.com/mozilla-mobile/fenix/pull/6925: Make home screen full screen 5 years ago
mcarare 35eeb98cac [fenix] For https://github.com/mozilla-mobile/fenix/issues/4107 Make home screen fullscreen.
Add/Remove fullscreen flags in home fragment's onResume / onPause
Change homeLayout padding to include system bars height (status&navigation).
Change homeMenu orientation to UP to properly display menu.
Change home bottomBar background to transparent.
5 years ago
mcarare d49503e58e [fenix] For https://github.com/mozilla-mobile/fenix/issues/7026 Dispatch ModeChange on hideOnboarding 5 years ago
mcarare 4a29b6b06b [fenix] For https://github.com/mozilla-mobile/fenix/issues/6917 Emit mode change only when new mode is different from current 5 years ago
Mihai Adrian a4be691ea0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6943 Hide supportActionBar in onResume, not onCreate (https://github.com/mozilla-mobile/fenix/pull/6978) 5 years ago
Gabriel 9ed4f7f119 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5574 - Migrate SessionControl to LibState (https://github.com/mozilla-mobile/fenix/pull/6651)
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 1: Port TabAction.SaveTabGroup to TabSessionInteractor and SessionControlController. (https://github.com/mozilla-mobile/fenix/pull/6651)

- Introduces the TabSessionInteractor, SessionControlInteractor and SessionControlController classes.
- Removes the TabAction.SaveTabGroup.

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 2: Port TabAction.PrivateBrowsingLearnMore to TabSessionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 3: Port TabAction.ShareTabs to TabSessionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 4: Remove unused TabAction.Share and TabItemMenu (https://github.com/mozilla-mobile/fenix/pull/6651)

In https://github.com/mozilla-mobile/fenix/issues/2205, the tab overflow button was removed which would have shown the
TabItemMenu when clicked. So, we can remove TabItemMenu since it is not
used and as a result, we can also remove TabAction.Share since there are
no consumers.

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 5: Port TabAction.PlayMedia and TabAction.PauseMedia to TabSessionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 6: Port TabAction.Select to TabSessionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 7: Port Onboarding.Finish to OnboardingInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 8: Port TabAction.Close and TabAction.CloseAll to TabSessionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

- Removes TabAction

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 9: Port CollectionAction.Delete to CollectionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 10: Port CollectionAction.ShareTabs to CollectionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 11: Port CollectionAction.AddTab and CollectionAction.Rename to CollectionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 12: Port CollectionAction.RemoveTab to CollectionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 13: Port CollectionAction.OpenTab to CollectionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 14: Port CollectionAction.CloseTabs to CollectionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 15: Introduce a HomeFragmentStore (https://github.com/mozilla-mobile/fenix/pull/6651)

- We will hook up the HomeFragmentStore in later parts.
- Removes List<Tab>.toSessionBundle(context: Context) since it is unused.

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 16: Port CollectionAction.Collapse and CollectionAction.Expand to CollectionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

- We assume the store is hooked up to the SessionControlController in this part,
but this work will be done in a later part.
- Removes CollectionAction.

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 20: Remove the architecture module. (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 17:  Remove duplicate subscribeToTabCollections in BrowserFragment.kt (https://github.com/mozilla-mobile/fenix/pull/6651)

There is a duplicate call of subscribeToTabCollections() in both HomeFragment and BrowserFragment.
In this patch, we remove the call in BrowserFragment to avoid passing the HomeFragmentStore to
BrowserFragment in order to dispatch the CollectionsChange event.

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 18: Delete SessionControlComponent and fix TabCollection and Tab imports (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 19: Use the new HomeFragmentStore in the HomeFragment (https://github.com/mozilla-mobile/fenix/pull/6651)

- Renames SessionControlUIView to SessionControlView

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 21: Fix white screen on home fragment (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 22: Fix formatting in SessionControlInteractor and replace See with @see in SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 23: Move to metrics.track call to the beginning of handleCollectionRemoveTab (https://github.com/mozilla-mobile/fenix/pull/6651)

This ensures that the metrics.track will be called immediately before the tab is removed from the collection.

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 24: Use the sessionManager getter in SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 25: Use mapNotNull in List<Tab>.toSessionBundle (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 26: Simplify closeTab and closeAllTabs functions by assigning a deletionJob constant (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 27: Replace listOf() with emptyList() in removeAllTabsWithUndo (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 28: Replace the Context parameter with the HomeActivity in SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 29: Add test for HomeFragmentStore, DefaultSessionControlController and SessionControlInteractor (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Removes running CI against the architecture debug build varient
5 years ago
Jeff Boek 11b8410367 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5972 - Fixes bugs when launching in private mode on Android 5 (https://github.com/mozilla-mobile/fenix/pull/6702) 5 years ago