Skip to content

[LLM] Set up Android app scaffolding, theme tokens, and navigation shell - #18

Open
menny wants to merge 2 commits into
reader-enginefrom
app-scaffolding
Open

menny wants to merge 2 commits into
reader-enginefrom
app-scaffolding

Conversation

@menny

@menny menny commented Oct 17, 2026

Copy link
Copy Markdown
Member

Summary

Sets up minimal Android application scaffolding, build configuration, theme tokens, and navigation shell for Calque:

  • Build & Toolchain:
    • Configures rules_android (0.7.1) and Android SDK toolchains in MODULE.bazel.
    • Configures kt_android_library, android_binary, and kt_android_local_test in app/BUILD.bazel producing app.apk.
    • Configures AndroidManifest.xml, vector launcher drawables, styles, and string resources.
  • Theme & Design Tokens:
    • Implements Warm Paper & Ink Light and Late Night Study Dark palette specifications in CalqueColors.kt and CalqueTypography.kt matching docs/DESIGN.md.
  • Dependency Injection & Container:
    • Implements AppContainer and DefaultAppContainer, managing seed and user SQLite database connections with graceful, resilient in-memory fallbacks.
    • Connects all repositories and domain engines (ReaderSessionEngine, TrapDetectorEngine, WordTransformerEngine, TenseShifterEngine, NumberOdometerEngine, CliticSurgeryEngine, OmniBarEngine).
  • Navigation & Host Activity:
    • Implements NavDestination (Reader, Toolbox, Vault) and NavStateManager for decoupled tab routing.
    • Implements CalqueApplication and MainActivity rendering the Warm Paper shell header, content viewport, and interactive bottom navigation bar.
  • Verification:
    • Unit tests for navigation state transitions, theme palettes, in-memory repository fallbacks, and application container lifecycle (bazelisk test //... passes all 29 tests).
    • Code formatting checked (bazelisk run //:format.check) and Detekt lint clean (bazelisk build --config=lint //...).

menny added 2 commits October 17, 2026 21:22
Add t3.json with local thread environment mode and an action to
build and share the debug APK via temp.sh. Ignore the outputs/
artifact directory in git.
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