Skip to content

docs: link the Nanoviews implementations from the examples and the DevTools page - #307

Merged
dangreen merged 4 commits into
mainfrom
docs/nanoviews-examples
Oct 21, 2026
Merged

dangreen merged 4 commits into
mainfrom
docs/nanoviews-examples

Conversation

@dangreen

@dangreen dangreen commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Why

Nanoviews 1.0.0 is out, and its repository runs the same examples on Nano Kit. The site showed none of them: the example pages offered React, Svelte and Next.js versions alone, and nothing told that the DevTools panel itself is built with the kit.

What

  • Weather, Rick and Morty, CV Generator and Event Board get a Nanoviews tab with the StackBlitz sandbox and the source of the Nanoviews example, the same embeds the Nanoviews site uses. Rick and Morty names Nanoviews among the stacks its tabs compare. CV Generator, which had a single embed, gets React and Nanoviews tabs.
  • Every tab shares the example-view sync key, so a Nanoviews tab picked on one page stays picked on the others.
  • The DevTools page gets a point that the panel is itself an app on @nano_kit/store, with its views written in Nanoviews. skills/nano-kit-store/DOCS.md is regenerated for it.
  • website/astro.config.js: the Umami script attributes lose the quotes that stylistic-js/quote-props flags since @trigen/oxlint-config 11. The root lint covers ./packages/* alone, so nothing caught it before.

Notes

  • The Nanoviews examples are self-contained, with no symlinks and no config outside their folders, and take nanoviews, @nanoviews/router and @nano_kit/* from npm, so their sandboxes install the published packages. The sandboxes were not opened in a browser.
  • The website builds with no errors, skills-docs --check passes, and every new link answers 200.

@codecov

codecov Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.62%. Comparing base (01c4d2b) to head (657c44e).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #307   +/-   ##
=======================================
  Coverage   83.62%   83.62%           
=======================================
  Files         228      228           
  Lines        4849     4849           
  Branches     1074     1074           
=======================================
  Hits         4055     4055           
  Misses        553      553           
  Partials      241      241           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dangreen
dangreen merged commit 1778452 into main Oct 21, 2026
11 checks passed
@dangreen
dangreen deleted the docs/nanoviews-examples branch October 21, 2026 16:12
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.

1 participant