Ivy-Interactive / Ivy-Interactive/Rusty-Framework

[Widgets] Implement Rust Widget APIs for Charting & Data Visualization

Open
#123 0 comments 0 reactions 0 assignees View on GitHub

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

  • AreaChart
  • BarChart
  • ChordChart
  • FunnelChart
  • GaugeChart
  • LineChart
  • PieChart
  • RadarChart
  • SankeyChart
  • ScatterChart

Proposed Architecture & Design

  1. Create rusty/src/widgets/charts.rs.
  2. Define Rust structs with builder methods (.data(), .x_axis(), .y_axis(), .color_palette(), .legend(), .tooltip()).
  3. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.