Skip to content

Conversation

naaa760
Copy link

@naaa760 naaa760 commented Oct 1, 2025

fixes: #3202

Description

  • I've fixed a UX issue in our migration guide documentation where users had trouble comparing "Before" and "After" code examples. The old tabbed interface made it easy to accidentally copy the wrong code version or lose context when switching between tabs.

What I changed:

  • Created a new BeforeAfter component that displays code examples side-by-side with clear visual separation
  • Updated all migration guide files to use this new component instead of tabs
  • Users can now see both versions simultaneously, making comparisons much easier

Why this matters:

  • No more tab-flipping to understand differences
  • Reduces risk of copying outdated code
  • Better visual comparison of changes
  • Cleaner, more intuitive documentation experience

@infomiho
Copy link
Contributor

infomiho commented Oct 2, 2025

Hello, thank you for trying but can't accept LLM generated contributions. The submitted code doesn't compile and after I fixed it, I noticed it doesn't look good either:
image

@infomiho infomiho closed this Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rework the "Before" and "After" tabs in the migration guide

3 participants