Skip to content

Add review field to ContributionsGraph data structure#231

Merged
hashin2425 merged 6 commits intomainfrom
claude/add-review-to-contributions-graph
Mar 10, 2026
Merged

Add review field to ContributionsGraph data structure#231
hashin2425 merged 6 commits intomainfrom
claude/add-review-to-contributions-graph

Conversation

@Claude
Copy link
Contributor

@Claude Claude AI commented Mar 10, 2026

Adds a review field to track code review contributions in the ContributionsGraph component. All existing data entries are initialized with review: 0 to prepare for future data population.

Changes

  • Type definitions: Added review: number to StatDataType and inline StatData type
  • Data entries: Added review: 0 to all 72 monthly entries across years 2021-2026
  • Data transformations: Updated monthlyData and yearlyData to include reviews field in aggregations
  • Visualization: Added yellow Bar component (#fbbf24) for reviews in stacked chart

Example data structure:

1: { commitCount: 221, prCount: 9, issueCount: 4, review: 0 }

The review data now appears alongside commits, pull requests, and issues in both monthly and annual graph views.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • fonts.googleapis.com
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/hashin2425.github.io/hashin2425.github.io/node_modules/.bin/next build git conf�� --local credential.helper k/_temp/ghcca-node/node/bin/git (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>ContributionグラフにReviewも含める</issue_title>
<issue_description>グラフのデータにreviewを追加する。初期値は0にしておく。後から実データを入力する。

const StatData: { [year: number]: { [month: number]: { commitCount: number; prCount: number; issueCount: number } } } = {

変更後イメージはこれ

 1: { commitCount: 221, prCount: 9, issueCount: 4 , review: 0}, 

1: { commitCount: 221, prCount: 9, issueCount: 4 },

他にも変更が必要な箇所があれば修正する。</issue_description>

Comments on the Issue (you are @claude[agent] in this section)

@hashin2425 hashin2425 marked this pull request as ready for review March 10, 2026 06:55
Co-authored-by: hashin2425 <41288293+hashin2425@users.noreply.github.com>
@Claude Claude AI changed the title [WIP] Add review data to contributions graph Add review field to ContributionsGraph data structure Mar 10, 2026
Copy link
Owner

@hashin2425 hashin2425 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

@hashin2425 hashin2425 merged commit cf3bde1 into main Mar 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ContributionグラフにReviewも含める

2 participants