Skip to content

Limited test coverage for ui components #531

Description

@itsmiso-ai

Parent umbrella issue: #495
Source audit: Weekly tech debt audit: dispatch - 2026-07-01
Source audit date: 2026-07-01

Original recommendation

Limited test coverage for ui components

Evidence: Of 16+ React components in src/components/ and src/app/, only 5 have test files (filter-bar.test.tsx, issue-card.test.tsx, kanban-board.test.tsx, theme-toggle.test.tsx, board/page.test.tsx, projects/page.test.tsx, login/page.test.tsx, layout.test.tsx). Critical components without tests:

  • kanban-column.tsx — drag-and-drop column logic
  • auth-controls.tsx — login/logout buttons
  • mobile-nav.tsx — navigation
  • sync-issues-button.tsx — button that triggers POST /api/sync
  • logout-button.tsx — critical auth UI

Matched top finding

Evidence: Of 16+ React components in src/components/ and src/app/, only 5 have test files (filter-bar.test.tsx, issue-card.test.tsx, kanban-board.test.tsx, theme-toggle.test.tsx, board/page.test.tsx, projects/page.test.tsx, login/page.test.tsx, layout.test.tsx). Critical components without tests:

  • kanban-column.tsx — drag-and-drop column logic
  • auth-controls.tsx — login/logout buttons
  • mobile-nav.tsx — navigation
  • sync-issues-button.tsx — button that triggers POST /api/sync
  • logout-button.tsx — critical auth UI

Metadata

Metadata

Assignees

No one assigned

    Labels

    auditAudit, review, or investigation work.priority/p1High priority.status/backlogNot ready for worker pickup yet.

    Type

    No type

    Fields

    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