refactor: Replace any types in analytics page with proper interfaces #30
Labels
No labels
backend
bug
completed
documentation
duplicate
enhancement
feature
frontend
good first issue
help wanted
in-progress
invalid
performance
phase-1
Phase1
Phase2
Phase3
planning
question
refactor
security
test
testing
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Kalle/ATM#30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The analytics page (
src/app/[locale]/analytics/page.tsx) usesanytype for the summary state:And potentially other
anytypes in analytics-related components.Solution
anytypesAcceptance Criteria
anytypes in analytics page and componentsnpx tsc --noEmitpassesFixed in commit
71119d5. Replaced allanytypes in analytics page and AnalyticsCharts component with proper TypeScript interfaces (AnalyticsSummary,LessonStats, typed tooltip/label props).npx tsc --noEmitpasses. CI green.