use axum::{ extract::{Path, State}, response::Html, routing::get, Router, }; use std::sync::Arc; use uuid::Uuid; use crate::core::shared::state::AppState; pub async fn handle_dashboards_list_page(State(_state): State>) -> Html { let html = r#" Dashboards

Dashboards

No dashboards yet

Create your first dashboard to visualize your data

"#; Html(html.to_string()) } pub async fn handle_dashboard_detail_page( State(_state): State>, Path(dashboard_id): Path, ) -> Html { let html = format!(r#" Dashboard

Loading...

This dashboard is empty

Add widgets to start visualizing your data

"#); Html(html) } pub async fn handle_dashboard_new_page(State(_state): State>) -> Html { let html = r#" Create Dashboard
← Back to Dashboards

Create New Dashboard

"#; Html(html.to_string()) } pub fn configure_dashboards_ui_routes() -> Router> { Router::new() .route("/suite/dashboards", get(handle_dashboards_list_page)) .route("/suite/dashboards/new", get(handle_dashboard_new_page)) .route("/suite/dashboards/:id", get(handle_dashboard_detail_page)) }