Skip to content
Myr

Underline the footer's Agents link, and fix two stale words from review

Before adoption: this commit came in with the history the project adopted, so no landing records it.

- The footer's "Connect an agent" link had no class, and the base styles strip a link's underline, so it read as plain text; it now carries the same underline the page's body links use. - `idOf`'s doc comment named `remote-mcp`; the id it makes is `agents-remote-mcp`. - The footer test still said "the two ways in"; the footer has three cells, and that case covers the two command-line ones. - No new test: the link's styling is a class, which a test would only repeat.

authored by oscabriel · committed by oscabriel · parent 5c4cfde · Browse files · 3 files+9 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+9 added−4 removed

  • tests:+1 added−1 removed
  • other:+8 added−3 removed

3 files+9 added−4 removed

modified:apps/web/src/features/agents/setup-page.tsx+1 added-1 removed
modified:apps/web/src/features/shared/layout.tsx+7 added-2 removed
modified:apps/web/test/shared.test.tsx+1 added-1 removed
429 unmodified lines
430 expect(markup).toMatch(/<a\b[^>]*aria-current="page"[^>]*>Agents<\/a>/u);431 expect(markup).not.toMatch(/<a\b[^>]*aria-current="page"[^>]*>Today<\/a>/u);432 });433434 it("gives the two ways in at the foot of every page: plain git and the CLI", () => {434 it("gives the command-line ways in at the foot of every page: plain git and the CLI", () => {435 const text = textOf(<SiteFooter platformUrl={platformUrl} />);436437 expect(text).toContain("Plain git: clone any project");438 expect(text).toContain(`git clone ${platformUrl}/<project>.git`);
39 unmodified lines