Skip to content

feat(web): techdocs coming-soon title, quickstart flex-column spacing - #4353

Merged
ATX24 merged 214 commits into
canaryfrom
vaibhav/new-copy
Aug 9, 2026
Merged

ATX24 merged 214 commits into
canaryfrom
vaibhav/new-copy

Conversation

@ATX24

@ATX24 ATX24 commented Aug 9, 2026 •

Copy link
Copy Markdown
Contributor

Follow-up to #4351, which merged just before this landed.

  • The quickstart page becomes one flex column with a uniform 44px gap and zeroed child margins, so section spacing cannot collapse or compound. Headings pair with their content in section groups: Handy links with its card grid, Keeping BAML updated with its note.
  • The techdocs page heading becomes "Tech Docs Coming Soon".

One commit, app-website only, lint and typecheck clean.

Summary by CodeRabbit

  • Style

    • Improved Quickstart page spacing and section layout for a cleaner, more consistent presentation.
    • Grouped related content into clearer sections.
    • Adjusted grid spacing and refined update guidance placement.
  • Content

    • Updated the Tech Docs heading to “Tech Docs Coming Soon.”

Dhilan Shah and others added 30 commits April 9, 2026 23:26
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Co-Authored-By: Claude Opus 4.7 <[email protected]>
Co-Authored-By: Claude Opus 4.7 <[email protected]>
# Conflicts:
#	.vscode/settings.json
#	pnpm-lock.yaml
#	typescript2/pnpm-lock.yaml
Replaces the inline ~870-LOC BamlPlayground hero embed with a worker-hosted
runtime + ExecutionPanel from @b/pkg-playground (matching the pattern in
app-promptfiddle). Picks up the Run/Graph/Prompt/cURL tabs, function/test
sidebar, pluggable result renderers, and the API-keys dialog for free.

- Worker (app-website/playground/baml-worker.ts): adapts promptfiddle's
  worker minus the LSP MessagePort path; the website doesn't host Monaco,
  so the runtime LSP handshake is driven directly. Stubs input/exec/shell
  callbacks (canary additions for read_input + shell stdlib) so they fail
  fast — the marketing playground intentionally doesn't expose them.
- BamlPlayground.tsx (~150 LOC): spawns the worker, waits for ready,
  wraps in WorkerRuntimePort, hands to <ExecutionPanel>. Auto-respawns
  the worker on error so a runtime panic doesn't kill the page; ExecutionPanel
  remounts cleanly via connectionVersion. Debounces filesChanged 200ms to
  coalesce keystrokes.
- BamlEditor.tsx: simplified to read-only Shiki-highlighted view by default
  with a floating "Remove Training Wheels" toggle to enable the full
  textarea-overlay edit mode. Drops the inline editable-region machinery.
- Hero (variant-home.tsx): inline expanded playground for desktop only
  (lg+); mobile shows a static screenshot CTA so phones don't ship the
  worker + WASM + ELKjs bundle.
- Replaces local proto/{encode,decode,types,generated} with @b/pkg-proto.
- Replaces gitignored public/wasm/* with workspace @b/bridge_wasm link.
- Drops EditorTerminalSplit + PlaygroundTerminal (no longer used).
- Globals.css: registers vsc-* Tailwind tokens and a .baml-playground-root
  scope that overrides shadcn tokens to dark values for the playground
  subtree only — no theme bleed into the cream marketing site.

pkg-playground tweaks:
- Add 'use client' at the index entry (Next 15 RSC compat).
- ExecutionPanel: fix sub-function call separator (`Fn.render_prompt` →
  `Fn$render_prompt`) so the Prompt/cURL tabs hit the actual runtime names.
- Add initialArgsJson prop so consumers can pre-fill the args input.
- Update worker-protocol doc to reflect $ separator.

Notes:
- Default BAML uses new-style `test "name" { Fn(...) }` blocks; old-style
  `test Name { functions [...] args {...} }` parses but the runtime never
  registers them into $init_test_<file_id>, so collection returns Null.
- @b/bridge_wasm is rebuilt from baml_language/crates/bridge_wasm and
  picks up the canary fix for collect_tests returning BexExternalValue::Null
  (no-tests case) cleanly instead of corrupting WASM memory.
`pnpm install` reconciles the lockfile against the package.json updates
brought in by the canary merge (nodemon, just-bash, vitest, jotai in
pkg-playground deps) plus the website's new @b/pkg-playground / @b/pkg-proto
/ @b/bridge_wasm workspace deps.
ATX24 and others added 14 commits August 8, 2026 00:34
Observability moves to section 1 and gets a new graphic: two ripple
fields side by side (OTEL forgets each pass, BAML keeps the light)
with a live event feed under each. The two-axis matrix placeholder is
parked, read-mores flow inline in prose (or bottom-right inside the
explorer card), dividers get an even rhythm, the company logo row
lands under the borrowed-traits list, and the rebus caption drops
monospace and reveals sooner.

Co-Authored-By: Claude Fable 5 <[email protected]>
/ now renders the what-is-baml page; /what-is-baml and /explore both
redirect home, and the old explore article stays reachable at
/explore-legacy. The homepage tab title becomes 'Basically a Made-up
Language' and the site-wide default titles drop the em dash.

Co-Authored-By: Claude Fable 5 <[email protected]>
The install unit's prose, tabs, and prompt move to the body font
(shell command lines stay mono), and the 'paste into your favorite
coding agent' lead is gone. In the shared CTA styles a selector meant
for the button icons was crushing the buttons themselves, hiding the
'Book a session' label; it now targets the svgs, and the primary
button colors carry enough specificity to survive page-level link
rules. Footer tagline becomes 'Basically a made up language.'

Co-Authored-By: Claude Fable 5 <[email protected]>
Every homepage read-more points at /techdocs, a short human-written
note about the upcoming deep-dive articles. Quickstart tightens its
heading rhythm, un-bolds the lead, and lets the install unit span the
column so it lines up with the cards; /eap collapses to one 800px
column so the header, text, and cards share edges.

Co-Authored-By: Claude Fable 5 <[email protected]>
Removes the "used by some of the world's largest companies" line and the
Google/AWS/SAP marks under it, plus the .wib-users styles that only served
that row. The logo assets stay, since company-showcase and variant-home
still use them.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Address the PR review: the expanded playground gains Escape dismissal,
dialog semantics, and a background scroll lock, and is hidden entirely
on touch/small screens; the explorer tabs get the tabpanel wiring
their ARIA roles promised; the pack size table moves under Ship
Anywhere where its content belongs; the acquirer cycler clears its
inner fade timeout on unmount; the dropped counter formats with
toLocaleString like its sibling; and the agent-tries-baml read-more
label becomes prose.

Co-Authored-By: Claude Fable 5 <[email protected]>
The Biome CI job lints every file the PR touches against the stricter
typescript2 config, which this branch's files had never been held to.
Rename TryBaml/BamlEditor/Story to kebab-case and update importers,
apply the sorted-keys/attributes and organize-imports fixes across the
touched learn decks and editor, fix the real findings (unused webpack
param and parked posthog import in next.config, assign-in-expression
and at(-1) in the editor, descending specificity in the install unit's
css, aria-label without a role on the rebus), and add reasoned
suppressions where the pattern is deliberate (static <img> marks,
static page CSS injection, effect dependency choices).

Co-Authored-By: Claude Fable 5 <[email protected]>
… gate

The deck entered the lint set via the baml-editor-lazy import rename;
this is the same autofix pass the learn3 deck already got.
The renamed baml-editor-lazy imports use the @/app alias instead of
deep relative paths, and the Try BAML compact variant no longer copies
the editor-setup command it does not show.
…a flex column

The quickstart page becomes one flex column with a uniform 44px gap
and zeroed child margins, so section spacing cannot collapse or
compound; headings pair with their content in small section groups
(Handy links with its card grid, Keeping BAML updated with its note).
The techdocs page heading becomes Tech Docs Coming Soon.
@vercel

vercel Bot commented Aug 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
beps Ready Ready Preview Aug 9, 2026 9:49pm
promptfiddle2 Ready Ready Preview Aug 9, 2026 9:49pm

Request Review

@coderabbitai

coderabbitai Bot commented Aug 9, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: d57de25a-5065-4878-841e-a00eea82cd3e

📥 Commits

Reviewing files that changed from the base of the PR and between 03752e3 and cbc68c2.

📒 Files selected for processing (1)
  • typescript2/app-website/app/quickstart/page.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
  • typescript2/app-website/app/quickstart/page.tsx

📝 Walkthrough

Walkthrough

The Quickstart page now uses section wrappers and explicit flex spacing. Its card grid gap increases from 10px to 12px. The Tech Docs heading changes to “Tech Docs Coming Soon.”

Changes

Website page updates

Layer / File(s) Summary
Quickstart layout spacing
typescript2/app-website/app/quickstart/page.tsx
The page groups the heading, handy links, and update guidance into section containers. Flex-column gaps replace margin-based spacing. The card grid gap changes to 12px.
Tech Docs placeholder heading
typescript2/app-website/app/techdocs/page.tsx
The heading changes to “Tech Docs Coming Soon.”

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Poem

A rabbit hops through tidy space,
With flex gaps set in place.
Quickstart cards align just right,
Tech Docs says “Coming Soon” tonight.
Neat pages greet the morning light.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely summarizes both main changes: the Tech Docs heading update and Quickstart spacing restructure.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch vaibhav/new-copy

Warning

Review ran into problems

🔥 Problems

Git: Failed to clone repository. Please run the @coderabbitai full review command to re-trigger a full review. If the issue persists, set path_filters to include or exclude specific files.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown

⏭️ Performance benchmarks were skipped

Perf benchmarks (CodSpeed) are opt-in on pull requests — they no longer run on every push. They always run automatically after merge to canary/main.

To run them on this PR, do any of the following, then push a commit (or re-run CI):

  • Add RUN_CODSPEED=1 to the PR description, or
  • Include run-perf or /perf in the PR title or any commit message.

@vercel
vercel Bot temporarily deployed to Preview – beps August 9, 2026 16:08 Inactive
@vercel
vercel Bot temporarily deployed to Preview – promptfiddle2 August 9, 2026 16:15 Inactive
@ATX24
ATX24 marked this pull request as ready for review August 9, 2026 17:03

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
typescript2/app-website/app/quickstart/page.tsx (1)

64-71: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Use single quotes for changed JSX attribute values.

Replace the changed double-quoted JSX attributes with single-quoted attributes. As per coding guidelines, typescript2/app-website/**/*.{ts,tsx} must use single quotes.

Also applies to: 82-121

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@typescript2/app-website/app/quickstart/page.tsx` around lines 64 - 71, Update
the changed JSX attributes in the Quickstart page, including the related section
spanning the referenced range, to use single-quoted values instead of double
quotes. Preserve the existing class names and JSX structure.

Source: Coding guidelines

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@typescript2/app-website/app/quickstart/page.tsx`:
- Around line 24-31: Update the quickstart CSS margin resets so all direct
children of the flex containers used by qs-head and qs-sec, including the h1 and
lead paragraph, have zero margins before gap controls spacing. Ensure the
existing .qs-wrap p margins do not override these direct-child resets,
preserving the intended 18px and 14px gaps.

---

Nitpick comments:
In `@typescript2/app-website/app/quickstart/page.tsx`:
- Around line 64-71: Update the changed JSX attributes in the Quickstart page,
including the related section spanning the referenced range, to use
single-quoted values instead of double quotes. Preserve the existing class names
and JSX structure.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: bdf05235-4c6e-4c62-8dce-06440c13d22b

📥 Commits

Reviewing files that changed from the base of the PR and between 029f725 and 03752e3.

📒 Files selected for processing (2)
  • typescript2/app-website/app/quickstart/page.tsx
  • typescript2/app-website/app/techdocs/page.tsx

.qs-wrap p was out-specifying the group resets, inflating the flex
gaps; paragraph margins are now zero and the head/section groups reset
their children explicitly.
@vercel
vercel Bot temporarily deployed to Preview – beps August 9, 2026 21:42 Inactive
@vercel
vercel Bot temporarily deployed to Preview – promptfiddle2 August 9, 2026 21:49 Inactive
@ATX24
ATX24 added this pull request to the merge queue Aug 9, 2026
Merged via the queue into canary with commit 0f400f7 Aug 9, 2026
37 checks passed
@ATX24
ATX24 deleted the vaibhav/new-copy branch August 9, 2026 22:11

This branch was previously deployed

2 inactive deployments
Preview – promptfiddle2 — cbc68c24 Deployed Aug 9, 2026 by vercel[bot]
Preview – beps — cbc68c24 Deployed Aug 9, 2026 by vercel[bot]
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.

6 participants