Skip to content

Delete dead Controller and Footer components after board redesign #77

Description

@aaronbrethorst

Context

PR #72 replaced the `/stops/[stopID]` page with a self-contained departure board. The old orchestrator components are now orphaned — nothing in `src/routes/` imports them anymore, only their own tests do:

  • `src/components/controller/controller.svelte` + `controller.test.js`
  • `src/components/navigation/footer.svelte` + `footer.test.js`
  • `src/components/departures/departure.svelte` + `departure.test.js`
  • `src/components/alerts/alerts.svelte` + `alerts.test.js`

The tests still pass (the files are unchanged and importable), so CI is green on dead code — exactly the failure mode that lets future "I'll fix the bug in the Controller" PRs ship without affecting production.

Note: `src/components/navigation/header.svelte` is still in use by `src/routes/admin/+page.svelte`. Don't delete that one.

Acceptance:

  • Confirm via grep that none of the four components above are imported outside their own test
  • Delete the components and their tests
  • `npm run lint` / `npm run check` / `npm test` stay green

Notes

Tracked from PR #72 review (cross-file tracer + code-reviewer agents).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions