Skip to content
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

feat: licensed users chart #8844

Merged
merged 3 commits into from
Nov 25, 2024
Merged

feat: licensed users chart #8844

merged 3 commits into from
Nov 25, 2024

Conversation

sjaanus
Copy link
Contributor

@sjaanus sjaanus commented Nov 25, 2024

Currently showing 2 lines, because backend is not sorting the data.

image

Copy link

vercel bot commented Nov 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 25, 2024 6:56am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Nov 25, 2024 6:56am

Copy link
Contributor

github-actions bot commented Nov 25, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

),
...overrideOptions,
}),
() =>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Replaced spreading with deepmerge. That allows me to pinpoint override properties deep in object tree .


export const createOptions = (
theme: Theme,
locationSettings: ILocationSettings,
setTooltip: React.Dispatch<React.SetStateAction<TooltipState | null>>,
isPlaceholder?: boolean,
) =>
): ChartOptions<'line'> =>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixing type

@@ -27,10 +28,6 @@ export const createOptions = (
tooltip: {
enabled: false,
position: 'nearest',
interaction: {
Copy link
Contributor Author

@sjaanus sjaanus Nov 25, 2024

Choose a reason for hiding this comment

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

Does not exist for line chart

@@ -46,8 +43,6 @@ export const createOptions = (
hitRadius: 15,
},
},
// cubicInterpolationMode: 'monotone',
tension: 0.1,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Does not exist for line chart

@sjaanus sjaanus merged commit 9a269e3 into main Nov 25, 2024
10 of 11 checks passed
@sjaanus sjaanus deleted the chart-lic branch November 25, 2024 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants