The forge toolbar

A small pill the app proxy adds to an app's pages (production and every pull's preview), so you always know where you are and can get back to the forge.

Moving the toolbar

The pill sits bottom-right until you move it. Three ways, all the same move:

Each move is announced to screen readers ("Moved to the top right"). The corner is remembered per app origin in the browser (forge-pill-corner), independent of dismissal; an unknown stored value falls back to bottom-right. test/toolbar-swap.test.ts.

Tests: test/toolbar-injection.test.ts, test/apps-toolbar.test.ts, test/note-context.test.ts, test/apps-feedback.test.ts, test/apps-toolbar-yours.test.ts, test/toolbar-serving.test.ts, test/toolbar-where.test.ts, test/toolbar-budget.test.ts.

By keyboard and screen reader

The pill is a button named for the app and where it runs, with aria-expanded. Enter or Space opens the panel and moves focus to the note field; Escape closes it and returns focus to the pill. The note form and its field have labels, and the line under Send is role="status", set as text, so "Sent" or the refusal is announced and never parsed as markup. test/toolbar-keyboard.test.ts asserts this from the shipped script (and in a real Chromium where one runs).

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs