Commit Graph

313 Commits (3d555782426957ca529de4101beaeba8b5ecde3e)

Author SHA1 Message Date
mcarare f52fa44207 For #9498: Replace navargs with viewModel to remember if scroll to tab 4 years ago
Sebastian Kaspari 02aabea14a Update to new feature-media API. 4 years ago
mcarare e8ad2389ac For #7356: Scroll to selected tab when pressing tab overview 4 years ago
Mihai Branescu 494db56ea5 For #9207 - changed status bar color in home fragment to match gradient background 4 years ago
codrut.topliceanu 030bd38631 For #8561 - Scroll to topSites on app cold start 4 years ago
Jeff Boek c862ca93ba No issue - Fixes shadow on top layout 4 years ago
Jeff Boek 74ce62b5c3 For #8949 - Removes old motionlayout code, fixes how shadow is drawn 4 years ago
Sawyer Blatz 28f58eb025
For #7158: Improves home to search animation (#9008) 4 years ago
Sawyer Blatz e96732604b For #167: Improves home to browser animation 4 years ago
mcarare df80a5240b For #6607 Add button to no tab content pane 4 years ago
David Walsh 5b7a800f98 Make 'Redirect to Sync' home menu item go directly to the 'Reconnect to Sync' / error screen 4 years ago
David Walsh b525f2382a
For #7504 - Update sync error display in menus (#8639) 4 years ago
ekager 7f34204188 For #5843 - Ensure tabs pending deletion are removed 4 years ago
Jeff Boek 541bcf072a Reverts all BrowsingModeManager changes 4 years ago
Sebastian Kaspari d7e1259e7b
Use Mozilla Android Components 34.0.0-SNAPSHOT. (#8527) 4 years ago
Severin Rudie 1be812eba0 For #8408: fix requireContext crash in HomeFragment#onViewCreated 4 years ago
mcarare 372b1e7f0e For #6980: Update Private browsing card.
Added test to description.
Added link to settings.
Updated unit tests.
4 years ago
Simon Chae 2c01022c4b For #8153: Allow web-ext to open new tabs in correct browsing mode 4 years ago
mcarare 5e4ef202b8 For #8262: Set toolbar position relative anchor for collection snackbars 4 years ago
Jeff Boek f9b05e7d5a
For #8212 - Fixes shadow/border when toolbar is on top (#8234) 4 years ago
Marc Leclair 8e61c71a98 reverting linting changes that touched codes that I didn't edit 4 years ago
Marc Leclair afab1c0f4e #8085 removed findViewById with actual id 4 years ago
Marc Leclair 9fc5a1b0fe #7700 fixed linting issues 4 years ago
Marc Leclair 92b38206c7 #7700 fixed scrolling, parallax action to match both images and some code clean up 4 years ago
Marc Leclair 72007590f7 #7700 squash commit and fixing toolbar to switxh to top with coordinatorlayout 4 years ago
David Walsh 4e6215c0c1 Fix linting issue 4 years ago
Sawyer Blatz 9f342fca9e For #6820: Updates background, shadow, & snackbars of toolbar 4 years ago
David Walsh 4b3effdfab For #6820: Place address bar at top or bottom of the home screen based on user preference 4 years ago
Sören Hentzschel 8a7c7fd06f For #7730 - always show "Add private browsing shortcut" in sett… (#7943) 4 years ago
Gabriel Luong f68f89f2bf For #6758 - Part 5: Add top sites to the HomeFragmentStore 4 years ago
Mihai Carare cd853d0d8f For #7029: Navigate to Search Fragment when pressing Start browsing 4 years ago
Severin Rudie 2dc5b397b6
For #7506: show highlight on home 3-dot button (#7665) 4 years ago
Michael Comella a1cbbba4ea For #7423: remove unnecessary wordmark_spacer view.
Co-authored-by: Emma Malysz <emalysz@mozilla.com>
4 years ago
Sawyer Blatz 509fa112d0 For #6308: Remove unecessary telemetry & bump expiry date (#7793)
* For #6308: Remove unecessary telemetry

* For #6308: Bump expiry date on telemetry
4 years ago
Sebastian Kaspari 3a1292911d Update list of tabs after onboarding screen was dismissed. 4 years ago
Sebastian Kaspari 6419d0cf13 Open "migration FAQ" when selecting "What's new" in a Fennec build. 4 years ago
Severin Rudie 569b7670d3 For 6832: update implementation/comment to align w existing AC code 4 years ago
Severin Rudie 65f5ff6b36 For #6832: fix unattached context crash in HomeFragment 4 years ago
Sawyer Blatz c7c4ad051a
For #6413: Adds more snackbar positioning logic (#7444)
* For #6413: Adds more snackbar positioning logic

* Refactor
4 years ago
Josh a40af5b134 Closes #7254 - Replace Anko applyConstraintSet (#7286)
* For #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 ef53e1ff8e Reverts #6925: Make home screen full screen 5 years ago
mcarare b6ba1a1611 For #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 17731620e6 For #7026 Dispatch ModeChange on hideOnboarding 5 years ago
mcarare 45b9ffd66e For #6917 Emit mode change only when new mode is different from current 5 years ago
Mihai Adrian cbdf83c12a For #6943 Hide supportActionBar in onResume, not onCreate (#6978) 5 years ago
Gabriel 56b21426eb
For #5574 - Migrate SessionControl to LibState (#6651)
* For #5574 - Part 1: Port TabAction.SaveTabGroup to TabSessionInteractor and SessionControlController. (#6651)

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

* For #5574 - Part 2: Port TabAction.PrivateBrowsingLearnMore to TabSessionInteractor and SessionControlController (#6651)

* For #5574 - Part 3: Port TabAction.ShareTabs to TabSessionInteractor and SessionControlController (#6651)

* For #5574 - Part 4: Remove unused TabAction.Share and TabItemMenu (#6651)

In #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 #5574 - Part 5: Port TabAction.PlayMedia and TabAction.PauseMedia to TabSessionInteractor and SessionControlController (#6651)

* For #5574 - Part 6: Port TabAction.Select to TabSessionInteractor and SessionControlController (#6651)

* For #5574 - Part 7: Port Onboarding.Finish to OnboardingInteractor and SessionControlController (#6651)

* For #5574 - Part 8: Port TabAction.Close and TabAction.CloseAll to TabSessionInteractor and SessionControlController (#6651)

- Removes TabAction

* For #5574 - Part 9: Port CollectionAction.Delete to CollectionInteractor and SessionControlController (#6651)

* For #5574 - Part 10: Port CollectionAction.ShareTabs to CollectionInteractor and SessionControlController (#6651)

* For #5574 - Part 11: Port CollectionAction.AddTab and CollectionAction.Rename to CollectionInteractor and SessionControlController (#6651)

* For #5574 - Part 12: Port CollectionAction.RemoveTab to CollectionInteractor and SessionControlController (#6651)

* For #5574 - Part 13: Port CollectionAction.OpenTab to CollectionInteractor and SessionControlController (#6651)

* For #5574 - Part 14: Port CollectionAction.CloseTabs to CollectionInteractor and SessionControlController (#6651)

* For #5574 - Part 15: Introduce a HomeFragmentStore (#6651)

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

* For #5574 - Part 16: Port CollectionAction.Collapse and CollectionAction.Expand to CollectionInteractor and SessionControlController (#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 #5574 - Part 20: Remove the architecture module. (#6651)

* For #5574 - Part 17:  Remove duplicate subscribeToTabCollections in BrowserFragment.kt (#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 #5574 - Part 18: Delete SessionControlComponent and fix TabCollection and Tab imports (#6651)

* For #5574 - Part 19: Use the new HomeFragmentStore in the HomeFragment (#6651)

- Renames SessionControlUIView to SessionControlView

* For #5574 - Part 21: Fix white screen on home fragment (#6651)

* For #5574 - Part 22: Fix formatting in SessionControlInteractor and replace See with @see in SessionControlController (#6651)

* For #5574 - Part 23: Move to metrics.track call to the beginning of handleCollectionRemoveTab (#6651)

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

* For #5574 - Part 24: Use the sessionManager getter in SessionControlController (#6651)

* For #5574 - Part 25: Use mapNotNull in List<Tab>.toSessionBundle (#6651)

* For #5574 - Part 26: Simplify closeTab and closeAllTabs functions by assigning a deletionJob constant (#6651)

* For #5574 - Part 27: Replace listOf() with emptyList() in removeAllTabsWithUndo (#6651)

* For #5574 - Part 28: Replace the Context parameter with the HomeActivity in SessionControlController (#6651)

* For #5574 - Part 29: Add test for HomeFragmentStore, DefaultSessionControlController and SessionControlInteractor (#6651)

* For #5574 - Removes running CI against the architecture debug build varient
5 years ago
Jeff Boek 5f7b3bd4d7
For #5972 - Fixes bugs when launching in private mode on Android 5 (#6702) 5 years ago
Mihai Adrian 33b49ff7fd For #6430 Private browsing hint width should not exceed screen dimensions (#6786)
Renamed ambiguous pop-up window name.
Adjusted code to match max line length.
5 years ago
Tiger Oakes 422faaf7c0 Add toolbar helpers (#6531) 5 years ago
Tiger Oakes 7e8f079269
Use ShareData with ShareFragment (#6698) 5 years ago