Skip to content

Consolidate streaks.js and streaks-advanced.js #8

Description

@vayungodara

Problem

There are two streak utility files (lib/streaks.js and lib/streaks-advanced.js) with overlapping logic. This creates maintenance burden and risk of divergent behavior.

What to change

  • Audit both files to identify overlapping functions
  • Merge into a single lib/streaks.js with clearly named exports
  • Update all imports across the codebase
  • Ensure no behavior changes (add tests if possible)

Files

  • lib/streaks.js
  • lib/streaks-advanced.js
  • All files importing from either

Impact

Reduces code duplication, easier to maintain.

Effort

~1 hour

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions