Skip to content

Shave loc#60

Merged
luantak merged 11 commits intomasterfrom
shave_loc
Apr 8, 2026
Merged

Shave loc#60
luantak merged 11 commits intomasterfrom
shave_loc

Conversation

@luantak
Copy link
Copy Markdown
Owner

@luantak luantak commented Apr 8, 2026

No description provided.

luantak added 11 commits April 8, 2026 22:54
- Add SheetActionRow for bottom-sheet icon+label rows
- Add GroupedAppPickerDialog for weather, settings, and dot-search pickers
- Deduplicate HomeFavoritesSection via FavoritesList and ShortcutIconsColumn
- Extract LazyItemScope ReorderableDrawerAppRow for drawer profile/private rows
- Add LauncherForeground helper for MainActivity home intent; reuse in lock service and alarm receiver.\n- HomeViewModel: shared reorder, receiver registration, double-tap lock UI, shortcut launch.\n- Unify SheetActionRow (testTag, destructive, leading slot); replace DrawerSheetActionRow.\n- Drawer: DrawerDropdownMenuItem, ColumnScope DrawerAppListBody; category icon row via SheetActionRow.\n- AppModule migration 3→4: migrateByPackageName for three table copies.
- AppDrawer: shared vertical reorder helper, overflow/app list lambdas, reserved
  categories set, simpler auto-launch event handling
- HomeViewModel: stateIn/observe helpers, consolidated editing and sentinel
  checks, non-sentinel favorites reuse in refresh pass, widget prefs without
  extra data class
- AppModule: migration DDL/finalize lists, systemServiceOrNull
- LockScreenAccessibility: threshold helper, tighter home/fallback and logs
- UI: hoisted theme values in GroupedAppPicker, CategoryChips, DateBatteryRow;
  SheetActionRow testTag via then
- Add SettingsReadOnlyExposedDropdown and SettingsLabeledSegmentedSection in SettingsScreen
- Add SheetInlineRenameTitleRow; use in app/category/home menu sheets
- Factor dot-search alias validation in DrawerDotSearchSettingsScreen
- Add HomeViewModel helpers for package removal, favorites refresh, sentinel guard, preferred launch
- Add ReorderableDrawerAppListItem wrapper in AppDrawerScreen
Flatten SettingsViewModel state collection with grouped flows and shared
hidden/renamed list builders. Add HomeWidgetVisibility in PreferencesManager.

Compress SettingsScreen with shared coarse-location permission, data-driven
appearance toggles and community links.

Extract applyVerticalSlotReorder and Flow stateIn helpers to ViewModelFlowAndReorder.

Reuse homeWidgetVisibilityFlow in HomeViewModel; consolidate drawer dot-search
and rail collectors in AppDrawerViewModel. Use stateWhileSubscribedIn in
Onboarding and nav graph view models.
- PreferencesManager: prefFlow/setPref helpers; share APP_LOCALE_TAG_KEY with AppLocaleHelper
- Settings: FokusSettingsTopBar, SettingsLabeledDropdown, merged rows, WeatherAppSettingRow,
  FokusAlertDialog for dialogs; SettingsViewModel mapEntitiesForSettings + launchPreferences
- Home: HomeViewModel dedup (installedAppFor, toggle, matches, intents, refresh); remove dead launchApp
- Drawer: AppDrawerViewModel pipeline helpers, DrawerMetadataSnapshot, reorder/search consolidation;
  DrawerListChrome, AppDrawerScreen drag/launch cleanup
- AppRepository: service/context helpers, isProtectedCategoryName; remove unused DAO wrappers/APIs;
  AppDao drop getAppsByCategory; update AppDaoTest
- NavGraph: fokusSettingsComposable + shared settingsViewModel(activity)
- WeatherRepository: single OpenMeteoPresentation for code→icon/description
- UI: FokusBottomSheet for action sheets; clickableNoRippleWithSystemSound on home widgets
- Add WallpaperHelper.setBlackWallpaper; use from Settings and Onboarding VMs.
- Add Context.openDefaultLauncherSettings in LauncherForeground; dedupe Home/Onboarding.
- Consolidate SettingsScreen with SettingsRow, SettingsDropdown, merged app label formatters,
  and slimmer SettingsScreenContent (viewModel + state).
- Share launchTargetFromAppInfo in AppDrawer; remove duplicate in screen.
- Drop OnboardingViewModel onSkip/onSkipLocation; screen calls onNext directly.
- Unify HomeFavoritesSection LEFT/RIGHT layout branch.
- Replace AppDrawerViewModel cache fields with PrivateAppsSortCache and ProfileSectionsBuildCache.
Extract shared vertical list reorder state and drag-handle modifier for
edit-home, edit-shortcuts, and category lists. Add EditorScreenScaffold for
editor screens with search, back handling, and snap-to-top list behavior.

Add FokusSettingsTopBar(titleText) overload and move SettingsRow, toggles,
and dropdown primitives to settings/components. Introduce RenameableBottomSheet
for home and drawer app action sheets.

Centralize non-exported broadcast registration and sticky battery reads in
BroadcastReceiverExt; merge CombinedCategoryState into DrawerMetadataSnapshot in
AppDrawerViewModel. Add OnboardingStepTitle, NavController.navigateSingleTop,
and dedupe horizontal swipe snap-back in NavGraph.
- Add OnResumeEffect and replace repeated lifecycle observers
- Add SearchablePickerDialog; simplify app and shortcut picker dialogs
- Add EditorListComponents shared by home apps and shortcuts editors
- Settings: SubpageChevron, manageableAppsSection, location permission helper
- EditorScreenScaffold: titleText overload delegates to composable title
- HomeScreen: ViewModel method refs; OnResumeEffect for resume refresh
- Onboarding: LaunchedEffect for startEditingHomeApps
- Add labelRes to HomeDateFormatStyle, DrawerAppSortMode, HomeAlignment
- Data-drive settings subpages, swipe targets, widget toggles, and device rows
- Hoist composable string lists; simplify HomeDateFormat dropdown
- Flatten SettingsViewModel combine (drawer/look/lock Triple, drop CombinedSettingsInputs)
- Drive HomeAppMenuSheet actions from a list

Segmented controls stay inlined in SettingsScreen with enum labelRes.
@luantak luantak merged commit 3f870f6 into master Apr 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant