Skip to content

docs(button,link): move link-vs-button guidance above comparison box - #2858

Merged
Lisa18289 merged 1 commit into
mainfrom
claude/button-link-guideline-updates-041971
Aug 19, 2026
Merged

docs(button,link): move link-vs-button guidance above comparison box#2858
Lisa18289 merged 1 commit into
mainfrom
claude/button-link-guideline-updates-041971

Conversation

@Jan-Eimertenbrink

Copy link
Copy Markdown
Member

What

Refines the link-vs-button guidance on the Button and Link guideline pages.

  • Link page: Removed the "prefer links for navigation, buttons for actions" bullet from the Best Practices list and moved it to the intro above the Link vs. Button comparison box (replacing the previous generic intro sentence).
  • Button page: Added the same sentence above the Button vs. Link comparison box, replacing the previous generic intro. It did not exist in the Button Best Practices before, so nothing was removed there.

Both pages now share the same intro sentence above their comparison box, including the link to the highlighted call-to-action guidance (#kombiniere-mit-button).

Why

Keeps the navigation-vs-action guidance visible right where users compare the two components, and makes the two pages consistent.

🤖 Generated with Claude Code

Move the "prefer links for navigation, buttons for actions" sentence out
of the Link best-practices list and use it as the intro above the
"Link vs. Button" comparison box on both pages. Add the same sentence
above the "Button vs. Link" box, where it did not exist before.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Coverage Report for ./packages/components/

Status Category Percentage Covered / Total
🔵 Lines 75.56% 600 / 794
🔵 Statements 75.46% 615 / 815
🔵 Functions 77.97% 131 / 168
🔵 Branches 65.85% 272 / 413
File CoverageNo changed files found.
Generated in workflow #6161 for commit 34829e0 by the Vitest Coverage Report Action

@Jan-Eimertenbrink Jan-Eimertenbrink self-assigned this Aug 19, 2026
@Jan-Eimertenbrink Jan-Eimertenbrink added the documentation Improvements or additions to documentation label Aug 19, 2026
@Lisa18289
Lisa18289 enabled auto-merge (squash) August 19, 2026 12:34
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Preview Deployment

Preview environments are ready:

Type URL
docs pr-2858.docs.review.flow-components.de
storybook pr-2858.storybook.review.flow-components.de

Images:

  • docs: ghcr.io/mittwald/flow/docs:pr-2858
  • storybook: ghcr.io/mittwald/flow/storybook:pr-2858

@Lisa18289
Lisa18289 merged commit e1909e5 into main Aug 19, 2026
13 checks passed
@Lisa18289
Lisa18289 deleted the claude/button-link-guideline-updates-041971 branch August 19, 2026 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants