Skip to content

chore: remove dead UI code - #166

Merged
forkwright merged 1 commit into
mainfrom
chore/remove-dead-ui-code
Feb 23, 2026
Merged

chore: remove dead UI code#166
forkwright merged 1 commit into
mainfrom
chore/remove-dead-ui-code

Conversation

@CKickertz

Copy link
Copy Markdown
Collaborator

Summary

  • Delete Sidebar.svelte (232 lines): File existed but was never imported anywhere in the codebase. Confirmed with grep -r "Sidebar" ui/src/ — zero references. TopBar already handles all agent navigation and selection.
  • Remove onAgentSelect prop from TopBar.svelte: Prop was declared and called inside handleAgentClick, but no parent component ever passed it — always undefined. Removed the dead optional-call.

Test plan

  • cd ui && npm run build — no broken imports
  • App loads, TopBar renders correctly, agent pills work as expected

- Delete Sidebar.svelte (232 lines) — confirmed zero imports across codebase,
  TopBar handles all agent navigation
- Remove unused onAgentSelect prop from TopBar — never passed by any parent
@sonarqubecloud

Copy link
Copy Markdown

@forkwright
forkwright merged commit 5f8da7c into main Feb 23, 2026
11 of 13 checks passed
@forkwright
forkwright deleted the chore/remove-dead-ui-code branch February 23, 2026 16:00
forkwright pushed a commit that referenced this pull request Feb 28, 2026
Remove unused Sidebar.svelte and dead onAgentSelect prop
forkwright added a commit that referenced this pull request Jul 2, 2026
Replaces the 45-minute full-build gate-attestation with the fleet reusable
trailer-verify (pinned; theatron precedent #165/#166). Lane branches carry
box-produced Gate-Passed trailers; the full gate runs on the dispatch box
before push instead of duplicating in CI. Security checks unchanged.

Refs #6339

Gate-Passed: kanon 0.1.5 +stages:fmt,check,clippy,nextest,lint sha:547488ed9aa8426b246cd47893c9432860c0b0b4
forkwright added a commit that referenced this pull request Jul 7, 2026
Replaces the 45-minute full-build gate-attestation with the fleet reusable
trailer-verify (pinned; theatron precedent #165/#166). Lane branches carry
box-produced Gate-Passed trailers; the full gate runs on the dispatch box
before push instead of duplicating in CI. Security checks unchanged.

Refs #6339

Gate-Passed: kanon 0.1.5 +stages:fmt,check,clippy,nextest,lint sha:547488ed9aa8426b246cd47893c9432860c0b0b4
forkwright added a commit that referenced this pull request Jul 8, 2026
The correct implementation of #6339 (supersedes closed #6362): swaps the
45-minute full-build gate-attestation for the fleet reusable
trailer-verify, pinned to the same SHA theatron uses (precedent:
theatron#165/#166 — verifies stamps in ~7s, handles dependabot actors).
Lane branches already carry box-produced `Gate-Passed` trailers; the
full gate runs on the dispatch box pre-push instead of duplicating in
CI. Security workflows unchanged and still required.

Merge note: the check context renames from `gate-attestation` to `gate /
gate-attestation` — branch-protection required contexts get updated at
merge time (same procedure as theatron#161).

Refs #6339
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants