JollyJolli / HacktoberWall

HacktoberWall is a simple web app where contributors can add their name to a virtual wall by submitting a JSON file. The goal is to offer an easy way for people to participate in Hacktoberfest. Contributors can add their name or help improve the page's design and functionality, creating a growing display of Hacktoberfest participants.
https://hacktoberwall.formen.cc/
10 stars 14 forks source link

Share Your Ideas to Improve the Website! #17

Open JollyJolli opened 2 days ago

JollyJolli commented 2 days ago

This issue is dedicated to brainstorming and sharing new ideas for improving and enhancing the HacktoberWall website. Whether it's new features, design changes, or any other creative thoughts, this is the place to contribute and discuss them with the community!

What to Share

How to Contribute

  1. Comment your idea below with a brief explanation.
  2. If possible, suggest how it could be implemented or what skills would be needed.
  3. Feel free to reply and build on others' ideas to improve them!

Guidelines

Additional Context

We want to foster collaboration and creativity during Hacktoberfest. Any idea, no matter how big or small, could lead to awesome improvements to the website! Let's work together to make HacktoberWall a fantastic project for everyone.

Looking forward to hearing your ideas! 🚀🎉

RudraJy commented 2 days ago

Heyy, exciting idea with this repo! I had a couple of suggestions about the search functionality to improve upon the way contributor names get displayed on the wall:

  1. This is trivial but currently, every time a new character is typed in the search bar, it calls the loadContributors() function which fetches the contributors.json file again and again. Instead, it makes sense to just load the contributors.json file once when the page loads up.

  2. More importantly, every time we type a new character(or remove it), it searches for the current input over all contributor names in a linear manner. This might not be the most effective method when the number of contributor names become significantly large. Instead, we could use a better algo for this. I'm thinking something like a trie (or prefix tree) for handling prefix-based searches. This allows for much faster prefix-based lookups compared to linear search.

Let me know what you think!

JollyJolli commented 2 days ago

I like both ideas, you want to contribute?

RudraJy commented 2 days ago

Sure, could you raise a new issue for this (with the hacktoberfest tag) and assign me that issue?

JollyJolli commented 2 days ago

Yeah ofc