Skip to content

feat(ui): web dashboard for the 6G simulation stack#32

Draft
j143 with Copilot wants to merge 2 commits into
mainfrom
copilot/build-ui-ux-for-rust-system
Draft

feat(ui): web dashboard for the 6G simulation stack#32
j143 with Copilot wants to merge 2 commits into
mainfrom
copilot/build-ui-ux-for-rust-system

Conversation

Copilot AI commented Feb 28, 2026

Copy link
Copy Markdown
Contributor

The 6G stack had no interactive UI — running experiments required knowing the right cargo run --example invocations and there was no visual overview of the system architecture or module status.

Changes

src/dashboard.rs — axum HTTP server

  • Three routes: GET / (SPA), GET /api/status (live config + all 10 module statuses from SystemConfig::default()), GET /api/experiments (all 7 experiment descriptors)
  • Fully typed StatusResponse / ExperimentsResponse structs; zero runtime config hardcoding

src/static/index.html — single-page dashboard

  • Embedded at compile time via include_str! — single self-contained binary, no asset serving needed
  • Mermaid.js (CDN) for flowchart/sequence/xychart diagrams; clean ASCII fallback when CDN is unavailable
  • 5 tabs: Overview, Architecture, Modules, Experiments, Stack Flow

src/main.rs

  • Converted to #[tokio::main] (tokio already a workspace dep)
  • --ui / --port flags launch the dashboard; binary behaviour unchanged without them
cargo run -- --ui             # http://localhost:3000
cargo run -- --ui --port 8080

Screenshots

Overview — live stat cards + quick-reference table of all 10 modules
Overview

Modules — card grid with crate name, features, and online badge per layer
Modules

Experiments — all 7 experiments with description and ready-to-copy cargo run command
Experiments

Architecture — Mermaid flowchart (PHY→…→6GC + cross-cutting AI/ISAC/NTN/Semantic); ASCII fallback shown here
Architecture

Original prompt

This section details on the original issue you should resolve

<issue_title>build an UI and UX for this rust based system</issue_title>
<issue_description>build an UI and UX for this rust based system - so that we could easily run the system with user interface, interactives.. and images, flow charts.. etc.

and option to change modules, update code etc for modules for great 6g system during this experimental phase
</issue_description>

Comments on the Issue (you are @copilot in this section)


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

- src/dashboard.rs: axum HTTP server with GET /, /api/status, /api/experiments
- src/static/index.html: single-page dashboard (Mermaid.js + ASCII fallback)
- src/main.rs: --ui / --port flags; converted to tokio async main
- Cargo.toml: add axum 0.8 + tokio to workspace/binary deps

Co-authored-by: j143 <53068787+j143@users.noreply.github.com>
Copilot AI changed the title [WIP] Build UI and UX for Rust based system feat(ui): web dashboard for the 6G simulation stack Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build an UI and UX for this rust based system

2 participants