Skip to content

[FEAT] Add label URL param to customize the card title text above the isometric grid #5725

Description

@vbarik317-droid

Is your feature request related to a problem? Please describe.

Is your feature request related to a problem?
The card title is hardcoded (e.g. "CommitPulse" or the username). Users who embed the card in org READMEs or team pages want to set a custom label like "Team Streak" or "Q2 Contributions".

Describe the solution you'd like
Add a label URL param that replaces the default card title text.

Describe the solution you'd like

Proposed Solution

  • Accept label as a string param (e.g. ?label=Team+Streak)
  • Render it as the card's title text element in the SVG
  • Max length: 40 characters — truncate with ellipsis if exceeded
  • Sanitize the value to prevent SVG injection (escape <, >, &, ")
  • Default: current title behavior when label is omitted

Example usage

Describe alternatives you've considered

Checklist

  • label param accepted and sanitized
  • Renders as SVG title text
  • Truncated at 40 chars with ellipsis
  • Default title preserved when omitted
  • No SVG injection possible

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions