Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: make issue link a button for mobile tap accuracy on apps page
[._.]/ Adam Eivy691e5268a079
diff --git a/client/src/components/apps/tabs/IssuesTab.jsx b/client/src/components/apps/tabs/IssuesTab.jsxindex 9c4e14ae37..e074f88c5e 100644--- a/client/src/components/apps/tabs/IssuesTab.jsx+++ b/client/src/components/apps/tabs/IssuesTab.jsx@@ -804,10 +804,18 @@ export default function IssuesTab({ appId, appName }) {href={issue.url}target="_blank"rel="noreferrer"+ role="button"aria-label={`Open issue ${issue.number} on ${forgeLabel}`}- className="text-gray-500 hover:text-port-accent transition-colors self-center"+ title={`Open issue ${issue.number} on ${forgeLabel}`}+ onKeyDown={(e) => {+ if (e.key === ' ' || e.key === 'Spacebar') {+ e.preventDefault();+ window.open(issue.url, '_blank', 'noreferrer');+ }+ }}+ className="min-h-[44px] min-w-[44px] inline-flex items-center justify-center p-1.5 rounded-lg border border-port-border bg-port-bg text-gray-400 hover:text-port-accent hover:border-port-accent/40 hover:bg-port-border/40 transition-colors shrink-0 self-center">- <ExternalLink size={12} />+ <ExternalLink size={14} /></a>)}</div>diff --git a/client/src/components/apps/tabs/IssuesTab.test.jsx b/client/src/components/apps/tabs/IssuesTab.test.jsxindex 91184cb39a..7bc946a0dd 100644--- a/client/src/components/apps/tabs/IssuesTab.test.jsx+++ b/client/src/components/apps/tabs/IssuesTab.test.jsx@@ -107,6 +107,28 @@ describe('IssuesTab', () => {expect(screen.getByText('acme/widget')).toBeInTheDocument();});+ it('renders the issue link as a button with accessible name, external URL, and touch target', async () => {+ await renderTab();++ const linkButton = await screen.findByRole('button', { name: 'Open issue 42 on GitHub' });+ expect(linkButton).toBeInTheDocument();+ expect(linkButton).toHaveAttribute('href', 'https://github.com/acme/widget/issues/42');+ expect(linkButton).toHaveAttribute('target', '_blank');+ expect(linkButton).toHaveAttribute('rel', 'noreferrer');+ expect(linkButton.className).toContain('min-h-[44px]');+ expect(linkButton.className).toContain('min-w-[44px]');+ });++ it('activates the issue link button on Space keydown', async () => {+ const openSpy = vi.spyOn(window, 'open').mockImplementation(() => null);+ await renderTab();++ const linkButton = await screen.findByRole('button', { name: 'Open issue 42 on GitHub' });+ fireEvent.keyDown(linkButton, { key: ' ' });+ expect(openSpy).toHaveBeenCalledWith('https://github.com/acme/widget/issues/42', '_blank', 'noreferrer');+ openSpy.mockRestore();+ });+// The AA guarantee itself is `lib/chipContrast.test.js`'s job. What this suite// owns is the wiring: the chip is styled for the ACTIVE theme mode, not a// hardcoded one. #fef2c0 is GitHub's default pale yellow — the color that