Skip to content

feat(section): add section block for groups that would be cards - #86

Merged
zyx1121 merged 1 commit into
mainfrom
feat/section-block
Oct 14, 2026
Merged

zyx1121 merged 1 commit into
mainfrom
feat/section-block

Conversation

@zyx1121

@zyx1121 zyx1121 commented Oct 14, 2026

Copy link
Copy Markdown
Member

From migrating llm.winlab.tw (NYCU-WinLab/llm.winlab.tw#80): with card gone, it needed a flat group in 31 places and wrote its own.

section is that group: border-t pt-6, a title row like SectionHeader (h2, labels the section, so it is a named region) and the group's actions. No subtitle, per the Copy rule. Self-contained (no import from page-header), so the CLI has no block-to-block path to rewrite.

  • Docs page /section (區塊分組) with a budget demo
  • README row; DESIGN.md Two layers names section as the card replacement

Checked on sandbox: lint, typecheck, format, tokens, build; on /section the first group is a region named 外部 API 額度 and the second has an h2.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@zyx1121
zyx1121 merged commit 13194d3 into main Oct 14, 2026
2 checks passed
@zyx1121
zyx1121 deleted the feat/section-block branch October 14, 2026 08:29
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.

1 participant