chore: auto-commit (4 archivos)
- app.md - appicon.ico - playground/tables/data_table_logic.h - playground/tables/DEPRECATED.md Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
# DEPRECATED — tables_playground
|
||||
|
||||
Esta carpeta queda como **archivo historico** post issue 0108 (2026-05-17).
|
||||
|
||||
## Sustituido por
|
||||
|
||||
`apps/tables_qa/` — testbed agresivo del modulo `fn_module_data_table` v2.0.0+. Usa la API publica del modulo en vez de re-implementar la logica localmente.
|
||||
|
||||
## Por que se deprecó
|
||||
|
||||
El playground compila sus propias copias de:
|
||||
- `data_table.cpp` (4777 LOC pre-0107c)
|
||||
- `data_table_logic.cpp`
|
||||
- `tql.cpp` / `tql_to_sql.cpp`
|
||||
- `lua_engine.cpp` / `llm_anthropic.cpp` / `viz.cpp`
|
||||
|
||||
Estas versiones son LEGACY — la fuente de verdad ahora es el modulo `modules/data_table/` + sub-funciones del registry en `cpp/functions/viz/data_table_*.cpp`. Mantener ambos paralelos = drift inevitable.
|
||||
|
||||
## Tests legacy (430 checks)
|
||||
|
||||
`self_test.cpp` ejerce parsers, comparators, TQL, Lua, SQL transpile. Su cobertura va a:
|
||||
|
||||
- **Logica pura del registry** → `cpp/tests/` (Catch2). Hoy ya cubre `compute_column_stats`, `auto_detect_type`, `sql_parse`, etc.
|
||||
- **Render UI del modulo** → `apps/tables_qa/main.cpp --self-test` (fase 2 del issue 0108, con `imgui_test_engine`).
|
||||
|
||||
## Si necesitas revivir el playground
|
||||
|
||||
Edita `cpp/CMakeLists.txt` y descomenta:
|
||||
|
||||
```cmake
|
||||
if(EXISTS ${_PG_DIR}/playground/tables/CMakeLists.txt)
|
||||
add_subdirectory(${_PG_DIR}/playground/tables
|
||||
${CMAKE_BINARY_DIR}/apps/primitives_gallery/playground/tables)
|
||||
endif()
|
||||
```
|
||||
|
||||
Y rebuild. Pero ese codigo NO se mantiene activamente — usa `tables_qa` en su lugar.
|
||||
|
||||
## Eliminacion definitiva
|
||||
|
||||
Cuando `tables_qa` cubra todas las capacidades del playground (fase 2 del issue 0108) y se considere estable: `rm -rf apps/primitives_gallery/playground/tables/`.
|
||||
Reference in New Issue
Block a user