daily-code icon indicating copy to clipboard operation
daily-code copied to clipboard

feat : Added the Leetcode like heatmap feature for user's submissions

Open amanbairagi30 opened this issue 1 year ago • 3 comments

Closes #410

Problem Statement

Currently, in the daily-code project, users can submit their code solutions similar to the LeetCode platform, and they can view their accepted submissions in their profiles. However, there is a lack of functionality for users to effectively track their accountability and progress over time. This limitation diminishes the user experience and prevents users from setting and achieving goals related to their daily coding practice and along with that if I am not wrong , Harkirart has also mentioned in one of his recent video that he is supposed to build leetcode like features end-to-end.

Solution :

To solve this issue , I have implemented a heatmap feature inspired by platform like LeetCode. This feature provides users with a visual representation of their coding activity over time, allowing them to track their progress, identify patterns, and stay motivated in their coding journey. In this version of Heatmap , Users can not only see the entire year once but also can individually see each month according to them .

Below is how the changes looks like : image

On hovering date box

image

In action :

https://github.com/code100x/daily-code/assets/118182376/c117e043-a375-4669-aac8-1734fda2f4be

Checklist before requesting a review

  • [x] I have performed a self-review of my code
  • [x] I assure there is no similar/duplicate pull request regarding same issue

amanbairagi30 avatar May 11 '24 10:05 amanbairagi30

Hello @hkirat , Please review this PR

amanbairagi30 avatar May 11 '24 10:05 amanbairagi30

yes sir great one Will do a review stream today mostly

hkirat avatar May 11 '24 11:05 hkirat

yes sir great one Will do a review stream today mostly

Okay sir , sounds good 👍

amanbairagi30 avatar May 11 '24 11:05 amanbairagi30

This is outdated for this repo we are not thinking of doing this here Check the algo-arena repo and add a pr there

devsargam avatar Aug 09 '24 11:08 devsargam

This is outdated for this repo we are not thinking of doing this here Check the algo-arena repo and add a pr there

Okay sure

amanbairagi30 avatar Aug 09 '24 11:08 amanbairagi30