Skip to content

Delete the analytics components nothing renders any more #411

Closed

Description

@imshashank

The planning cockpit in #309 replaced the analytics page, and five components from the old page are still in the tree with nothing importing them:

  • apps/web/src/features/analytics/distribution-section.tsx
  • apps/web/src/features/analytics/scope-section.tsx
  • apps/web/src/features/analytics/breakdown-section.tsx
  • apps/web/src/features/analytics/measure-toggle.tsx
  • apps/web/src/features/analytics/cycle-section.tsx

They keep features/charts/bar-chart.tsx and burndown-chart.tsx alive too. Check each of those two for any remaining importer before deleting it; delete whatever is only reachable from the five above, along with their tests.

bun run typecheck and bun run test in apps/web prove nothing else needed them. One PR, no behaviour change.

Activity

  1. added
    good first issue
    help wanted
    ready
    area: analytics
    dead code
    size: small
    points: 1
    on Sep 6, 2026
  2. be-student commented on Sep 6, 2026

    @be-student
    Contributor

    I’ll work on this. I’ll trace imports from the five obsolete analytics components, retain any chart helper that still has a live consumer, remove only the unreachable implementation and tests, and validate with the web typecheck and test suite.

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

    area: analyticsdead codegood first issuehelp wantedpoints: 1readysize: small

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions