feat: add GitHub Sponsors dashboard link (#50) - #464
Conversation
- Add 'Manage Sponsorship' link to navbar for authenticated users - Add 'Manage Sponsorship' button to sponsor page - Both link to https://github.com/sponsors/elementary/dashboard Fixes elementary#50
|
The @danirabbit Code is fine, thoughts on the link? |
| > | ||
| ♡ Sponsor elementary | ||
| </a> | ||
| <a |
There was a problem hiding this comment.
💡 Suggestion (non-blocking) — updated after lewisgoddard's screenshots: this button is visible to all visitors, and the /dashboard URL 404s for anyone who isn't a sponsor, so non-sponsors get a dead end rather than an empty state. Fixed in the latest commit: both links now point to the public https://github.com/sponsors/elementary page (works for everyone; sponsors still reach their manage options from there). Gating the navbar variant behind the existing useAuthStore.loggedIn remains an option if you want a sponsor-only affordance later.
|
💡 Suggestion (non-blocking): the PR description markdown got mangled — "Both link to (opens in new tab with )" and "All CI checks pass locally: ✅, ✅, ✅, ✅" are missing the actual URLs and check names, so the rendered description doesn't show where the links point or which checks ran. A quick edit to the description body would make it read properly. The code itself is clean — nice, small PR. |
|
Thanks @lewisgoddard — good catch, I can reproduce that. I've pushed a fix (572d9cd): both links now point to the public |


Addresses #50 — adds a 'Manage Sponsorship' link/button so sponsors can easily access their GitHub Sponsors dashboard to manage payment methods, tier, etc.
Changes
Testing
Fixes #50