Link the dashboard footer to the source code - #10
Merged
Conversation
The project is public and MIT-licensed, but nothing on the page pointed at it: someone weighing whether to hand this app their Twitch, Kick and VK tokens had to go find the repository themselves. The footer now carries a SOURCE link, and no longer hides itself when nothing is connected — the connectedCount condition moved onto the sign-out button, so the link is present on a first visit, which is exactly when that question gets asked. It reuses the external-link treatment the provider cards already use for DASHBOARD. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018PcejKbjjFyH9pc6RucpSP
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
The dashboard had no way to reach its own source. The project is public and MIT-licensed, but someone weighing whether to hand the app their Twitch, Kick and VK tokens had to go find the repository themselves.
The footer now carries a
SOURCE ↗link to this repo, and no longer hides itself when nothing is connected — theconnectedCountcondition moved from the<footer>onto the sign-out button, so the link is there on a first visit, which is exactly when that question gets asked.SOURCE ↗left,SIGN OUT OF EVERYTHINGright, on onespace-betweenrow.DASHBOARD(dim → accent on hover), and only tokens frommain.css— no new hex.shared/types.tssurface is touched, so no doc update.Test plan
DashboardView.spec.tsasserting the link's href,target="_blank"and text with a disconnected provider — it also pins that the footer renders and sign-out stays hidden.npm run type-check,npx oxlint .,npx eslint .(no--fix, as CI runs them),npm run test:unit(85/85),npm run build-onlyall pass locally.🤖 Generated with Claude Code
https://claude.ai/code/session_018PcejKbjjFyH9pc6RucpSP