b02cc0c870131d4c5c9ba37adee6b08125cb8495
This commit introduces support for Wear OS Tiles and Complications, enabling users to view case information and launch the app directly from their watch face. Key changes include: - **New Complication Service:** `DoctateComplicationService.kt` provides a simple complication that displays "Doctate" and launches the app's case list upon tap. - **New Tile Service:** `DoctateTileService.kt` serves a dynamic tile showing the current case's one-liner. It includes tappable areas to navigate to the case list, create a new case, or continue an existing one. - **UI Navigation:** `AppNav.kt` and related files (`CaseListScreen.kt`, `MainActivity.kt`, `NavCommand.kt`) set up the navigation structure for the Wear OS app, handling intents from the Tile and Complication. - **Data Structures:** `CaseEntry.kt` defines the minimal data structure for case information displayed on the watch. - **In-Memory Data Store:** `CaseStoreStub.kt` acts as a temporary, in-memory store for case data, ensuring consistency across the activity, Tile, and Complication. - **Dependency Updates:** Added necessary Wear OS libraries to `build.gradle.kts` and `libs.versions.toml`. - **AndroidManifest:** Configured the `MainActivity` to handle `singleTask` launch mode and added necessary intent filters for complications. - **Demo Data:** Seeded `CaseStoreStub` with demo data for initial testing and visualization.
Description
No description provided
Languages
Rust
74%
Kotlin
12.7%
HTML
4.9%
Python
4.1%
Shell
3.8%
Other
0.5%