2fc2b27ac0
Recuperada del sub-repo Gitea tras perderse el modulo kotlin/functions/ui. app.md declara los 26 componentes en uses_functions; e2e_checks usan el AVD Pixel_API34. Compila contra fn.compose:ui (composite build) y corre en emulador. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
107 lines
2.7 KiB
Markdown
107 lines
2.7 KiB
Markdown
---
|
|
name: gallery_kt
|
|
domain: tools
|
|
version: 0.1.0
|
|
description: "Showcase galeria de todos los componentes @fn_compose en diferentes estados"
|
|
tags: [demo, gallery, showcase, design-system, kotlin, compose, android]
|
|
lang: kt
|
|
framework: compose
|
|
entry_point: "app/src/main/kotlin/com/fnregistry/gallery_kt/MainActivity.kt"
|
|
dir_path: "apps/gallery_kt"
|
|
repo_url: "https://gitea.organic-machine.com/dataforge/gallery_kt"
|
|
uses_functions:
|
|
- fn_theme_kt_ui
|
|
- fn_tokens_kt_ui
|
|
- fn_stack_kt_ui
|
|
- fn_group_kt_ui
|
|
- fn_paper_kt_ui
|
|
- fn_app_shell_kt_ui
|
|
- fn_text_kt_ui
|
|
- fn_title_kt_ui
|
|
- fn_card_kt_ui
|
|
- fn_badge_kt_ui
|
|
- fn_avatar_kt_ui
|
|
- fn_button_kt_ui
|
|
- fn_text_input_kt_ui
|
|
- fn_select_kt_ui
|
|
- fn_switch_kt_ui
|
|
- fn_checkbox_kt_ui
|
|
- fn_dialog_kt_ui
|
|
- fn_tabs_kt_ui
|
|
- fn_alert_kt_ui
|
|
- fn_loader_kt_ui
|
|
- fn_skeleton_kt_ui
|
|
- fn_empty_state_kt_ui
|
|
- fn_page_header_kt_ui
|
|
- fn_kpi_card_kt_ui
|
|
- fn_data_table_kt_ui
|
|
- fn_line_chart_kt_ui
|
|
- fn_bar_chart_kt_ui
|
|
- fn_sparkline_kt_ui
|
|
uses_types: []
|
|
e2e_checks:
|
|
- id: unit
|
|
cmd: "fn run gradle_unit_test_bash_infra apps/gallery_kt"
|
|
timeout_s: 240
|
|
- id: screenshot
|
|
cmd: "fn run gradle_screenshot_test_bash_infra apps/gallery_kt"
|
|
timeout_s: 240
|
|
- id: build
|
|
cmd: "fn run gradle_assemble_debug_bash_infra apps/gallery_kt"
|
|
timeout_s: 360
|
|
- id: emu_start
|
|
cmd: "fn run android_emulator_start_bash_infra Pixel_API34"
|
|
timeout_s: 240
|
|
- id: instrumented
|
|
cmd: "fn run gradle_instrumented_test_bash_infra apps/gallery_kt"
|
|
timeout_s: 600
|
|
- id: emu_stop
|
|
cmd: "fn run android_emulator_stop_bash_infra"
|
|
severity: warning
|
|
timeout_s: 30
|
|
---
|
|
|
|
# gallery_kt
|
|
|
|
Showcase galeria de todos los componentes @fn_compose en diferentes estados
|
|
|
|
## Build
|
|
|
|
```bash
|
|
fn run gradle_assemble_debug_bash_infra apps/gallery_kt
|
|
```
|
|
|
|
## Tests unitarios + Roborazzi screenshots
|
|
|
|
```bash
|
|
fn run gradle_unit_test_bash_infra apps/gallery_kt
|
|
fn run gradle_screenshot_test_bash_infra apps/gallery_kt
|
|
```
|
|
|
|
## Tests instrumentados (requiere emulador)
|
|
|
|
```bash
|
|
fn run android_emulator_start_bash_infra Pixel_API34
|
|
fn run gradle_instrumented_test_bash_infra apps/gallery_kt
|
|
fn run android_emulator_stop_bash_infra
|
|
```
|
|
|
|
## Package
|
|
|
|
`com.fnregistry.gallery_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.
|
|
|
|
|
|
## Capability growth log
|
|
|
|
Una linea por bump SemVer. Bump-type segun `.claude/commands/version.md`:
|
|
- `major`: breaking observable (CLI args, schema BBDD propia, formato wire).
|
|
- `minor`: feature aditiva (nuevo panel, endpoint, opcion).
|
|
- `patch`: bugfix sin cambio observable.
|
|
|
|
- v0.1.0 (2026-05-18) — baseline.
|