Skip to content

experimental tutorial components - #4057

Draft
vasfvitor wants to merge 12 commits into
v2from
tutorial-components
Draft

experimental tutorial components#4057
vasfvitor wants to merge 12 commits into
v2from
tutorial-components

Conversation

@vasfvitor

@vasfvitor vasfvitor commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

so this is more of an idea I had, now I was able to actually try it

basically we render a manifest from this package https://github.com/vasfvitor/tauri-tutorial-runner (I call tatu). If the CI fails, it probably means the tutorial is stale.

in a ai-less world rsbuild.manifest.json would be a pita to maintain, otoh not so sure people will use it, at least llms can use the raw manifest as a baseline to implement features, I could maybe create some evals to see how it goes in a new app and existing app

please don't read the code lmao

tatu runs the manifest on a fresh tauri app

https://deploy-preview-4057--tauri-v2.netlify.app/learn/rsbuild/

will add more manifests/tutorials to see how it behaves and if any headache comes from it

@netlify

netlify Bot commented Aug 13, 2026

Copy link
Copy Markdown

Deploy Preview for tauri-v2 ready!

Name Link
🔨 Latest commit 3d39ed6
🔍 Latest deploy log https://app.netlify.com/projects/tauri-v2/deploys/6a99db43b7fdd50008408253
😎 Deploy Preview https://deploy-preview-4057--tauri-v2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 99 (no change from production)
Accessibility: 98 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@vasfvitor
vasfvitor force-pushed the tutorial-components branch from 1e0f02f to 444e79d Compare August 13, 2026 18:10
store, http-client, sql and logging now source their Manual-setup, usage and
permissions code from runner-verified tutorial manifests (plugin-store,
plugin-http, plugin-sql, plugin-log) via standalone <TutorialStep>. The
Automatic tab and the multi-engine/lang alternatives stay authored prose.

Notable content fixes the runner forced:
- http-client's floating-await reqwest snippet becomes a real command,
  exercised against a localhost server in the recorded run
- the sql SQLite path proves engine feature selection, migrations and
  preload end to end; permissions gained the deny-before/allow-after beat
- every page's JS usage snippet is now tsc-gated by the recorded build
Review pass over the plugin-page conversion:

- TutorialStep expands a recorded `pnpm add <pkg>` mutation into the usual
  CommandTabs (npm/yarn/pnpm/deno/bun) — the recorded run stays the pnpm
  one, but readers of the Manual tab keep their manager's command; the
  four "recorded here with pnpm" disclaimers are gone
- trim captions that restated comments already inside the rendered
  snippets (store usage, sql usage); the $# substitution note is owned by
  the Syntax section again
- re-sync the four manifests: the runner's harness now inherits per field
  and the add-js-bindings build assertion was dropped as unfalsifiable
@socket-security

socket-security Bot commented Sep 3, 2026

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: cargo hyper-util is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: ?cargo/hyper-util@0.1.20

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore cargo/hyper-util@0.1.20. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🪵 Backlog

Development

Successfully merging this pull request may close these issues.

1 participant