Skip to content

Add Proa example with composable Plotly charts - #445

Open
hariria wants to merge 12 commits into
plotly:mainfrom
hariria:codex/proa-dashboard-example
Open

hariria wants to merge 12 commits into
plotly:mainfrom
hariria:codex/proa-dashboard-example

Conversation

@hariria

@hariria hariria commented Nov 8, 2026 •

Copy link
Copy Markdown

Adds examples/proa: three Plotly figures composed with reusable Rust components and exported to HTML.

  • FrameworkBuilder handles managed metadata and response finalization through an in-process route request; no listening server is started.
  • layout.rs owns the document; page.rs composes it; chart.rs defines Chart/ChartCard; plots.rs builds the figures.
  • Run cd examples/proa && cargo run, then open output/multiple_plots.html.

Uses Proa's existing main revision for managed metadata; switch the temporary Git pin to crates.io after Proa 0.4 releases. Plotly.rs's core API and Askama templates are unchanged. A small Plotly.js initialization bridge remains pending RSJS interop support.

Validated with builds, Clippy, Rust 1.93, nightly Rustfmt, successful file export, and unchanged browser output.

Preview

Desktop browser view:

Desktop preview

Mobile browser view Mobile preview

@hariria hariria changed the title Add Proa page composition example Add Proa server example with composable Plotly charts Nov 9, 2026
@hariria hariria changed the title Add Proa server example with composable Plotly charts Add Proa example with composable Plotly charts Nov 9, 2026

This branch has not been deployed

No deployments
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.

1 participant