Phase 4, part 3: the actions page. Stacked on #127, so merge that first.
Grouping the actions, building the request, reading the result and checking required inputs move to actions.ts with tests; the page is rewritten around it.
One fix: an action with no options now shows its name while it runs.
After this PR: 84.0%, 12,034 upstream lines left in 47 files, 35 dual headers. Tests: 766 → 775.
Visual check: see #126. It covered all six phase 4 PRs and found no change in the UI.
Typecheck, lint, i18n:check, tests, build and notice check pass locally. No new strings.
Phase 4, part 3: the actions page. Stacked on #127, so merge that first.
Grouping the actions, building the request, reading the result and checking required inputs move to `actions.ts` with tests; the page is rewritten around it.
One fix: an action with no options now shows its name while it runs.
After this PR: 84.0%, 12,034 upstream lines left in 47 files, 35 dual headers. Tests: 766 → 775.
**Visual check:** see #126. It covered all six phase 4 PRs and found no change in the UI.
Typecheck, lint, i18n:check, tests, build and notice check pass locally. No new strings.
The trace's logic is now plain, tested code: trace.ts pairs each step's
start with its outcome, groups steps by delivery attempt, names and
describes them, and holds the trace's states as a reducer; stream.ts runs
the token and the event stream. The page only draws them, unchanged.
Two fixes on the way: "Started Ns ago" counts from the trace's own start
(it carried on from the previous trace before), and cancelling while the
token is still on its way no longer opens the stream afterwards.
Its rules are now plain, tested code in wizard.ts: which fields each step
shows, which are required, where the server's refusal lands, and what the
finish screen lists. The wizard itself is rewritten on top of them, with
the same steps, look and update.
Its rules are now plain, tested code in actions.ts: grouping actions by
label, what creating one sends (no server results, no untouched secrets),
reading the answer, and which options are required. The page is
rewritten on top of them, with the same look and flow. An action without
options now shows its label while it runs, not its internal name.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Phase 4, part 3: the actions page. Stacked on #127, so merge that first.
Grouping the actions, building the request, reading the result and checking required inputs move to
actions.tswith tests; the page is rewritten around it.One fix: an action with no options now shows its name while it runs.
After this PR: 84.0%, 12,034 upstream lines left in 47 files, 35 dual headers. Tests: 766 → 775.
Visual check: see #126. It covered all six phase 4 PRs and found no change in the UI.
Typecheck, lint, i18n:check, tests, build and notice check pass locally. No new strings.