Skip to content

Remove comparison table component#3166

Merged
manovotny merged 9 commits intomainfrom
manovotny/rm-compare-section
Mar 10, 2026
Merged

Remove comparison table component#3166
manovotny merged 9 commits intomainfrom
manovotny/rm-compare-section

Conversation

@manovotny
Copy link
Copy Markdown
Contributor

@manovotny manovotny commented Mar 3, 2026

Warning

https://github.com/clerk/clerk/pull/2191 needs to be merged before this PR.

🔎 Previews:

Your eyes are not deceiving you. They should look exactly the same, and that's the point.

What does this solve? What changed?

Removes the custom <ComparisonTable> component and related comparison sections from the documentation. Replaced with standard markdown tables that are now automatically styled with bordered containers, gray header rows, sticky headers on desktop, and scroll fade indicators on mobile.

Changes:

  • Removed <ComparisonTable> and <CompareSection> component documentation from CONTRIBUTING.md
  • Removed comparison tables from docs/guides/dashboard/overview.mdx

Deadline

No rush

Other resources

manovotny and others added 3 commits March 3, 2026 12:15
- Convert 5 permission tables in overview.mdx from ComparisonTable HTML
  to markdown pipe tables with Compare marker JSX components
- Use GFM alignment syntax (:-:) for centered columns
- Replace ComparisonTable/CompareSection docs in CONTRIBUTING.md with
  simpler comparison table markers section

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replaces the narrow "Comparison table markers" section with a
general-purpose "Tables" section covering standard markdown pipe
tables, automatic styling, GFM column alignment syntax, and
comparison markers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
clerk-docs Ready Ready Preview Mar 10, 2026 8:03pm

Request Review

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@manovotny manovotny marked this pull request as ready for review March 10, 2026 02:14
@manovotny manovotny requested a review from a team as a code owner March 10, 2026 02:14
Copy link
Copy Markdown
Contributor

@SarahSoutoul SarahSoutoul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Just double checking - in the description of the PR, you said you removed the <CompareYes /> etc components from the contributing guide, but they're def there and needed from looking at the updating tables, so think just an error in the PR description. But wanted to flag in case.

@manovotny
Copy link
Copy Markdown
Contributor Author

so think just an error in the PR description.

Oops! Yes, this is it. The components still exist, just not <ComparisonTable> and <CompareSection>. Updated.

@manovotny manovotny merged commit 56125bd into main Mar 10, 2026
8 checks passed
@manovotny manovotny deleted the manovotny/rm-compare-section branch March 10, 2026 20:55
SarahSoutoul added a commit to ivancernja/clerk-docs that referenced this pull request Mar 23, 2026
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Sarah Soutoul <sarah@clerk.dev>
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