Commit Graph

595 Commits (e717d79abd56594220e045b7be0f1d45b9a892d4)

Author SHA1 Message Date
akliuxingyuan e717d79abd Merge tag 'v110.0.1' into fork 1 year ago
akliuxingyuan 782e8980b0
Merge tag 'v109.1.1' into fork 1 year ago
akliuxingyuan 6ec7bb2bf6 Merge branch 'fenix/108.1.1' into fork 1 year ago
Jeff Boek 0ea57ded11 For mozilla-mobile#17904 - Increases tap area on the add shortcut button 2 years ago
mike a 7c4050eb08 Closes #25809: tapping on search engine triggers engine selection 2 years ago
t-p-white 0c13a5aa5d For #27455 - Rename all reference names to `AppStore` as appStore 2 years ago
Mugurell f0aced49c0 For #27366 - Revert "For #26644 - Apply the new theme earlier to the private browsing button"
This reverts commit c7c5682104 given that the
severity of the new issue is much higher.
2 years ago
mergify[bot] 3e625b9d70
For #26644 - Apply the new theme earlier to the private browsing button (#27204)
This will help avoid a race between the two layers of the svg, with previously
only changing the color for just one.
By applying the new theme to the button when needing to apply the textColor
from wallpaper it will automatically use the right

(cherry picked from commit c7c5682104)

Co-authored-by: Mugurell <Mugurell@users.noreply.github.com>
2 years ago
mergify[bot] 7bfe1ade6b
For #26644 - Apply the wallpaper provided text color to the Fenix logo (backport #27009) (#27196)
* For #26644 - Split the Fenix logo in two images

This will allow us applying a certain tint just for the image containing a text
to have a better contrast with wallpapers.

(cherry picked from commit 103a0cb250)

* For #26644 - Apply the wallpaper provided text color to the Fenix logo

And to the private mode switcher.

(cherry picked from commit 7b5ba840ab)

Co-authored-by: Mugurell <Mugurell@users.noreply.github.com>
2 years ago
Mugurell c7c5682104 For #26644 - Apply the new theme earlier to the private browsing button
This will help avoid a race between the two layers of the svg, with previously
only changing the color for just one.
By applying the new theme to the button when needing to apply the textColor
from wallpaper it will automatically use the right
2 years ago
MatthewTighe a86bf2566a For #27055: check whether applied wallpaper name is blank
(cherry picked from commit 414c569e86)
2 years ago
Mugurell 7b5ba840ab For #26644 - Apply the wallpaper provided text color to the Fenix logo
And to the private mode switcher.
2 years ago
MatthewTighe 414c569e86 For #27055: check whether applied wallpaper name is blank 2 years ago
mike a c81e7a1453 Closes #26999: fix disapprearing wallpapers after going back to home screen 2 years ago
MatthewTighe 3ef7f959db For #26511: apply wallpapers immediately and observe updates 2 years ago
Christian Sadilek 9cae449e06 Revert "For #26511: Parallelize work for setting the wallpaper"
This reverts commit ce3a7152f9.
2 years ago
Christian Sadilek d39759e7ea Revert "For #26511: Avoid waiting to set no wallpaper"
This reverts commit 4a88dbf1f1.
2 years ago
mcarare ffcef5ff2e For #26844: Fix ktlint issues and remove them from baseline. 2 years ago
Mugurell 4a88dbf1f1 For #26511: Avoid waiting to set no wallpaper
This should squeeze the most performance for users who haven't set a wallpaper.
2 years ago
Mugurell ce3a7152f9 For #26511: Parallelize work for setting the wallpaper
Split loading the bitmap from storage and actually setting it in two operations
with one that can run in parallel with onCreateView for HomeFragment and one
that can be used serially on the main thread to actually set the wallpaper.

This seems like the best compromise to ensure that everytime the homescreen is
shown it will have the wallpaper set but does affect the performance - there is
a delay in showing HomeFragment to account for waiting for the wallpaper to be
set.
In testing the new delay seems close to the one from the initial wallpapers
implementation. See more in https://github.com/mozilla-mobile/fenix/pull/26794.
2 years ago
Gabriel Luong c43271fc0d For #26739 - Display MR onboarding dialog to existing users as soon as the app is opened 2 years ago
Mugurell 93859d8560 For #26723 - Fix WallpapersObserver leaking a view from HomeFragment
The observer initialized with a fragment View would outlive the fragment and in
that allow for leaking the entire fragment layout.
2 years ago
Gabriel Luong 3507f12484 For #26717 - Only show the MR onboarding dialog for existing users 2 years ago
Alexandru2909 070bf5ac24 For #26706 - Change TopSite.containsQueryParameters as Uri extension function 2 years ago
Jonathan Almeida 40cd58132e Close #25919: Move UpdateFirstFrameDrawn to RecyclerView.onLayoutCompleted
As part of a preventitive measure for home page regression loading, we
fixed the UpdateFirstFrameDrawn call to happen after the first layout in
the main RecyclerView is completed. In addition, we also make pocket
aware of this flag so that it renders itself after the first layout.

This helps prioritize current & future features that are visible first
to render before those that are off screen.

Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
2 years ago
Mugurell ab3f6b5e4b For #26555 - Observe and update the wallpaper before HomeScreen is visible.
By using Store.observeManually in a standalone coroutine we can observe the
store and update the wallpapers even before onStart (in manual tests is right
around onStart, certainly before the other widgets shown on homescreen).

Created a new WallpapersObserver to have the functionality easier to reason
about and be easier to test.
2 years ago
MatthewTighe 853778e29a For #26511: load homescreen wallpaper in blocking coroutine 2 years ago
Alexandru2909 b29b5049aa For #26400 - Add long-press option to remove tab pickup on homescreen 2 years ago
MatthewTighe 7bfd6caa5b For #26423: simplify wallpaper types to single data class 2 years ago
MatthewTighe ab306f0ab9 Fixes #26124: recent synced tab will use preview image URLs from history 2 years ago
sunilk9211 db47f4182d For #25985: Remove ability to click the logo to change the wallpaper 2 years ago
Roger Yang 85f8a1f3ee Close #26150: Do not show sync tabs in home when sync open tabs setting is disabled 2 years ago
MatthewTighe 72959901d8 Fixes #26245: refactor the WallpaperManager as several WallpaperUseCases 2 years ago
MatthewTighe 29a8c33ba5 Fixes #26377: re-open already opened recent synced tabs 2 years ago
MatthewTighe 9fb6eeb8cf Fixes: #26052 remove WallpaperManager::updateWallpaper 2 years ago
MatthewTighe 767d604315 Fixes #26029: Add wallpaper state to AppStore 2 years ago
Gabriel Luong 8f51a9968a For #26026 - Refactor the FenixTabCounterMenu creation from HomeFragment to TabCounterBuilder 2 years ago
sarah541 da4328e53f For #22186 - Scroll to collection after creating one 2 years ago
MatthewTighe 5e15e9a6b3 Fixes #25955: refactor RecentSyncedTabsFeature to use SyncStore 2 years ago
MatthewTighe 1d20914f8f Fixes 24823: remove recent synced tab when logged out 2 years ago
Alexandru2909 4d430adbbe For #25764 - Prevent sponsored shortcut URLs from appearing as `frecent` shortcuts 2 years ago
MatthewTighe d6952cb2aa Fixes #25545: wait to draw Pocket until after first frame 2 years ago
Arturo Mejia 6a33f29a91 Revert "For #24455 - Migrate NoCollectionsMessageViewHolder to Compose"
This reverts commit 7b895aba
2 years ago
MatthewTighe 07d4a8599d fixes #25386: turn task continuity on by default for nightly 2 years ago
Mugurell 849d922038 For #25352 - Add a new FML feature to gate Pocket sponsored stories 2 years ago
Mugurell 06d4384c11 For #25025 - Rename PocketStoriesChange to PocketStoriesClean
PocketStoriesChange was called only once - to clean the shown stories when the
user gets to the homescreen and the Pocket feature is disabled - useful for the
situations in which the user returns after disabling the feature in settings.

Populating the store with recommended stories to show was already happening
based on 'PocketStoriesCategoriesChange' and sponsored stories will be added by
using 'PocketSponsoredStoriesChange' so renaming 'PocketStoriesChange' will
help on reducing any confusion in the future.

Also added documentation for all Pocket related actions from AppStore and
removed the 'UndocumentedPublicClass' detekt suppressions.
2 years ago
Mugurell bd1feeaac9 For #25025 - Download sponsored stories on debug only 2 years ago
Gabriel Luong f25129c8ac For #24991 - Refactor the HomeMenu creation from HomeFragment to HomeMenuBuilder 2 years ago
sarah541 7b895abab1 For #24455 - Migrate NoCollectionsMessageViewHolder to Compose 2 years ago
Alexandru2909 89a1e6367f For #24262 - Filter Amazon/eBay sponsored tiles when the respective search engine is set 2 years ago