blish-hud / Community-Module-Pack

MIT License
5 stars 25 forks source link

Make Universal Search more generic and extend it #132

Closed Denrage closed 2 years ago

Denrage commented 2 years ago

This will make the Universal Search Module more generic, so it can support different kinds of searches.

There is now a SearchHandler and a SearchResultItem for every SearchType which handles the differences between the types. The search handler can be selected through a combobox next to the search bar and later on also be selected through writing a prefix before the search term.

Example how it currently looks and works: https://s.denrage.goip.de/3eMCiCYwfww8bjN/direct

After the general idea is approved, the to do list will be worked on.

Things to do:

dlamkins commented 2 years ago

This is looking fantastic!

dlamkins commented 2 years ago

This looks absolutely fantastic. Should be just about ready to merge. I want to just have it get some tests to be sure.

In the meantime, do you mind modifying the manifest file to reflect this as version v0.7.0 of the module?

Denrage commented 2 years ago

Totally forgot two things additional to the manifest that still needs to be taken care off