Closed rgarcia closed 4 months ago
Reverted Next.js 15 beta upgrade and switched from @nivo/line to shadcn charts using recharts.
@nivo/line
shadcn
recharts
Key points:
package.json
LineChart
packages/webapp/components/charts/LineChart.tsx
packages/webapp/app/(detail)/dashboard/clusters/[name]/data.ts
packages/webapp/app/(detail)/dashboard/clusters/[name]/Content.tsx
packages/webapp/app/globals.css
packages/webapp/components/charts/Line.tsx
packages/webapp/lib/charts/time.ts
packages/webapp/lib/charts/prom.ts
packages/webapp/sentry.server.config.ts
Generated with :heart: by ellipsis.dev
Summary:
Reverted Next.js 15 beta upgrade and switched from
@nivo/line
toshadcn
charts usingrecharts
.Key points:
package.json
.@nivo/line
and related packages frompackage.json
.recharts
package inpackage.json
.LineChart
component inpackages/webapp/components/charts/LineChart.tsx
.packages/webapp/app/(detail)/dashboard/clusters/[name]/data.ts
.packages/webapp/app/(detail)/dashboard/clusters/[name]/Content.tsx
.packages/webapp/app/globals.css
to include new chart colors.LineChart
component inpackages/webapp/components/charts/Line.tsx
.packages/webapp/lib/charts/time.ts
andpackages/webapp/lib/charts/prom.ts
.packages/webapp/sentry.server.config.ts
to enable it only in production.Generated with :heart: by ellipsis.dev