Skip to content

Add contribution detail page and rebrand card navigation#530

Merged
JoaquinBN merged 1 commit intodevfrom
JoaquinBN/rebrand-contribution-cards
Apr 4, 2026
Merged

Add contribution detail page and rebrand card navigation#530
JoaquinBN merged 1 commit intodevfrom
JoaquinBN/rebrand-contribution-cards

Conversation

@JoaquinBN
Copy link
Copy Markdown
Collaborator

Summary

  • New ContributionPreview route (/contribution/:id) with two variants: highlighted contributions show a colored hero box with the steward's article body and a gold hexagon+star icon; normal contributions show the type name and jump straight to showcase/notes.
  • All contribution cards across portal highlights, profile highlights, profile recent contributions, and dashboard now navigate to /contribution/:id instead of legacy /badge/, /participant/, or /contribution-type/ routes.
  • Handles grouped contribution IDs (group_*) by extracting the real contribution ID from grouped_contributions.
  • Includes a full skeleton loader, sidebar with contributor info and details, "More from user" cards, and proper $derived.by reactivity for user role.

Test plan

  • Click a contribution card from the portal home highlights — should open the contribution detail page
  • Click a contribution card from the profile recent contributions — should open the contribution detail page (not the old contribution type view)
  • Click a highlighted contribution from the profile highlights — should open with the colored hero variant
  • Verify the skeleton loader displays while the page loads
  • Verify non-highlighted contributions show type name → showcase → notes layout
  • Verify highlighted contributions show gold hexagon+star icon, optional title, and full article body inside the colored container

New ContributionPreview route with highlighted/normal variants, gold
hexagon+star icon for highlights, skeleton loader, and portal design
system colors. All contribution cards across portal, profile, and
dashboard now navigate to /contribution/:id instead of legacy routes.
Fix $derived reactivity for userRole and handle grouped contribution IDs.
@JoaquinBN JoaquinBN merged commit 66baf9b into dev Apr 4, 2026
@JoaquinBN JoaquinBN deleted the JoaquinBN/rebrand-contribution-cards branch April 4, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant