-
-
Notifications
You must be signed in to change notification settings - Fork 95
Redesign Roadmap Section for Enhanced Visual Appeal and Clarity #1364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Summary by CodeRabbit
Summary by CodeRabbit
WalkthroughThe changes refactor the roadmap section on the About page by removing the old inline rendering of roadmap items and replacing it with a dedicated Changes
Assessment against linked issues
Suggested reviewers
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's try it in 2x3 layout (two columns) and remove the style effects as we don't have those anywhere else.
Hey @arkid15r, |
Hey @arkid15r, I’ve removed the styling effect and switched it to a two-column layout. Check it out and let me know if anything else needs fixing—I’ll push the changes accordingly. Recording.2025-04-14.223224.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (3)
frontend/src/components/Roadmap.tsx (3)
12-16
: Consider using unique identifiers instead of array indices for keys.Using the array index as a key prop might lead to unexpected behavior if the roadmap items order changes or items are added/removed dynamically.
- {roadmap.map((item, index) => ( + {roadmap.map((item) => ( <div - key={index} + key={item.issueLink} className="flex flex-col justify-between border p-4 text-gray-600 dark:border-gray-700 dark:text-gray-300"
25-29
: Remove unnecessary whitespace in JSX.There's an unnecessary space character at line 26 that should be removed.
<div className="h-3/4"> - {' '} <h3 className="mb-1 text-lg font-semibold leading-snug">{item.title}</h3> <p className="mb-4 line-clamp-3 text-sm">{item.detailedDescription}</p> </div>
26-28
: Consider adding a tooltip or expandable view for truncated descriptions.The
line-clamp-3
will truncate longer descriptions, which might hide important information. Consider adding a way for users to view the full description.<h3 className="mb-1 text-lg font-semibold leading-snug">{item.title}</h3> - <p className="mb-4 line-clamp-3 text-sm">{item.detailedDescription}</p> + <p className="mb-4 line-clamp-3 text-sm group relative"> + {item.detailedDescription} + <span className="absolute invisible group-hover:visible bg-white dark:bg-gray-800 p-2 rounded shadow-lg text-sm max-w-xs z-10 top-full left-0 mt-1"> + {item.detailedDescription} + </span> + </p>
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
frontend/src/components/Roadmap.tsx
(1 hunks)
🧰 Additional context used
🧬 Code Graph Analysis (1)
frontend/src/components/Roadmap.tsx (2)
frontend/src/utils/aboutData.ts (1)
roadmap
(16-67)frontend/src/types/link.ts (1)
Link
(1-6)
🔇 Additional comments (6)
frontend/src/components/Roadmap.tsx (6)
1-6
: LGTM: Well-structured imports and client directive.The imports are well-organized, importing only what's needed. The 'use client' directive is correctly placed at the top of the file to indicate client-side rendering in Next.js.
8-11
: Component structure looks good.The component is properly structured as a functional component using arrow function syntax. Wrapping the roadmap in a SecondaryCard provides consistent styling with the rest of the application.
11-12
: Good responsive design implementation.The grid layout changes from single column to two columns on medium screens and above, providing a better user experience across different device sizes.
17-23
: Good visual hierarchy with icon implementation.The icon implementation with the colored circular background creates a nice visual hierarchy and helps differentiate between different roadmap items.
31-41
: Good accessibility implementation for GitHub links.The GitHub issue links include proper aria-labels and hiding decorative icons from screen readers. This is excellent for accessibility.
1-52
:❓ Verification inconclusive
Verify integration with the About page.
Ensure this new component is properly integrated into the About page, replacing the previous roadmap implementation.
🏁 Script executed:
#!/bin/bash # Check if the Roadmap component is imported and used in the About page echo "Checking for Roadmap component usage in About page:" fd "page.tsx" src/app/about | xargs grep -l "Roadmap" | xargs catLength of output: 277
Attention: Verify About Page Integration
Our automated search did not locate the About page at the expected path ("src/app/about"), so we couldn’t confirm that the new Roadmap component is being integrated appropriately. Please verify that:
- The Roadmap component is imported and rendered within the actual About page.
- The About page file exists at the correct location (e.g., it might be under a different path like
/pages/about
or in another folder withinsrc/app
).If the About page path has changed, kindly update both the integration and the path used in the verification script accordingly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems you reverted the Roadmap changes on about page.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check my recent comment. Thank you!
I don't see any recent progress on this, I'm going to reassign it if you're not interested. |
Pinging here as well, should we keep it open? |
Resolve #1361
Description:
This PR addresses the need for a more structured and visually engaging roadmap section on the About page. The previous layout was simple and lacked clear organization, making it difficult to convey the project's milestones and upcoming features effectively.
✨ What’s New
🧩 Motivation
The updated design aims to:
📸 Screenshots (if applicable)
Recording.2025-04-14.034444.mp4