Skip to content

feat: add Star on GitHub button to landing page - #360

Merged
nwparker merged 1 commit into
mainfrom
nwparker/star
Apr 7, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/star

Conversation

@nwparker

@nwparker nwparker commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds a "Star on GitHub" button to the landing page, right below the ORCA heading
  • Checks star status via gh api on mount; gracefully hides when gh CLI is unavailable or unauthenticated
  • Optimistic UI update on click for a snappy feel, with silent revert on failure
  • Warm amber pill-shaped button with smooth fade-in transition from loading state

Test plan

  • Verify button shows "Star on GitHub" with outline star when repo is not starred
  • Click the button — should immediately show "Starred on GitHub" with filled star
  • Reopen landing page — button should show "Starred on GitHub" (persisted via GitHub)
  • With gh not installed or not authenticated — button should not appear
  • No layout shift during the loading → resolved transition

🤖 Generated with Claude Code

Checks star status via gh CLI on mount and shows a warm amber pill
button when the repo hasn't been starred yet. Optimistically updates
on click for a snappy feel. Gracefully hidden when gh is unavailable.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@nwparker
nwparker merged commit 37ae8ce into main Apr 7, 2026
1 check passed
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
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