Skip to content

feat(border_color): add border_color customization option and update examples#242

Merged
Ashutosh00710 merged 1 commit intomainfrom
add-border-color-option
Sep 6, 2025
Merged

feat(border_color): add border_color customization option and update examples#242
Ashutosh00710 merged 1 commit intomainfrom
add-border-color-option

Conversation

@Ashutosh00710
Copy link
Copy Markdown
Owner

@Ashutosh00710 Ashutosh00710 commented Sep 6, 2025

All Submissions

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New Feature Submissions

  1. Does your submission pass tests?
  2. Have you lint your code locally prior to submission?

Changes to Core Features

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your core changes, as applicable?
  • Have you successfully ran tests with your changes locally?

Copilot AI review requested due to automatic review settings September 6, 2025 18:12
@vercel
Copy link
Copy Markdown

vercel bot commented Sep 6, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
github-readme-activity-graph-oyjj Ready Ready Preview Comment Sep 6, 2025 6:12pm

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a new border_color customization option to the GitHub Activity Graph, allowing users to specify a custom border color for their contribution graphs instead of relying solely on the existing hide_border option.

  • Adds border_color query parameter support for custom border color specification
  • Updates the border color logic to prioritize custom color over hide_border setting
  • Adds comprehensive test coverage and documentation for the new feature

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/interfaces/interface.ts Adds border_color property to ParsedQs interface
src/utils.ts Updates border color logic to check for custom border_color before hide_border
src/svgs.ts Fixes trailing comma syntax
src/handlers.ts Fixes trailing comma syntax
src/GraphCards.ts Fixes trailing comma syntax
test/svgs.test.ts Fixes trailing comma syntax
test/mockFunctions.ts Fixes trailing comma syntax
test/fakeInputs.ts Adds test data for border_color feature
README.md Documents the new border_color parameter and updates example

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Ashutosh00710 Ashutosh00710 merged commit 002db1a into main Sep 6, 2025
5 checks 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.

2 participants