Skip to content

Docs board fixes: login block OTP and step contrast, Style button, fullscreen preview without code - #593

Merged
lorant-one merged 1 commit into
previewfrom
fix/blocks-docs-polish
Nov 24, 2026
Merged

lorant-one merged 1 commit into
previewfrom
fix/blocks-docs-polish

Conversation

@lorant-one

Copy link
Copy Markdown
Member

Fixes four Once UI board reports on the blocks docs.

  • Login block (Login5).
    • The code field was six separate Inputs; it now uses OTPInput.
    • The active step dot used background="brand-strong" (a tint) with onSolid text, which made the number hard to read. It's now solid="brand-strong".
    • "Didn't get it? Resend code" is centred vertically on one line.
  • Blocks Style button. It used the icon prop, so its icon drew brighter than the built-in Reload, Fullscreen and Copy buttons. It now uses the same small, weak icon as those.
  • CodeBlock fullscreen (core). The side-by-side fullscreen layout from Docs board fixes: Effect demos, calmer rain, side-by-side fullscreen, padded chart states #574 also applied when the selected tab had no code. Every block page opens on a "Preview" tab with empty code, so fullscreen left the right half blank. The split now needs real code, so the preview fills the width. Added to the CHANGELOG under Fixed.

Checks: core typecheck passes. Biome shows no new findings in the changed files; CodeBlock's existing lint findings predate this change. The docs app typecheck errors (ColorButton missing from the built core) are unrelated and also show up on preview.


Generated by Claude Code

…ht, fullscreen preview without code

- Login5 uses OTPInput for its code, the active step is solid brand with
  readable text, and "Didn't get it? Resend code" is centred on one line.
- The blocks Style button draws its icon like the built-in actions.
- CodeBlock: a fullscreen tab with no code (a "Preview" tab) keeps the
  preview full width instead of leaving the right half empty.

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

Copy link
Copy Markdown
Member Author

The visual check flagged 81 changes. All of them are intended, so I added the visual-change label:

  • About 80 block tiles, each 20–40 px: the Style button's icon now draws at the same size and weight as Reload, Fullscreen and Copy, and every block page shows that button.
  • /blocks/authentication at 390, 721 px: the login block now uses OTPInput and a solid fill for the active step.

Generated by Claude Code

@lorant-one
lorant-one merged commit e245418 into preview Nov 24, 2026
13 of 14 checks passed
@github-actions github-actions Bot mentioned this pull request Nov 24, 2026
27 tasks done
@lorant-one lorant-one added the approved label Nov 24, 2026 — with Claude
@lorant-one
lorant-one deleted the fix/blocks-docs-polish branch November 29, 2026 13:45
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