Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
86b06f5
Title wrap: fullest lines with no widow, plus a comparison page
xavier-shaw Oct 22, 2026
b85167b
feat(mcp): validate and show report only what to act on
xavier-shaw Oct 22, 2026
081e989
fix(table): only the rows scroll, the table draws its theme's furnitu…
xavier-shaw Oct 22, 2026
ff18201
fix some layout issue
Chenglong-MS Oct 24, 2026
0f4bf56
merge
Chenglong-MS Oct 24, 2026
efaa93a
add navigator and fix talk slides
xavier-shaw Oct 26, 2026
522beec
updates
Chenglong-MS Oct 29, 2026
c82b22b
layout algorithm update
Chenglong-MS Oct 29, 2026
204c868
updates
Chenglong-MS Oct 29, 2026
0c1e76b
Merge branch 'dev' of github.com:microsoft/flint-chart into dev
Chenglong-MS Oct 29, 2026
7cc2b3a
fixes
Chenglong-MS Oct 30, 2026
9db520a
fix(site): keep the page scrolling under embedded MCP cards
xavier-shaw Oct 30, 2026
aad6b2d
bug fixes
Chenglong-MS Nov 1, 2026
91d2241
fixes
Chenglong-MS Nov 1, 2026
583b3af
fix(layout): hold a Vega-Lite drawing within its canvasSize
Chenglong-MS Nov 1, 2026
0f56073
test(vegalite): compile value-sorted bars at every size under every h…
Chenglong-MS Nov 1, 2026
f7be0d2
fix(interactive): shape filtered rows as the chart's data was shaped
Chenglong-MS Nov 1, 2026
fe074e6
layout fixes, binning color etc
Chenglong-MS Nov 3, 2026
8dab45b
1.0.2
Chenglong-MS Nov 7, 2026
450f4a9
annotation, layout, maps
Chenglong-MS Nov 9, 2026
b772b03
ok
Chenglong-MS Nov 9, 2026
b448bec
fixes and talk
Chenglong-MS Nov 10, 2026
d72d808
fix interaction, annotation, box overflow, and tooltip issues
Chenglong-MS Nov 14, 2026
20a6c7d
Roll compact numbers over to the next unit when rounding reaches 1000…
Chenglong-MS Nov 14, 2026
196f987
updates dev and fixes
Chenglong-MS Nov 15, 2026
98dbe1c
perf(js): lazily discover fields for encoding sort repair (#168)
spboyer Nov 15, 2026
e38235a
perf(python): reduce temporal conversion column allocations (#169)
spboyer Nov 15, 2026
3f77c4b
perf(python): avoid preliminary full semantics pass (#170)
spboyer Nov 15, 2026
e4f3cd2
perf: add reproducible compiler and MCP render baselines (#171)
spboyer Nov 15, 2026
6086e0f
perf: index explicit overflow order membership (#167)
spboyer Nov 15, 2026
6bfa56b
slides update
Chenglong-MS Nov 15, 2026
0dda596
prep release
Chenglong-MS Nov 16, 2026
80204ec
updates
Chenglong-MS Nov 16, 2026
7452b07
fix
Chenglong-MS Nov 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,16 @@ Node 18+ required (see `.nvmrc`).
- Run `npm run typecheck && npm run test && npm run lint` before pushing.
- Snapshot test updates: justify the diff in your PR description.

### Sort-repair performance comparison

From the repository root, run `node scripts/bench-sort-repair.mjs <baseline-ref>`
after installing workspace dependencies. It compares the baseline sort-repair
module with the working copy in three interleaved rounds, verifies matching
outputs, and emits raw JSON timings and V8 sampled allocation estimates for
1,000- and 100,000-row tables. Run it without competing builds or benchmarks.
Sampling can miss small allocations; these figures are not exact allocation
counts, retained heap, or end-to-end chart-rendering measurements.

## Public API & semver

The public surface is whatever is re-exported from [`src/index.ts`](../src/index.ts)
Expand Down
2 changes: 1 addition & 1 deletion .github/extensions/flint-chart/.mcp.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"command": "npx",
"args": [
"--yes",
"flint-chart-mcp@1.0.1"
"flint-chart-mcp@1.1.0"
],
"cwd": "${PLUGIN_ROOT}"
}
Expand Down
2 changes: 1 addition & 1 deletion .github/extensions/flint-chart/.plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "flint-chart",
"description": "Flint chart authoring MCP, skill, and native interactive chart canvas for Copilot CLI.",
"version": "1.0.1",
"version": "1.1.0",
"author": {
"name": "Microsoft",
"url": "https://github.com/microsoft/flint-chart"
Expand Down
214 changes: 120 additions & 94 deletions .github/extensions/flint-chart/assets/flint-app.html

Large diffs are not rendered by default.

708 changes: 257 additions & 451 deletions .github/extensions/flint-chart/skills/flint-chart-author/SKILL.md

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
fail-fast: false
matrix:
node: [20, 22]
env:
# The package's type declarations outgrow Node's default heap.
NODE_OPTIONS: --max-old-space-size=8192
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -40,6 +43,9 @@ jobs:
cache: npm
- run: npm ci
- run: npm run build
env:
# The package's type declarations outgrow Node's default heap.
NODE_OPTIONS: --max-old-space-size=8192
- run: npm run site:build
env:
# The site bundle outgrows Node's default ~4 GB heap; the runner has 16 GB.
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
if: >-
github.event_name == 'workflow_dispatch' ||
contains(github.event.head_commit.message, '[deploy]')
env:
# The package's type declarations outgrow Node's default heap.
NODE_OPTIONS: --max-old-space-size=8192
steps:
- uses: actions/checkout@v4

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
cache: npm
- run: npm ci
- run: npm run build
env:
# The package's type declarations outgrow Node's default heap.
NODE_OPTIONS: --max-old-space-size=8192
- run: npm run site:build
env:
# The site bundle outgrows Node's default ~4 GB heap; the runner has 16 GB.
Expand All @@ -33,6 +36,9 @@ jobs:
run: |
mkdir -p _site
cp -R site/dist/* _site/
- name: Publish map boundaries
# Compiled maps name these URLs: a published file must never change or disappear.
run: node scripts/publish-site-geo.mjs _site
- uses: actions/upload-pages-artifact@v3
with:
path: _site
Expand Down
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ df-reference/
docs/HANDOFF.md
docs/flint-spinout-plan.md

# Local-only Copilot instruction files
.github/instructions/

# Local-only maintainer runbooks
maintainer-notes/

Expand All @@ -87,10 +90,27 @@ design-docs/
# not published (not polished for a public audience).
loops/

# Local-only output, promo and talk material
/out/
/promo/
/promo-en/
/talk/

# Generated eval-results data for the flint-py results viewer (8.5MB+, contains
# run-specific paths/tracebacks). Regenerate locally via tools/build_results_page.py.
packages/flint-py/tools/viewer/results.js

# Benchmark outputs: each run is one machine's record, regenerated by its script
# (npm run benchmark:render, scripts/bench-overflow-order/run.sh, packages/flint-py/tools/benchmark_*.py).
/artifacts/
scripts/bench-overflow-order/results/
packages/flint-py/tools/benchmark-results/
packages/flint-py/tools/*_results.json

# Eval run exports for the dev-only Eval page (#/playground/eval); regenerate with the export
# scripts in experiments/interaction and experiments/mcp-app.
site/public/eval/

# Theme audit renders and bundled audit scripts
audit-out/
scripts/.*.mjs
Expand Down
525 changes: 517 additions & 8 deletions CHANGELOG.md

Large diffs are not rendered by default.

11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ https://github.com/user-attachments/assets/c1cda0fa-3ea7-41af-b3fd-a127bc83d641

## Updates

- **November 15, 2026** — Flint 1.1 brings maps and layout: maps with
customizable boundaries, globes, routes and labelled points, framed to
their data; charts that fit their canvas on every backend; and
annotations as captions beside what they name.
([release notes](https://github.com/microsoft/flint-chart/releases/tag/1.1), [changelog](CHANGELOG.md))
- **October 19, 2026** — Flint 1.0 introduces
[Flint Interactive](https://microsoft.github.io/flint-chart/#/interactions):
interaction presets, semantic events, and an interaction API that connects
Expand Down Expand Up @@ -106,7 +111,9 @@ npm install flint-chart
```

The library compiles Flint specs into backend-native chart specs and provides
React and vanilla JavaScript APIs for embedding interactive charts.
React and vanilla JavaScript APIs for embedding interactive charts. It comes
with every backend it draws with (Vega-Lite, ECharts, Chart.js, Plotly); React
is an optional peer for `<FlintChart>`.

A Flint spec describes the data, semantic types, and field mappings, with
optional theme and interaction settings. In React, pass it to `<FlintChart>`
Expand Down Expand Up @@ -142,7 +149,7 @@ https://github.com/microsoft/flint-chart/blob/main/agent-skills/flint-chart-auth
https://github.com/microsoft/flint-chart/blob/main/agent-skills/flint-interaction-author/SKILL.md

Use these skills to add a chart to this app.
Install flint-chart and the renderer dependencies needed for this project.
Install flint-chart (it includes its chart renderers) and add it to this project.
Plot monthly users by region from our data in Economist style.
Let readers hover to compare regions at each month, and add a region selector
that updates the chart.
Expand Down
2 changes: 1 addition & 1 deletion agent-skills/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ sort order — all derived deterministically by the compiler.
When the user wants more than a spec, the skill also tells the agent how to:

- validate and render charts with the Flint MCP server;
- install `flint-chart` and the needed renderer peer dependencies;
- install `flint-chart`, which comes with every chart renderer;
- call `assembleVegaLite`, `assembleECharts`, or `assembleChartjs` in JS/TS;
- use the Python package when it is published in a later release.

Expand Down
Loading
Loading