Files
mantra-kmp/composeApp
Kgothatso Ngako d671c7c300 Add ArtifactDetailScreen with chapters and translations
Clicking an artifact in a chat room's library now opens an artifact
detail screen instead of the placeholder route.

- New ArtifactDetailRoute + ArtifactDetailScreen/ViewModel/UIState. The
  screen shows the artifact's details (name, url, visibility, license,
  dialect, author, created), its versions, and — walked via the artifact's
  versions — the associated chapters and translations, each with an empty
  state.
- DAO queries (validated by Room): getArtifactById, versions by artifactId,
  chapters by artifactId (Chapter JOIN ArtifactVersion, ordered by index),
  and translations by artifactId (TranslationArtifactVersion JOIN
  ArtifactVersion). Exposed via MantraRepository (impl + NO_OP).
- ChatRoomDetailScreen navigates to ArtifactDetailRoute on artifact click;
  MantraNavHost registers the route with a back-stack pop.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-26 01:10:22 +02:00
..
2026-07-15 01:14:46 +02:00