Skip to content

Conversation

@FBanfi
Copy link
Collaborator

@FBanfi FBanfi commented Jan 20, 2026

Purpose

This updated was introduced to address this comment from the base UI chart structure PR.

Approach

Refactored the trends data processor file to simplify the code and avoid duplicated logic. Fixed an error the line generation, now we use the content types id as keys for the Y axis in the chart, if not presents we use the "New content" or "Creator" predefined properties.

Testing steps

Added a new test suit to check the behavior of this file.

Breaking Changes

N/A

Dependencies and/or References

N/A

Deployment

N/A

@FBanfi FBanfi requested a review from a team as a code owner January 20, 2026 17:01
Base automatically changed from content-production-dashboard-124 to content-production-dashboard January 20, 2026 17:06
…ashboard-124-refactor

# Conflicts:
#	apps/content-production-dashboard/src/components/ChartWrapper.tsx
#	apps/content-production-dashboard/src/components/ContentTrendsTabs.tsx
#	apps/content-production-dashboard/src/utils/trendsDataProcessor.ts
#	apps/content-production-dashboard/src/utils/types.ts
#	apps/content-production-dashboard/test/components/ChartWrapper.spec.tsx
#	apps/content-production-dashboard/test/components/ContentTrendsTabs.spec.tsx
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