Skip to content

Give spiral-engine its own series colors - #28

Closed
claude[bot] wants to merge 1 commit into
developfrom
fix/spiral-engine-series-color
Closed

claude[bot] wants to merge 1 commit into
developfrom
fix/spiral-engine-series-color

Conversation

@claude

@claude claude Bot commented Aug 28, 2026

Copy link
Copy Markdown

Requested by Baris Palaska

Before this change, spiral-engine drew in exactly the same color as DataFusion on every chart where both engines appear, so the two lines were impossible to tell apart. Only the datafusion:* and duckdb:* pairs were pinned in KEYED (web/lib/chart-format.ts), and the per-format defaults in FORMAT deliberately reuse DataFusion's colors — so any third engine fell through to the format default and landed on DataFusion's shade.

After it, spiral-engine has its own pinned color for each of the five formats DataFusion also reads: teal for vortex-file-compressed, pink for vortex-compact, deep sky blue for parquet, warm gray for lance, and rust for arrow. Each is a third shade that stays clear of both the DataFusion and the duckdb color for that format, keeps the existing importance-tier line widths, and is legible on the light and the dark card, with the hue steps chosen so the pairs also separate under the common red-green color-vision deficiencies. A new test in chart-format.test.ts asserts that no spiral-engine pair shares a color with DataFusion or duckdb, so a future engine cannot silently reintroduce the collision.

Format check, lint, tsc --noEmit, and the full vitest suite pass locally (the Postgres integration file self-skips without Docker).


Generated by Claude Code

@github-actions
github-actions Bot requested a deployment to preview August 28, 2026 10:38 In progress
Only `datafusion:*` and `duckdb:*` pairs were pinned in `KEYED`, and the
per-format defaults in `FORMAT` deliberately reuse datafusion's colors. Any
third engine therefore fell through to `FORMAT` and drew in exactly
datafusion's shade -- `spiral-engine` and datafusion were indistinguishable on
every chart where both appear.

Pin `spiral-engine` for the five formats datafusion also reads, each a third
shade that stays clear of both the datafusion and the duckdb color and reads on
the light and the dark card, and keep the existing importance-tier widths. Add a
regression test asserting no spiral-engine pair shares a color with datafusion
or duckdb.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Sa2mGanAjiQAb16Ak8zoyp
Signed-off-by: Claude <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Vercel preview for 85796ed93afb61519a8bc87daf07dc001fe5bca6: https://benchmarks-website-95vcbgnur-vortex-data.vercel.app

@palaska palaska closed this Aug 28, 2026

This branch was successfully deployed

1 active deployment
preview 3733ce57 Deployed Aug 28, 2026 by github-actions[bot]
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.

2 participants