feat(web): generator showcase + landing version bump to v0.9#65
Open
totigm wants to merge 3 commits into
Open
Conversation
Replace the one-line blurb with what the generator actually is and does: role-first capture, the live editor (reorder/relabel/assertions/secrets/ personality), and exporting a @playwright/test spec or standalone HumanJS script through the same codegen the library ships.
The landing didn't mention @humanjs/generator at all. Add a GeneratorShowcase section (after RecorderShowcase) that tells the capture-to-code story: the npx command, a faux 'captured session' step list, an arrow, and the generated login.spec.ts — plus three feature columns. Built from the existing section primitives and CodeBlock, on the warm-accent theme.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the generator to the landing (it wasn't mentioned anywhere) and bumps the version refs for the upcoming release.
Generator showcase section
A new
GeneratorShowcase, placed right afterRecorderShowcase, that tells the capture → code story:npx @humanjs/generator <url>commandselectText/ …) with role-first targetslogin.spec.ts(realrole=…[name=…]selectors, masked password, theselectText(…, { text })substring step)Built from the existing section primitives +
CodeBlockon the warm-accent theme — no new design language. Verified rendered in a production build.README
Expanded the one-line generator blurb into a real description: role-first capture, the live editor (reorder / relabel / assertions / secrets / personality), and exporting a
@playwright/testspec or standalone HumanJS script through the library's own codegen.Version refs (per the release-hygiene rule)
Bumped the landing's hard-coded versions to match the pending Version Packages release (PR #61):
v0.8 → v0.9(Hero, HonestLimits) and@humanjs/core@0.7.0 → @0.8.0(TrustStrip).typecheck · lint ·
next buildall green.