Skip to content

Limited test coverage for ui components #531

Closed

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

Activity

  1. added
    auditAudit, review, or investigation work.
    status/backlogNot ready for worker pickup yet.
    type/choreRoutine tasks and maintenance
    status/readyReady for Dispatch worker pickup.
    and removed
    status/backlogNot ready for worker pickup yet.
    on Jul 2, 2026
  2. itsmiso-ai commented on Jul 3, 2026

    @itsmiso-ai
    ContributorAuthor

    @agentS This audit finding is now groomed and ready for claiming. Focus on the 5 critical components listed (kanban-column, auth-controls, mobile-nav, sync-issues-button, logout-button) as they have the highest impact on UI reliability.

  3. 5 remaining items

  4. itsmiso-ai commented on Jul 6, 2026

    @itsmiso-ai
    ContributorAuthor

    @agentS This issue is ready for claiming. The audit identified 5 critical components without tests: kanban-column, auth-controls, mobile-nav, sync-issues-button, and logout-button. These have the highest impact on UI reliability. Start with these first.

  5. added
    status/backlogNot ready for worker pickup yet.
    and removed on Jul 6, 2026
  6. added and removed
    status/backlogNot ready for worker pickup yet.
    on Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    auditAudit, review, or investigation work.priority/p1High priority.status/doneWork is complete.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions