Files
registry_dashboard/views.h
T
egutierrez a466fff71a feat: Settings submenu (Settings.../About...), git column, projects tab
- main.cpp: registrar info About via fn_ui::about_window_set_info
- views.cpp: nueva columna "Git" en la tabla Apps (remote/local/-)
- data.h/cpp + data_http.cpp: AppRow gana repo_url + dir_path
- views.cpp: actions bar (Reindex / + Add / Reload / inbox) y modal Add
- views.cpp: tab Projects con tree + detalle anidado
- data_http.cpp: load_projects_http, load_project_detail_http, http_post_*
- http_client.cpp: SO_RCVTIMEO en Windows como DWORD ms (timeout 5 ms bug)
- CMakeLists: limpieza de srcs duplicados con fn_framework
- app.md: notas operativas y estado actual

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-28 22:06:31 +02:00

21 lines
757 B
C++

#pragma once
#include "data.h"
#include <string>
// Draw the full dashboard. Call every frame.
void draw_dashboard(RegistryData& data);
// Called once from main.cpp after parsing --api to share the URL with the
// views (for triggering reindex/add mutations).
void views_set_api_url(const std::string& url);
// Individual views (called by draw_dashboard)
void draw_kpi_row(const RegistryStats& stats);
void draw_charts(RegistryData& data, float height = 250.0f);
void draw_recent_functions(const std::vector<FunctionRow>& funcs);
void draw_apps_list(const std::vector<AppRow>& apps);
void draw_analysis_list(const std::vector<AnalysisRow>& analyses);
void draw_types_list(const std::vector<TypeRow>& types);
void draw_projects_list(RegistryData& data);