feat: replace feature grid with dynamic comparison table - #25
Conversation
|
Warning Review limit reached
Next review available in: 48 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
WalkthroughThe homepage now renders an interactive comparison table for five stablecoin categories. The component includes static evaluation data, score icons, explanatory footnotes, responsive scrolling, column highlighting, and special emphasis for Tectonic. ChangesStablecoin comparison table
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Suggested labels: Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@components/ComparisonTable.tsx`:
- Around line 5-63: Externalize all user-visible comparison content currently
defined in FOOTNOTES, columns, and features within ComparisonTable into the
locale resource files. Use the component’s useTranslations-based localization
flow to resolve column labels, feature names, scores, and footnote descriptions
at render time, preserving the existing ordering and footnote markers across
locales.
- Around line 119-132: The footnote trigger in the rendered match content must
be keyboard-accessible instead of relying on the non-focusable sup and hover
alone. Replace the footnoteKey trigger within the renderIcons/tooltip block with
a labeled button, connect it to the tooltip via aria-describedby, and add
focus-visible plus group-focus-within styles so the existing tooltip appears
while focused; preserve the current tooltip text and positioning behavior.
- Around line 65-100: Update renderIcons in ComparisonTable to provide
screen-reader text for each score state (“Yes”, “No”, “Caution”, and the
calculated star rating) while marking the decorative SVGs aria-hidden. In the
comparison table markup, render each feature label as a row header using th
scope="row" and assign scope="col" to column headers so scores are associated
with their feature and plan.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yml
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: cbd0eb73-f5a0-42ef-b6e9-135958351c07
📒 Files selected for processing (2)
app/page.tsxcomponents/ComparisonTable.tsx
Description
This PR replaces the static "Why Tectonic" 4-card grid on the homepage with a comprehensive, highly interactive
<ComparisonTable />component that visually highlights Tectonic's advantages over other assets.Addressed Issues:
Fixes #(TODO:issue number)
Screenshots/Recordings:
new.mp4
Additional Notes:
AI Usage Disclosure:
We encourage contributors to use AI tools responsibly when creating Pull Requests. While AI can be a valuable aid, it is essential to ensure that your contributions meet the task requirements, build successfully, include relevant tests, and pass all linters. Submissions that do not meet these standards may be closed without warning to maintain the quality and integrity of the project. Please take the time to understand the changes you are proposing and their impact. AI slop is strongly discouraged and may lead to banning and blocking. Do not spam our repos with AI slop.
Check one of the checkboxes below:
I have used the following AI models and tools: TODO
Checklist
Summary by CodeRabbit