Skip to content

Conversation

@yashksaini-coder
Copy link
Owner

Pull Request Template

Summary

This pull request includes several updates to the Dashboard page and other minor changes to dependencies and the sidebar data. The most significant changes involve replacing the CalendarHeatmap component with the ActivityCalendar component and updating the processLeetCodeData function to include a new level attribute.

Dashboard Page Updates:

  • Replaced CalendarHeatmap with ActivityCalendar in app/dashboard/page.tsx. This includes updating the import statements and modifying the component rendering with new properties and tooltips. [1] [2]
  • Enhanced the processLeetCodeData function to calculate a level attribute for each date entry based on the contribution count.

Sidebar Data Updates:

  • Removed the "Journal" entry from the sidebar data in data/SidebarData.ts. [1] [2]

Dependency Updates:

  • Added new dependencies @emotion/react, @emotion/styled, and @mui/material to package.json.
  • Replaced react-calendar-heatmap with react-activity-calendar in package.json.

Fixes #129

Type of Change

Please mark [X] for applicable items:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Screenshots/Videos (optional)

Please attach relevant screenshots or videos demonstrating the changes.

image

@vercel
Copy link

vercel bot commented Mar 15, 2025

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

Name Status Preview Comments Updated (UTC)
leetcode-journal ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 15, 2025 8:12pm

@yashksaini-coder yashksaini-coder self-assigned this Mar 15, 2025
@yashksaini-coder yashksaini-coder merged commit d9c1941 into main Mar 15, 2025
4 checks passed
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.

[BUG] Improve: Activity Heatmap calendar

2 participants