Commit Graph

1169 Commits (2798961b61b29bd90a7fa2cfb7d8a706e699a4c0)

Author SHA1 Message Date
Alexandru2909 6c3d248341 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27691 - Replace 'Pocket' word in all strings with placeholder 2 years ago
Jonathan Almeida 2cd60894c7 [fenix] Bug 1795105: Remove usages of ContentState.thumbnail 2 years ago
Noah Bond e77c0275ff [fenix] For https://github.com/mozilla-mobile/fenix/issues/27485 - Replace `Button` in `CustomizeHomeButtonViewHolder` with `TertiaryButton` 2 years ago
Noah Bond 71279545a5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27579 - Fix broken previews for MessageCard 2 years ago
Harrison Oglesby eb400a5243 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27459 - Add divider composable (https://github.com/mozilla-mobile/fenix/pull/27544) 2 years ago
Gabriel Luong afa524bba3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27584 - Replace Button in RecentSyncedTab with SecondaryButton 2 years ago
Roger Yang d8776a4c8e [fenix] Close https://github.com/mozilla-mobile/fenix/issues/24613: Remove history improvement feature flag 2 years ago
t-p-white b31d24c2fc [fenix] For https://github.com/mozilla-mobile/fenix/issues/27455 - Rename all reference names to `AppStore` as appStore 2 years ago
Noah Bond 9640057475 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26520 - Color homepage cards via wallpaper card colors 2 years ago
mcarare 393d5161df [fenix] For https://github.com/mozilla-mobile/fenix/issues/27541: Update AndroidX Annotation to latest version.
Add AndroidX Annotation as a direct dependency to app build.gradle.
Update imports for annotations moved to Companion Object.
2 years ago
Alexandru2909 e473136c8b [fenix] For https://github.com/mozilla-mobile/fenix/issues/27135 - Correctly report top sites for a11y services 2 years ago
sarah541 3a5ee72817 [fenix] Truncate urls to prevent slowing down of UI 2 years ago
Sammy Khamis c95b49df11 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27117 - Update copy for the menu from "Sign in to sync" to "Sync and save data" 2 years ago
Mugurell 5dff71c810 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27366 - Revert "For https://github.com/mozilla-mobile/fenix/issues/26644 - Apply the new theme earlier to the private browsing button"
This reverts commit dbcd3fa063e12784486bc9be0581e1f965e9801c given that the
severity of the new issue is much higher.
2 years ago
mcarare a935dda783 [fenix] For https://github.com/mozilla-mobile/fenix/issues/25980: Replace deprecated popUpTo var. 2 years ago
Arturo Mejia 4fdfb13d88 [fenix] For https://github.com/mozilla-mobile/fenix/issues/3709: Add save to PDF UI. 2 years ago
Mugurell 41efc4d36c [fenix] For https://github.com/mozilla-mobile/fenix/issues/24544 - Have Talkback use "expand" and "collapse" actions for collections 2 years ago
MatthewTighe 74df63148a [fenix] For https://github.com/mozilla-mobile/fenix/issues/27127: do not display wallpaper onboarding in private browsing mode 2 years ago
Mugurell bb8f80b86a [fenix] For https://github.com/mozilla-mobile/fenix/issues/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
Gabriel Luong 1c6da00247 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27026 - Use the wallpaper adapted text color for the Collections placeholder 2 years ago
Mugurell 4070064fa2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26644 - Apply the wallpaper provided text color to the Fenix logo
And to the private mode switcher.
2 years ago
MatthewTighe 8980e02496 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27055: check whether applied wallpaper name is blank 2 years ago
mike a 2dc6ba974a [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/26999: fix disapprearing wallpapers after going back to home screen 2 years ago
mike a 954ed79fa1 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/26971: fix wallpaper onboarding display condition 2 years ago
Mugurell e48fd2951e [fenix] For https://github.com/mozilla-mobile/fenix/issues/26737 - Use the body2 for title else caption style in the Pocket section 2 years ago
Alexandru2909 5202efa275 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26690 - Dismiss search dialog when opening recent synced tab dropdown menu 2 years ago
Alexandru2909 632a03ff12 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26790 - Dismiss search dialog when opening recent bookmark dropdown menu 2 years ago
Alexandru2909 49d9032df2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26790 - Dismiss search dialog when opening recent visit dropdown menu 2 years ago
Alexandru2909 3d949c808f [fenix] For https://github.com/mozilla-mobile/fenix/issues/26790 - Dismiss search dialog when opening recent tab dropdown menu
For https://github.com/mozilla-mobile/fenix/issues/26790 -  recent tab
2 years ago
MatthewTighe 03f7ac5328 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26511: apply wallpapers immediately and observe updates 2 years ago
mcarare adb2816dbb [fenix] For https://github.com/mozilla-mobile/fenix/issues/26743: Update the URL text styling in ClickableSubstringLink used by PoweredByPocketHeader
Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
2 years ago
mike a af79653039 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/26212: Download wallpapers when a thumbnail is clicked 2 years ago
mike a 8205e6f907 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/26750: add Wallpapers Onboarding dialog 2 years ago
Christian Sadilek 6c2ce5661e [fenix] Revert "For https://github.com/mozilla-mobile/fenix/issues/26511: Parallelize work for setting the wallpaper"
This reverts commit e7edeaababfb2828a2c6b200911421f4967a53ac.
2 years ago
Christian Sadilek 028d7e9136 [fenix] Revert "For https://github.com/mozilla-mobile/fenix/issues/26511: Avoid waiting to set no wallpaper"
This reverts commit 5010de1aa7b97c54d53d04744090a1d3f339d508.
2 years ago
Christian Sadilek 83e28ebf0e [fenix] Revert "Closes https://github.com/mozilla-mobile/fenix/issues/26750: add Wallpapers Onboarding dialog"
This reverts commit 2a96c8ee06377f3103b0d4d3efe82e7b2112d0ac.
2 years ago
Christian Sadilek 6171a8f85b [fenix] Revert "Closes https://github.com/mozilla-mobile/fenix/issues/26750: add ktlintFormat changes"
This reverts commit d696b7f8b1453816fda7724262a66306e5f32192.
2 years ago
Christian Sadilek 3e06f5b0ca [fenix] Revert "Closes https://github.com/mozilla-mobile/fenix/issues/26750: pr review changes"
This reverts commit 013c9beaa36741d005b363cfedc7f2412906449e.
2 years ago
mike a d123ba20b5 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/26750: pr review changes 2 years ago
mike a 7204aa5081 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/26750: add ktlintFormat changes 2 years ago
mike a 090060f486 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/26750: add Wallpapers Onboarding dialog 2 years ago
mcarare 932823c871 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26844: Fix ktlint issues and remove them from baseline. 2 years ago
Mugurell f930d3e3cc [fenix] For https://github.com/mozilla-mobile/fenix/issues/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 d6330b6dac [fenix] For https://github.com/mozilla-mobile/fenix/issues/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 4a46d19da0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26777 - Part 2: Refactor the Jump Back In onboarding CFR to use the CFRPopup 2 years ago
Gabriel Luong 13e8bf7c45 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26777 - Part 1: Rename SyncCFRPresenter to HomeCFRPresenter 2 years ago
sarah541 46536b7264 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26731 - First run onboarding updates 2 years ago
Noah Bond f83f448128 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26796 - Fix PocketStoriesComposablesPreview 2 years ago
Noah Bond d25f8c6c43 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26797 - Add optional parameter to customize the background color of ListItemTabLarge 2 years ago
Mugurell 58e6ebb9b8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/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
Gabriel Luong d2f7a63214 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26774 - Attempt to show the Synced Tab CFR before the Jump Back In CFR 2 years ago
Gabriel Luong 6cfe8c9008 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26739 - Display MR onboarding dialog to existing users as soon as the app is opened 2 years ago
Noah Bond 87a8175c83 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26609 - Update favicon dark mode background color for recent bookmarks and recent tabs 2 years ago
Gabriel Luong 980594f218 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26756 - Don't show Jump Back In CFR if the synced tab CFR is shown 2 years ago
Gabriel Luong a5e3c1ab73 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26754 - Avoid showing CFR if the MR onboarding is being displayed 2 years ago
Mugurell 263149bab8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/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 4662dbd8ab [fenix] For https://github.com/mozilla-mobile/fenix/issues/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 87469071cd [fenix] For https://github.com/mozilla-mobile/fenix/issues/26717 - Only show the MR onboarding dialog for existing users 2 years ago
Noah Bond 5ba048f43b [fenix] For https://github.com/mozilla-mobile/fenix/issues/26607 - Update back plating for recent Bookmarks 2 years ago
mcarare 05df6af0b4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26444: Adapt Pocket 'powered by' text to wallpaper. 2 years ago
mcarare 8e99bc1852 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26444: Replace SectionHeader with HomeSectionHeader for home sections. 2 years ago
Mugurell 451cb2338c [fenix] For https://github.com/mozilla-mobile/fenix/issues/26450: Remove the star icon from Pocket sponsored stories 2 years ago
Alexandru2909 69688b8b9c [fenix] For https://github.com/mozilla-mobile/fenix/issues/26706 - Add sponsored urls filter in BlocklistHandler 2 years ago
Alexandru2909 ed16051b4f [fenix] For https://github.com/mozilla-mobile/fenix/issues/26706 - Change TopSite.containsQueryParameters as Uri extension function 2 years ago
Jonathan Almeida c909aaea13 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/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 085a3e4af1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/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 a1a75ee8d4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26511: load homescreen wallpaper in blocking coroutine 2 years ago
sarah541 963c40184a [fenix] For https://github.com/mozilla-mobile/fenix/issues/26489 - Add synced tab pickup onboarding message 2 years ago
Roger Yang 1b01210e75 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/26666: Use correct content scale when displaying recent tab thumbnail and icon 2 years ago
Noah Bond 9dd3c5d4c5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26608 - Update recent bookmarks homepage title 2 years ago
Gabriel Luong ca9d35f3f7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26169 - MR Home Onboarding Dialog for upgrading users 2 years ago
Noah Bond aa78456c88 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26604 - Add missing preview to RecentTabs 2 years ago
Noah Bond 35e715b06b [fenix] For https://github.com/mozilla-mobile/fenix/issues/26605 - Clean up RecentTabViewHolder 2 years ago
Alexandru2909 541a48765b [fenix] For https://github.com/mozilla-mobile/fenix/issues/26400 - Add long-press option to remove tab pickup on homescreen 2 years ago
Alexandru2909 d14f0e2b6e [fenix] For https://github.com/mozilla-mobile/fenix/issues/26398 - Filter recent synced tabs using the homescreen blocklist 2 years ago
Roger Yang af25894e05 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/26072: Don't show sync menu item until account manager is available 2 years ago
Alexandru2909 f3f2fadd82 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26399 - Use a list of tabs for recent synced tabs success state 2 years ago
MatthewTighe 702aeda47b [fenix] For https://github.com/mozilla-mobile/fenix/issues/26423: simplify wallpaper types to single data class 2 years ago
MatthewTighe c6a17a7883 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/26124: recent synced tab will use preview image URLs from history 2 years ago
sunilk9211 d609299323 [fenix] For https://github.com/mozilla-mobile/fenix/issues/25985: Remove ability to click the logo to change the wallpaper 2 years ago
sarah541 7d6c0d1eaf [fenix] For https://github.com/mozilla-mobile/fenix/issues/26421 - Extract synced tabs into it's own viewholder 2 years ago
Roger Yang d6a0336b23 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/26150: Do not show sync tabs in home when sync open tabs setting is disabled 2 years ago
MatthewTighe 346427f73a [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/26245: refactor the WallpaperManager as several WallpaperUseCases 2 years ago
Roger Yang 40509a528e [fenix] Close https://github.com/mozilla-mobile/fenix/issues/26198: Add debounce to account manager syncs 2 years ago
rxu 6e6d1a658b [fenix] Add "manage account and devices" button to home menu in mozillaonline builds 2 years ago
MatthewTighe 4bc96a5e10 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/26377: re-open already opened recent synced tabs 2 years ago
Noah Bond f55ce61747 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26227 - Remove search term tab groups from Jump Back In 2 years ago
Christian Sadilek 82e302717e [fenix] Revert "For https://github.com/mozilla-mobile/fenix/issues/26227 - Remove search term tab groups from Jump Back In"
This reverts commit f4e09ba3f2d6a530e8a39a0e18d15fefceb6ee6a.
2 years ago
Christian Sadilek aed096a6a0 [fenix] Revert "For https://github.com/mozilla-mobile/fenix/issues/26227 - Remove search term tab groups from Recently Visited"
This reverts commit e0617080ec0e28b74a2cd8ca1f9b94a521ba17ac.
2 years ago
Noah Bond 35b2c39f0e [fenix] For https://github.com/mozilla-mobile/fenix/issues/26227 - Remove search term tab groups from Recently Visited 2 years ago
Noah Bond c98cdcf0b3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26227 - Remove search term tab groups from Jump Back In 2 years ago
MatthewTighe 35093573e5 [fenix] Fixes: https://github.com/mozilla-mobile/fenix/issues/26052 remove WallpaperManager::updateWallpaper 2 years ago
MatthewTighe c854e54f03 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/26029: Add wallpaper state to AppStore 2 years ago
Roger Yang fe505d58ad [fenix] For https://github.com/mozilla-mobile/fenix/issues/26061: Make sure favicons are cropped correctly 2 years ago
Gabriel Luong 21f190b965 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26026 - Refactor the FenixTabCounterMenu creation from HomeFragment to TabCounterBuilder 2 years ago
MatthewTighe 205f6cea89 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/26050: show jump back in when only synced tab available 2 years ago
sarah541 6fb4fc6c8d [fenix] For https://github.com/mozilla-mobile/fenix/issues/22186 - Scroll to collection after creating one 2 years ago
MatthewTighe 0d61a44d87 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/25955: refactor RecentSyncedTabsFeature to use SyncStore 2 years ago
MatthewTighe 7660235e97 [fenix] Fixes 24823: remove recent synced tab when logged out 2 years ago
rxu 84ddaab605 [fenix] Disable marketing telemetry until privacy pop window approved in Mozillaonline builds 2 years ago