Commit Graph

315 Commits (13deec03a1a163ccf0a30d084999d3118b62d4d4)

Author SHA1 Message Date
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 4 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) 4 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
Mihai Adrian 8734472571 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6430 Private browsing hint width should not exceed screen dimensions (https://github.com/mozilla-mobile/fenix/pull/6786)
Renamed ambiguous pop-up window name.
Adjusted code to match max line length.
5 years ago