Ivy-Interactive / Ivy-Interactive/Rusty-Framework
[Widgets] Implement Rust Widget APIs for Charting & Data Visualization
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Problem Statement
The TypeScript frontend (src/frontend/src/widgets) contains UI renderers for charts, but the Rust rusty crate lacks Rust struct definitions and fluent builders for developer view construction.
Missing Rust Widgets
AreaChartBarChartChordChartFunnelChartGaugeChartLineChartPieChartRadarChartSankeyChartScatterChart
Proposed Architecture & Design
- Create
rusty/src/widgets/charts.rs. - Define Rust structs with builder methods (
.data(),.x_axis(),.y_axis(),.color_palette(),.legend(),.tooltip()). - Re-export all chart widgets in
rusty::widgets.
Acceptance Criteria
- All 10 chart widgets have Rust struct definitions and builder APIs.
- Serialized virtual tree JSON matches frontend expectations.
- Unit tests for widget instantiation and serialization.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the existing chart renderers under src/frontend/src/widgets and the rusty crate's widget organization. Add rusty/src/widgets/charts.rs with the ten chart structs and the listed fluent builders, then re-export them through rusty::widgets. Done means all widgets instantiate, serialize to frontend-compatible virtual-tree JSON, and have unit coverage for instantiation and serialization.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, typescript
- Domain
- data-visualization, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100