feat: scaffold chat_kt via init_kotlin_app

This commit is contained in:
2026-05-10 15:46:31 +02:00
commit dab1475cd4
15 changed files with 555 additions and 0 deletions
+69
View File
@@ -0,0 +1,69 @@
---
name: chat_kt
domain: tools
description: "WhatsApp-like chat UI demo (single conversation view, mock data)"
tags: [demo, chat, design-system, kotlin, compose, android]
lang: kt
framework: compose
entry_point: "app/src/main/kotlin/com/fnregistry/chat_kt/MainActivity.kt"
dir_path: "apps/chat_kt"
repo_url: "https://gitea.organic-machine.com/dataforge/chat_kt"
uses_functions:
- fn_theme_kt_ui
- fn_tokens_kt_ui
uses_types: []
e2e_checks:
- id: unit
cmd: "fn run gradle_unit_test_bash_infra apps/chat_kt"
timeout_s: 240
- id: screenshot
cmd: "fn run gradle_screenshot_test_bash_infra apps/chat_kt"
timeout_s: 240
- id: build
cmd: "fn run gradle_assemble_debug_bash_infra apps/chat_kt"
timeout_s: 360
- id: emu_start
cmd: "fn run android_emulator_start_bash_infra Medium_Phone_API_35"
timeout_s: 240
- id: instrumented
cmd: "fn run gradle_instrumented_test_bash_infra apps/chat_kt"
timeout_s: 600
- id: emu_stop
cmd: "fn run android_emulator_stop_bash_infra"
severity: warning
timeout_s: 30
---
# chat_kt
WhatsApp-like chat UI demo (single conversation view, mock data)
## Build
```bash
fn run gradle_assemble_debug_bash_infra apps/chat_kt
```
## Tests unitarios + Roborazzi screenshots
```bash
fn run gradle_unit_test_bash_infra apps/chat_kt
fn run gradle_screenshot_test_bash_infra apps/chat_kt
```
## Tests instrumentados (requiere emulador)
```bash
fn run android_emulator_start_bash_infra Medium_Phone_API_35
fn run gradle_instrumented_test_bash_infra apps/chat_kt
fn run android_emulator_stop_bash_infra
```
## Package
`com.fnregistry.chat_kt`
## FnTheme
La app usa FnTheme y FnTokens via composite build en `kotlin/functions/ui`.
Para cambiar colores o tipografia, editar el modulo del registry.