Skip to content

Implemented Search According to Issue/Feature Requests#459

Merged
Andrews54757 merged 7 commits intoAndrews54757:mainfrom
Mesoon5642:main
Dec 19, 2025
Merged

Implemented Search According to Issue/Feature Requests#459
Andrews54757 merged 7 commits intoAndrews54757:mainfrom
Mesoon5642:main

Conversation

@Mesoon5642
Copy link
Copy Markdown
Contributor

NOTE: THERE ARE SOME CHANGES PERTAINING TO 1.3.71 THAT NEED TO BE RETAINED DUE TO ME DEVELOPING ON 1.3.70!

Dependencies Added: Fuse.JS (build time; minified JS in ./chrome/external), c8, AVA, codehawk-cli (static, npm packages only)

Hi Andrew! I just finished up my work building out the search feature on FastStream that I discussed a bit ago!

Notably, I merged hotkey/general options search into one search bar to reduce UI clutter, but I'd be happy to change UI specifics if needed!

Also, you'll see some additional libraries used for testing/QA purposes, and I'd be happy to make a branch/PR without them if that's more convenient for you. I used these specifically for the requirements within my report, but if they don't work well with the rest of your project, you won't hurt my feelings if you don't want them there!

Finally, if this implementation isn't up to your standards, or isn't a priority to integrate right now, no worries! It's not a grading criterion on my report to actually have the code merged into the existing codebase. Only merge my code if YOU think it works well for FastStream.

Thank you again for the wonderful opportunity to contribute to your project, and I hope that things go well for FastStream's future!

@Andrews54757
Copy link
Copy Markdown
Owner

Andrews54757 commented Dec 11, 2025

Thanks for the PR! I've made the following changes:

  • Updated code from 1.3.71
  • Moved fuse.js from external to the modules directory, and swapped with unminified version (for now).
  • Removed test code, as it adds an extra build dependency.

Other modifications that I plan to do before merging:

  • Rework placement of the search bar to make it take less space and be more visually appealing.
  • Auto-hide (or reduce size) of section headers which have no items when searching
  • Display results count, eg "3 out of 5 matched" in each header to clearly indicate it is being filtered from search (people might search something and forget they did and be confused why not all the options are showing up)

If you want to do these, let me know! I will work on the rest in a week or so.

@Mesoon5642
Copy link
Copy Markdown
Contributor Author

I'm wrapping up University finals at the moment and then traveling shortly after, so the absolute soonest I'd be able to work on it is this weekend. I'll let you know how my timetable looks come then, hopefully I'll be able to take a crack at it!

@Andrews54757
Copy link
Copy Markdown
Owner

Enjoy the holidays! You don't have to do it if you don't want to, I can do it while also doing other refactoring work. It won't be much of a hassle for me.

@Andrews54757 Andrews54757 merged commit d5db85c into Andrews54757:main Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants