🤖 feat: link the footer GitHub slug to the repository - #3762
Merged
Conversation
The footer already shows owner/repo once a PR is detected on the branch, but it was inert text. Make it an external link to the repo's GitHub page, styled like the neighbouring Last prompt control so the affordance is visible. --- _Generated with `mux` • Model: `anthropic:claude-opus-5` • Thinking: `max`_ <!-- mux-attribution: model=anthropic:claude-opus-5 thinking=max -->
Contributor
Author
|
@codex review |
|
Codex Review: Didn't find any major issues. Another round soon, please! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Jul 30, 2026
mux-bot Bot
added a commit
that referenced
this pull request
Jul 30, 2026
The repository link added in #3762 duplicated the 'Last prompt' pill styling verbatim; extract it so the two footer affordances cannot drift apart.
mux-bot Bot
added a commit
that referenced
this pull request
Jul 30, 2026
The repository link added in #3762 duplicated the 'Last prompt' pill styling verbatim; extract it so the two footer affordances cannot drift apart.
mux-bot Bot
added a commit
that referenced
this pull request
Aug 1, 2026
The repository link added in #3762 duplicated the 'Last prompt' pill styling verbatim; extract it so the two footer affordances cannot drift apart.
mux-bot Bot
added a commit
that referenced
this pull request
Aug 1, 2026
The repository link added in #3762 duplicated the 'Last prompt' pill styling verbatim; extract it so the two footer affordances cannot drift apart.
mux-bot Bot
added a commit
that referenced
this pull request
Aug 1, 2026
The repository link added in #3762 duplicated the 'Last prompt' pill styling verbatim; extract it so the two footer affordances cannot drift apart.
mux-bot Bot
added a commit
that referenced
this pull request
Aug 2, 2026
The repository link added in #3762 duplicated the 'Last prompt' pill styling verbatim; extract it so the two footer affordances cannot drift apart.
mux-bot Bot
added a commit
that referenced
this pull request
Aug 2, 2026
The repository link added in #3762 duplicated the 'Last prompt' pill styling verbatim; extract it so the two footer affordances cannot drift apart.
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 workspace footer already shows the GitHub
owner/reposlug once a PR is detected on the branch, but it was inert text. This makes it a link to the repository page.Background
The slug arrives from
PRStatusStore, which parsesowner,repo, andnumberout of thegithub.comPR URL returned bygh pr view. So whenever the slug renders, we already know the exact repository it names, and the repo URL is unambiguous. The neighbouringPR #Nbadge is clickable; the slug looked identical in weight but did nothing.Implementation
FooterRepositoryLabelnow renders an<a>tohttps://github.com/{owner}/{repo}withtarget="_blank"andrel="noopener noreferrer", which the desktop main process routes throughshell.openExternalviasetWindowOpenHandler. Styling matches the sibling "Last prompt" pill (h-5,rounded-md,hover:bg-hover) so the affordance reads as interactive, andshrink-0is retained because the footer row scrolls horizontally.Behaviour without a detected PR is unchanged: the footer still shows the plain project label. The frontend has no git remote URL today, so the link is scoped to the PR-detected case.
Validation
Checked in Storybook against
App/PhoneViewportsIPhone16ePRLinkPlacement(which mocksgh pr view): the anchor resolves tohttps://github.com/coder/mux, carriestarget="_blank"andrel="noopener noreferrer", and the tooltip renders on hover.Red-green on the new unit test: removing the
hrefand removing thedata-testideach fail only that test.Risks
Low. One component, no state or IPC changes. Pixel snapshots containing the footer shift by a few pixels from the new padding on the slug.
Generated with
mux• Model:anthropic:claude-opus-5• Thinking:max