feat(table): vista tabla por tipo de entidad (issue 0004)
- entity_ops: entity_list_rows (bulk pull id/name/type_ref/status/updated_at). - AppState::TableRow + cache + filtros (search substring + show_all toggle). - views_table: tabs por type_ref (alfabetico) o tabla unica con todos los tipos. ImGui::BeginTable con sort + clipper para >10k filas. Click en Selectable selecciona el nodo en el viewport (clear + add via graph_viewport_*). - views_table_refresh_indices: degree + node_idx por user_data hash. - main.cpp: panel "Table" en g_panels; cache build tras load_input y reload_after_mutation.
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
---
|
||||
id: 0004
|
||||
title: Vista tabla — entidades agrupadas por tipo
|
||||
status: completed
|
||||
priority: medium
|
||||
created: 2026-04-30
|
||||
completed: 2026-05-01
|
||||
---
|
||||
|
||||
## Objetivo
|
||||
|
||||
Ventana "Table" dockeable con una tabla por cada tipo de entidad presente en el
|
||||
grafo. Filas = entidades. Columnas: id, name, status, updated_at, neighbors
|
||||
count. Clickar una fila selecciona el nodo en el viewport.
|
||||
|
||||
## UI
|
||||
|
||||
- ImGui::BeginTable con sorting + clipper para >10k filas.
|
||||
- Tabs en la cabecera de la ventana, una tab por type_ref ordenado alfabetico.
|
||||
- Selector global "show all types" que apila todos en una sola tabla.
|
||||
|
||||
## Definicion de hecho
|
||||
|
||||
- Tabla escala a 10k entidades sin lag perceptible.
|
||||
- Click en fila selecciona nodo en viewport (mismo flujo que Inspector
|
||||
Selectable).
|
||||
- Filtro de busqueda por substring sobre name/id.
|
||||
Reference in New Issue
Block a user