Skip to content

Commit c6e3a2b

Browse files
stevekwon211claude
andcommitted
feat(discovery): v0.33.0 — per-component snapshots + /create preset page
One substantial "discovery + completion" wave. Three sub-shots, one tag. 1. Per-component snapshot pipeline. - examples/showcase/src/bin/snapshot.rs gains a `--previews` mode that iterates every registry item, drives PreviewHost via ui.set_preview_name(name), and writes docs/img/snapshots/preview-<name>.png for each (64 PNGs at 900x600). - Pure SoftwareRenderer — same proven path as the section snapshots, no WASM flakiness. New `make snapshot-previews` target. 2. /create preset page (web/create.html). - Pure HTML/CSS/JS, no build step. Fetches the live registry.json from the deploy, groups items by category, lets the user pick a base color + toggle components, and live-builds the exact `npx slintcn init && npx slintcn add ...` command with copy + clear actions. - Sticky right pane on desktop, stacked on mobile. - Topnav `Create` link added to landing + docs. 3. Gallery + README hero refresh. - Landing .gallery rotates 6 fresh captures (DataTable / Command / Calendar / Sidebar / Dashboard / Hotbar). - README hero trio swapped to DataTable / Command / Calendar so the README reads as 2026, not v0.13. Closes the Tooling-track parity gap (MCP + Directory + /create all shipped). Bump 0.32.0 -> 0.33.0; `make verify` 62/62 still green. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 613108b commit c6e3a2b

75 files changed

Lines changed: 431 additions & 57 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: verify test build clippy clean snapshot
1+
.PHONY: verify test build clippy clean snapshot snapshot-previews
22

33
# Single command for local pre-commit hygiene.
44
verify: test build clippy
@@ -17,6 +17,10 @@ clippy:
1717
snapshot:
1818
cd examples/showcase && cargo run --quiet --features snapshot --bin snapshot
1919

20+
# Per-component PNGs via PreviewHost — one per registry item (UI + block).
21+
snapshot-previews:
22+
cd examples/showcase && cargo run --quiet --features snapshot --bin snapshot -- --previews
23+
2024
clean:
2125
cd examples/showcase && cargo clean
2226
rm -rf examples/showcase/ui/slintcn

README.md

Lines changed: 4 additions & 3 deletions

docs/ROADMAP.md

Lines changed: 26 additions & 3 deletions
35.5 KB
31.4 KB
30.3 KB
20.6 KB
19.3 KB
15.5 KB
14.9 KB

0 commit comments

Comments
 (0)