feat(dashboard): v0.3.0 — Status panel, dashboard_panel/grid, AppConfig pattern
- main.cpp: bump 0.2.0 → 0.3.0; añadir Status section en Settings via settings_window_add_section (fuente API/SQLite, URL, DB path, Reload). - views.cpp: chart_panel manual + BeginChild custom → dashboard_panel/grid del registry. KPI cards con sparkline a la derecha, altura responsive. - views.h: signature de draw_kpi_row pasa RegistryData (para sparkline). - CMakeLists.txt: añadir process_state_machine.cpp (dependencia de process_runner tras issue 0045).
This commit is contained in:
@@ -11,7 +11,7 @@ void draw_dashboard(RegistryData& data);
|
||||
void views_set_api_url(const std::string& url);
|
||||
|
||||
// Individual views (called by draw_dashboard)
|
||||
void draw_kpi_row(const RegistryStats& stats);
|
||||
void draw_kpi_row(const RegistryData& data);
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user