dev-toolkit icon indicating copy to clipboard operation
dev-toolkit copied to clipboard

[BUG] Available tool count is not updating on banner

Open anshikaverma-av opened this issue 1 year ago β€’ 4 comments

πŸ› Bug Report πŸ“ Description

The tool count displayed on the banner is not updating automatically. Currently, it’s hardcoded and requires manual updates whenever a new tool is added.

πŸ”„ Steps to Reproduce

  1. Add a new tool card (.tool-card) in the tools list.
  2. Refresh the homepage.
  3. Observe the tool count displayed on the banner.
  4. Notice that it still shows the old value instead of the updated count.

βœ… Expected Behavior

The tool count on the banner should update dynamically via JavaScript by counting the number of .tool-card elements, without requiring manual changes.

❌ Actual Behavior

The tool count remains static and does not reflect the actual number of tools available.

πŸ“Έ Screenshots

Image

🌐 Environment

Device: Desktop

OS: Windows 11

Browser: Chrome (latest)

Version: main branch

Tool: Banner Stats (Tools Available count)

πŸ”§ Additional Context

We should implement a small JavaScript snippet that counts .tool-card elements and updates the banner automatically (with or without animation).

🎯 Severity

πŸ”΅ Low (cosmetic issue)

πŸ‘₯ For Contributors

I'd like to work on fixing this bug

This is for Hacktoberfest participation πŸŽƒ

Thank you for helping improve DevToolkit! πŸ› οΈ

anshikaverma-av avatar Oct 02 '25 11:10 anshikaverma-av

Helllo, Please assign it to me.

anshikaverma-av avatar Oct 02 '25 11:10 anshikaverma-av

hey can you assign me on this

RishiByte avatar Oct 02 '25 12:10 RishiByte

@RishiByte Contributors are encouraged to explore the website, report any bugs by creating issues, and submit pull requests with fixes in line with community guidelines

anshikaverma-av avatar Oct 02 '25 12:10 anshikaverma-av

@heysaiyad Please check the pull request.

anshikaverma-av avatar Oct 02 '25 12:10 anshikaverma-av