Skip to content

[FEATURE]: Add Total Active Days Analytics #669

@arpit2006

Description

@arpit2006

Feature Summary

Add a new analytics card called Total Active Days to the GitHub Tracker dashboard. This metric will display the total number of unique days on which a user has been active by creating issues, submitting pull requests, or performing other tracked contributions within the selected date range.

This feature will provide users with a quick overview of their contribution consistency and engagement in open-source projects.


Problem Statement

Currently, the tracker displays issues and pull requests but does not provide any insight into how consistently a user contributes over time.

Users cannot easily determine:

  • How many days they have actively contributed.
  • Their overall participation frequency.
  • Contribution consistency within a specific date range.

Adding a Total Active Days metric will improve the usefulness of the analytics dashboard and help users better understand their contribution habits.


Proposed Solution

Implement a statistics card that calculates and displays the number of unique contribution dates.

Calculation Logic

  1. Collect all tracked activities (Issues and Pull Requests).
  2. Extract the creation date of each activity.
  3. Convert timestamps to date-only values (YYYY-MM-DD).
  4. Remove duplicate dates.
  5. Count the remaining unique dates.

Example:

Activity Date
Issue #1 2026-05-01
PR #12 2026-05-01
Issue #5 2026-05-03

Total Active Days = 2


UI Suggestion

Add a statistics card above the data table.

Example:

┌─────────────────────┐
│ Total Active Days   │
│        124          │
└─────────────────────┘

Possible placement:

  • Alongside future analytics cards.
  • Above the Issues / Pull Requests tabs.
  • Within a dashboard summary section.

Benefits

  • Provides a quick contribution consistency metric.
  • Improves dashboard analytics.
  • Encourages contributor engagement.
  • Creates a foundation for future features such as:
    • Current Contribution Streak
    • Longest Streak
    • Activity Heatmap
    • Monthly Contribution Trends

Acceptance Criteria

  • Calculate unique active contribution dates.
  • Display Total Active Days in a dedicated analytics card.
  • Update automatically when filters change.
  • Support custom date ranges.
  • Maintain responsiveness on mobile and desktop devices.
  • Handle empty datasets gracefully by displaying 0.

Additional Notes

This feature can serve as the first step toward a more comprehensive contribution analytics dashboard.

/assign
please assign this issue to me under GSSoC!

Metadata

Metadata

Assignees

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