Open JollyJolli opened 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:
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.
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!
I like both ideas, you want to contribute?
Sure, could you raise a new issue for this (with the hacktoberfest tag) and assign me that issue?
Yeah ofc
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
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! 🚀🎉