dhairyagothi / StationGuide

Station Guide - your platform guide
https://stationguide.onrender.com/
MIT License
39 stars 102 forks source link

Incrementing Counter for the project statistics section in the Contributors Page !!! #285

Open SrijaVuppala295 opened 1 week ago

SrijaVuppala295 commented 1 week ago

✨ Feature Request

Description of the Feature

I would like to implement a feature where the number counts from 0 to a specified maximum value, pauses for 5 seconds once the maximum is reached, and then starts counting again in a continuous loop. This feature can be used for displaying live statistics or dynamic numerical data.

Problem Statement

Currently, the counting feature does not loop back after reaching the maximum value, and there's no pause between loops. This limits the ability to display dynamic numbers that reset and continuously update, which could be beneficial for real-time data presentations, live stats, or animated counters.

Proposed Solution

The counter should start at 0, incrementally increase until it reaches the maximum value, then pause for 5 seconds before restarting from 0. The process should loop infinitely. JavaScript's setInterval can be used to increment the count, and setTimeout to manage the pause before restarting the loop.

Here the numbers are just shown

image

I want to loop continuously the value from 0 to max value !!!

Example:

https://github.com/user-attachments/assets/06c280ce-a1c8-4d99-971b-a4d75db7e4e5

Alternatives Considered

Additional Context

This feature could enhance user interaction by making dynamic content more engaging, especially in dashboards, statistics pages, or progress indicators.

Are you participating in GSSoC?

github-actions[bot] commented 1 week ago

Thank you for raising this issue! We'll look into it as soon as possible. Please ensure that the issue is not duplicate, and you read [CONTRIBUTING.md]() carefully. Your contributions are highly appreciated! 😊

SrijaVuppala295 commented 1 week ago

@dhairyagothi , I want to this feature in the project statistics , assign me for this