-
Notifications
You must be signed in to change notification settings - Fork 0
[Fix] Replace credits field with captions #129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Release 2 RC 1
Release 2 RC 2 (1.1.0)
Release 2 RC 3
Release 1.1.2 RC1
Release 1.1.3 RC 1
Release 1.1.4 RC1
Release 1.2.0 RC 1
Release 10 RC 1
Release v.1.2.2
Release v1.2.4 RC 1
Release v1.3.0 RC1
Release v1.3.2 RC 1
Release v1.4.0 RC1
There was a problem hiding this 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 replaces the Highcharts credits field with captions to provide more flexible and responsive chart attribution. The change applies a more standard approach to displaying source information and last updated timestamps.
Key Changes:
- Replaced
creditsconfiguration withcaptionfield throughout the codebase - Simplified chart options logic by removing complex conditional
creditspositioning - Updated accessibility configuration to include caption translations
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/core/highcharts/themes.ts | Added caption accessibility translation and changed credits config to caption |
| src/core/chartOptions/chartOptions.ts | Replaced credits field with caption, removed complex positioning logic |
| src/core/conversion/pxGrafDataConverter.test.ts | Updated test assertions from credits.text to caption.text |
| src/stories/chartstories/linechart.stories.tsx | Added new story variant demonstrating caption with last updated information |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|



More flexible and repsonsive