Make the whole project card clickable - #70
Merged
Conversation
The card on /projects now wraps its contents in the project link instead of hiding navigation behind the View Project button. The footer keeps its label and arrow, driven by hover on the card. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Greptile SummaryThe PR makes each project card a single navigation target while preserving distinct internal and external-link behavior.
Confidence Score: 5/5The PR appears safe to merge with the current project catalog and widget implementations. The card-level links preserve existing destinations and external-link protections, and currently reachable widget content contains no nested controls that conflict with the expanded clickable area.
|
| Filename | Overview |
|---|---|
| src/components/widgets/WidgetCard.tsx | Converts the complete widget card into an internal or external link without introducing a concrete failure for the currently rendered widget content. |
Reviews (1): Last reviewed commit: "Make the whole project card clickable" | Re-trigger Greptile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
On
/projects, the entire card is now a link instead of requiring a click on the "View Project" button.WidgetCardwraps its contents in aLink(internal projects, e.g./tracker) or an<a target="_blank" rel="noopener noreferrer">(external projects).<span>with the same styling, so there is no nested interactive element.group-hover/card, so hovering anywhere on the card moves it — right arrow for internal links, diagonal for external.Testing
npx tsc --noEmitpasses.🤖 Generated with Claude Code