chore: auto-commit (4 archivos)

- app.md
- appicon.ico
- views.cpp
- work_tab.cpp

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-19 00:31:34 +02:00
parent ca436aa6cc
commit ff67e4e069
4 changed files with 143 additions and 72 deletions
+5
View File
@@ -377,6 +377,7 @@ void draw_kpi_row(const RegistryData& data) {
const float* spark_data = data.date_values.empty() ? nullptr : data.date_values.data();
const int spark_count = static_cast<int>(data.date_values.size());
// LAYOUT-TABLE — KPI/form/splitter, no data; keep BeginTable inline.
if (ImGui::BeginTable("##kpi_grid", 4, flags)) {
struct KPI { const char* label; float value; const char* fmt; const char* icon; };
const KPI cards[8] = {
@@ -433,6 +434,7 @@ void draw_charts(RegistryData& data, float height) {
| ImGuiTableFlags_NoPadOuterX;
const float plot_h = height - 48.0f;
// LAYOUT-TABLE — KPI/form/splitter, no data; keep BeginTable inline.
if (ImGui::BeginTable("##chart_grid", 4, flags)) {
ImGui::TableNextRow();
@@ -644,6 +646,7 @@ void draw_monitor(RegistryData& data) {
// 7 KPI cards: Calls / MCP / Reg% / Errors / Violations / Copies / Versions
// "MCP" = calls Claude lanza via tools registry-aware (mcp / fn_cli_run /
// heredoc). "Reg %" = porcentaje del total con function_id no vacio.
// LAYOUT-TABLE — KPI/form/splitter, no data; keep BeginTable inline.
const ImGuiTableFlags flags = ImGuiTableFlags_SizingStretchSame | ImGuiTableFlags_NoPadOuterX;
if (ImGui::BeginTable("##monitor_kpi", 7, flags)) {
struct KPI { const char* label; float value; const char* icon; const char* fmt; };
@@ -1105,6 +1108,7 @@ void draw_projects_list(RegistryData& data) {
}
// Dos columnas: izquierda arbol, derecha detalle.
// LAYOUT-TABLE — KPI/form/splitter, no data; keep BeginTable inline.
const ImGuiTableFlags flags = ImGuiTableFlags_Resizable
| ImGuiTableFlags_SizingStretchProp;
if (!ImGui::BeginTable("##proj_layout", 2, flags)) return;
@@ -1443,6 +1447,7 @@ void draw_functions_explorer() {
return;
}
// LAYOUT-TABLE — KPI/form/splitter, no data; keep BeginTable inline.
const ImGuiTableFlags flags = ImGuiTableFlags_Resizable
| ImGuiTableFlags_SizingStretchProp;
if (!ImGui::BeginTable("##explorer_layout", 2, flags)) return;