You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iceraven-browser/app/src/main/java/org/mozilla/fenix/home
Grisha Kruglov 233f0a8a1d Closes #21871 - Eagerly update UI state after search group removal
Before this patch, this was the behavior - 'remove' button is clicked, we'd ask
the storage to remove metadata (on its IO thread), then navigate to Home
Screen.

This resulted in a race we could end-up on the Home Screen before delete
finishes, so the search groups do not appear to be removed (but,
refreshing the Home Screen again shows that they are removed).

This also resulted in an unnecessary navigation which felt very janky
(screen will "scroll" to the top) and was way more work than necessary.

After this patch, we:
 - dispatch two actions (on browserstore, on homefragmentstore) which
   remove the search groups from any relevant in-memory state; any UI bound to
   this state will be automatically "refreshed"
 - no longer navigate as part of the remove action, so the UI doesn't
   move and removal happens "in-place"
3 years ago
..
intent Remove private browsing shortcut telemetry 3 years ago
mozonline Run ktlintFormat to adapt to latest formatting rules. 3 years ago
recentbookmarks For #21087: Updates Recently Saved design 3 years ago
recenttabs Close #21573: Update design for jump back in section and recently bookmarked section 3 years ago
sessioncontrol For #21522: Wrap section titles on home 3 years ago
tips Remove tip telemetry 3 years ago
topsites For #20992 - Speculative fix for TopSitesPagerAdapter crash 3 years ago
HomeFragment.kt Closes #21871 - Eagerly update UI state after search group removal 3 years ago
HomeFragmentStore.kt Closes #21871 - Eagerly update UI state after search group removal 3 years ago
HomeMenu.kt For #21095 allow users to configure their home screen. 3 years ago
HomeScreenViewModel.kt Closes #17443: IllegalStateException in startPostponedEnterTransition on HomeFragment 3 years ago
ImageViewTopCrop.kt No issue: Normalize license header comment (#3909) 5 years ago
Mode.kt For #6521 - Remove auto sigin onboarding card (#16315) 4 years ago
PocketUpdatesMiddleware.kt For #21593 - Refactor the coroutine from PocketStoriesShown to outside the middleware 3 years ago
PrivateBrowsingButtonView.kt fix #8135 - remove getColorFromAttr 4 years ago
SharedViewModel.kt Remove tab tray feature flag (#11176) 4 years ago