Skip to content

docs: 3.0 is the stable docs (fixes noindex and "beta"), no false "Soon" marks, demo headings out of the outline - #559

Merged
lorant-one merged 2 commits into
previewfrom
feat/3-0-breaking-cleanup-giduz4
Nov 19, 2026
Merged

lorant-one merged 2 commits into
previewfrom
feat/3-0-breaking-cleanup-giduz4

Conversation

@lorant-one

@lorant-one lorant-one commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Before: main builds the 3.0 docs, but the live site still behaved like a beta.

  • The version picker said "Version 3.0 beta", and the site was served with robots: noindex.
  • 50 pages in the sidebar were marked "Soon": every effect, StylePanel, MascotPanel, Banner, and all the 3.0 "merged into …" pages (Modal, Badge, Pulse and the rest).
  • The home badge read "Measured, not assumed", a line from a 2.x release.
  • Headings inside live demos filled the "On this page" outline.

After:

  • 3.0 is the stable docs entry, at the root, read from latest. The site is indexable, and the beta notice and beta label are gone.
  • No page is marked "Soon".
  • The home badge reads "v3.0.0 What's new in 3.0".
  • Demo headings stay out of the outline.

How:

  • versions.data.js: 3.0 becomes stable (path "", branch main, latest). 2.x becomes legacy and unpublished, so it's listed but can't be picked until a 2.x build has its own origin.
  • published.ts checks web pages against core, fx and blocks together. Effects live in fx, and StylePanel, Banner and the sections live in blocks.
  • The 28 redirect pages (merged or internal since 3.0) get export: false, so they read as guides.
  • useHeadingLinks skips headings that have a [data-exclude-nav] ancestor, and CodeBlock marks its preview with that attribute.

Checks:

  • Docs typecheck is clean.
  • Core's CodeBlock and heading tests pass (32).
  • Ran the availability check over every page against npm latest: 0 pages marked unreleased, down from 50 on the live site.
  • The ScrollToTop visual change is expected: with no beta notice the page is shorter, so the demo is captured above its offset.

🤖 Generated with Claude Code

https://claude.ai/code/session_01YJHdG7ZbpQS64MtL5PVbT1

Main now builds 3.0, but the version list still called it "3.0 beta",
reading npm `next`, with status "beta", and the layout marks a non-stable
version noindex: docs.once-ui.com went out with robots noindex. 3.0 is now
the stable entry at the root on `latest`; 2.x is listed as legacy, not
pickable until a 2.x build has an origin of its own.

useHeadingLinks skips headings inside any [data-exclude-nav] ancestor, and
CodeBlock marks its preview with it, so a demo's own headings (the page
sections' "Why people choose Fjell") no longer fill the page outline.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YJHdG7ZbpQS64MtL5PVbT1

Copy link
Copy Markdown
Member Author

Visual check: the one change is components_scrollToTop (65 px). In the base capture the "Top" button is showing, and in the head capture it isn't. ScrollToTop appears based on where the page is scrolled at capture time. This PR touches only the docs version list, useHeadingLinks and a data attribute on CodeBlock's preview, none of which affects ScrollToTop. I'm re-running the visual workflow once.


Generated by Claude Code

Copy link
Copy Markdown
Member Author

Correction to my earlier comment: the ScrollToTop change reproduced on the re-run, so it does come from this PR, and it's intended.

With 3.0 marked stable, the "beta" version notice no longer renders above the page. The page is now shorter, so the ScrollToTop demo is captured at a scroll position under its offset={100}, and the button correctly stays hidden. I've added visual-change.


Generated by Claude Code

The availability check read only @once-ui-system/core, so every effect
(now in fx) and StylePanel, MascotPanel, Banner and friends (now in blocks)
showed "Soon". Web pages now check core, fx and blocks together. The 3.0
pages that point readers from a merged or internal 2.x name to its 3.0 home
(Modal, Badge, Pulse, ...) are guides, so they say `export: false`.

The home badge read "Measured, not assumed", a 2.x release line; it now
says "What's new in 3.0" next to the version.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YJHdG7ZbpQS64MtL5PVbT1
@lorant-one lorant-one changed the title docs: 3.0 is the stable docs (fixes noindex); demo headings stay out of "On this page" docs: 3.0 is the stable docs (fixes noindex and "beta"), no false "Soon" marks, demo headings out of the outline Nov 19, 2026
@lorant-one
lorant-one merged commit ec7af4a into preview Nov 19, 2026
9 checks passed
@lorant-one lorant-one mentioned this pull request Nov 19, 2026
2 tasks done
@lorant-one lorant-one added the approved label Nov 19, 2026 — with Claude
@lorant-one
lorant-one deleted the feat/3-0-breaking-cleanup-giduz4 branch November 21, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants