Commit Graph

4876 Commits (ba611e848ec0ddbdcbab07b662b940e07cd87c5a)

Author SHA1 Message Date
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
Roger Yang 30814884b5 For #26502: Add time group and private extras in history telemetry 2 years ago
Arturo Mejia fd96263345 Closes #26858: Remove unused nimbus engine-settings tabs-prioritization-enabled feature. 2 years ago
Arturo Mejia 5358e9b878 Closes #26858: Remove unused nimbus engine-settings tabs-prioritization-enabled feature. 2 years ago
Arturo Mejia 49bef5d309 Closes #26858: Remove unused nimbus engine-settings total-cookie-protection-enabled feature. 2 years ago
mcarare 9490fdff71 For #26844: Rename CFRPopupFullscreenLayout class to conform to filename rule. 2 years ago
Gabriel Luong 812f073e39 For #26777 - Part 2: Refactor the Jump Back In onboarding CFR to use the CFRPopup 2 years ago
Gabriel Luong 86b62af556 For #26777 - Part 1: Rename SyncCFRPresenter to HomeCFRPresenter 2 years ago
MatthewTighe 1eba8059f2 Closes #26870: remove layer behind wallpaper thumbnails 2 years ago
sarah541 adb7f7d48a For #26731 - First run onboarding updates 2 years ago
sarah541 bd06b626bf For #26867 - Remove feature flag for first run onboarding updates 2 years ago
Noah Bond 0ed40f239a For #26796 - Fix PocketStoriesComposablesPreview 2 years ago
Noah Bond f9380ebaa1 For #26797 - Add optional parameter to customize the background color of ListItemTabLarge 2 years ago
mcarare d4b6babdb0 For #12725: Suppress UnusedMaterial3ScaffoldPaddingParameter warning.
Padding value is not used for placing content.
2 years ago
mcarare bd354385d7 For #12725: Replace removed static "set", "get" methods of ViewTreeSavedStateRegistryOwner.
ViewTreeSavedStateRegistryOwner is retrieved/set with new extension methods.
2 years ago
Mugurell e51ec147c5 For #26830 - Allow the Pocket stories to scroll to the edges of the screen
Restore using LazyRow's "contentPadding" property to add padding to just the
items while the entire section is allowed to extend to the edges of the screen
and so have enough room to draw items shadows without them being clipped.
2 years ago
Ben Dean-Kawamura fb0ebe4eec Added secret debug menu to override the push server URL (#24170)
- Created a new "sync debug" pref screen to hold the Fxa, Sync, and Push
  server override prefs.  They were taking a lot of screen space on the
  top-level settings menu as individual items
- Added button on that screen to quit FF which is needed to apply the
  changes.
    - This is definitely not the nicest UI, but hopefully QA can just
      override the prefs once save them in an emulator and never have to
      go back to this screen.
    - I do think this is a nicer UI than before, where FF would quit
      after a change to any of the prefs.  That forces you to restart FF
      3 times if you wanted to override all 3 server URLs.
2 years ago
Gabriel Luong 67d8a2c749 For #26776 - Don't dim the window when the Jump back in CFR is shown 2 years ago
Alexandru2909 03bc209dfd For #26191 - Add telemetry for jump back in onboarding message 2 years ago
sarah541 b432436859 For #26759 - Crash fix for UnsupportedOperationException 2 years ago
Gabriel Luong 4dfec35b73 For #26774 - Attempt to show the Synced Tab CFR before the Jump Back In CFR 2 years ago
Gabriel Luong 9c2d4722ef For #26738 - Update MR onboarding with the latest illustrations 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
Noah Bond bc6ec7a64e For #26609 - Update favicon dark mode background color for recent bookmarks and recent tabs 2 years ago
Gabriel Luong ca0cfd79e8 For #26756 - Don't show Jump Back In CFR if the synced tab CFR is shown 2 years ago
Gabriel Luong df2780cd01 For #26754 - Avoid showing CFR if the MR onboarding is being displayed 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
Mugurell b7f9457cc4 For #26723 - Ensure wallpapers are set on the main thread
Using Dispatchers.IO allowed the observer to react faster to wallpaper state
updates but caused issues with updating the wallpaper in fragment layout.

Using Dispatchers.Main.immediate gives us a bit slower reaction time but still
faster than Dispatchers.Main and allows us to still execute before the fragment
is visible.
2 years ago
Gabriel Luong 3507f12484 For #26717 - Only show the MR onboarding dialog for existing users 2 years ago
MatthewTighe 8a9c68c872 Closes #26211: Download wallpapers when thumbnails clicked 2 years ago
MatthewTighe 2cd8a41ea5 Closes #26213: Add wallpaper use case to load thumbnails. 2 years ago
MatthewTighe 0d51d2b0f9 Closes #26214: Download wallpaper thumbnails at app startup 2 years ago
Noah Bond 7eb3278776 For #26607 - Update back plating for recent Bookmarks 2 years ago
mcarare 7cbe730b8a For #26444: Adapt Pocket 'powered by' text to wallpaper. 2 years ago
mcarare 186dee7e77 For #26444: Adapt HomeSectionHeader text colors to wallpaper. 2 years ago
mcarare 02be7600e8 For #26444: Replace SectionHeader with HomeSectionHeader for home sections. 2 years ago
mcarare 8a599bbf4e For #26444: Refactor HomeSectionHeader to have optional show all text. 2 years ago
Mugurell de7cf91d8a For #26450: Remove the star icon from Pocket sponsored stories 2 years ago
Alexandru2909 cedb777655 For #26706 - Add sponsored urls filter in BlocklistHandler 2 years ago
Alexandru2909 070bf5ac24 For #26706 - Change TopSite.containsQueryParameters as Uri extension function 2 years ago
Alexandru2909 22b8b873e1 For #26551 - Add telemetry for MR Onboarding welcome and sync dialogs. 2 years ago
Gabriel Luong 036b0f8a8c For #26696 - Enable showSynCFR for Nightly 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
Gabriel Luong d314c1102b For #26693 - Use a new ID for onboarding_home_sync_title 2 years ago
MatthewTighe 853778e29a For #26511: load homescreen wallpaper in blocking coroutine 2 years ago
sarah541 890a950f66 For #26489 - Add synced tab pickup onboarding message 2 years ago
Roger Yang 6933719877 For #26227: Clean up double exclamation operator in BrowserState 2 years ago
Roger Yang da06df4d99 Close #26666: Use correct content scale when displaying recent tab thumbnail and icon 2 years ago