Skip to content

General: Overhaul app screens with improved navigation and bug fixes#401

Merged
d4rken merged 1 commit intomainfrom
refactor/compose-migration
Feb 24, 2026
Merged

General: Overhaul app screens with improved navigation and bug fixes#401
d4rken merged 1 commit intomainfrom
refactor/compose-migration

Conversation

@d4rken
Copy link
Copy Markdown
Member

@d4rken d4rken commented Feb 24, 2026

What changed

Complete overhaul of all app screens with modern navigation. All screens now use Jetpack Compose and Material3 theming with type-safe routing. Fixed several bugs: unmatched devices toggle not reacting to state changes, navigation race condition causing occasional crashes, overlay lifecycle issues, permission recheck not triggering after denial, and profile name validation showing wrong error message.

Technical Context

  • Migrated all Fragment/ViewHolder-based screens to Jetpack Compose with Navigation3 for type-safe routing
  • Kotlin updated to 2.2.10, Compose BOM to 2025.06.01; removed SafeArgs and legacy navigation dependencies
  • Widget configuration, popup overlay, and all settings screens rewritten with proper lifecycle management
  • Navigation controller race condition fixed by restructuring backstack initialization
  • Overlay lifecycle sequencing corrected to prevent window leak on rapid open/close

Replace Fragment-based UI with Jetpack Compose screens, adopting
Navigation3 for type-safe routing and Material3 theming throughout.

- Replace all Fragments/ViewHolders with Compose screens and cards
- Introduce NavigationController with Navigation3 runtime
- Add CapodTheme with Material3 design system
- Migrate PopUpWindow overlay to ComposeView with proper lifecycle
- Rewrite WidgetConfigurationActivity in Compose
- Add reusable settings composables (switch, slider, list preference)
- Update Kotlin to 2.2.10, add Compose BOM 2025.06.01
- Fix reactive state for unmatched devices toggle
- Add safety timeout for BT device enumeration
- Fix profile name validation error message
@d4rken d4rken added the enhancement Add a new feature of improve an existing feature label Feb 24, 2026
@d4rken d4rken merged commit 6369259 into main Feb 24, 2026
9 checks passed
@d4rken d4rken deleted the refactor/compose-migration branch February 24, 2026 14:05
@d4rken d4rken changed the title refactor(ui): Migrate from Fragments to Jetpack Compose General: Overhaul app screens with improved navigation and bug fixes Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Add a new feature of improve an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant