SingularSound / openbbm

BeatBuddy Manager
https://singularsound.com/product/beatbuddy/
34 stars 9 forks source link

Search within BeatBuddy Manager (BBM) Project Explorer #90

Open p3rsist opened 4 years ago

p3rsist commented 4 years ago

I'm proposing an enhancement so that users can search all folders within the open BBM Project Explorer (song) folders as well as the drum sets.

Example 1: I have dozens of folders, each holding 99 songs that I've either created or imported. Rather than scrolling through each folder for a song title, I'd like to be able to use CMD-F and CMD-G to find or find again for a song title. The process would be to search all of the folders within a project open within the BBM and return a result by opening the folder and highlighting the song. To extend or enhance this process just a little more, it would be great to type the first few letters of the song title within a song folder open in the BBM and the song is then highlighted.

Example 2: I have dozens of drum sets in a BBM project and I want to be able to quickly search for and locate a drum set. Find a drum set within the Project Explorer Drum Sets tab would make it easier than scrolling. Likewise, the ability to just type the first few letters of a drum set's name and have all instances be selected would be ideal.

It would be great if both of these approaches could be made context sensitive so that a menu and sub-menu would not be needed.

brennansingular commented 4 years ago

Always good to tag here on GH, easy to lose things otherwise!

lbriais commented 3 years ago

Hello @p3rsist and @brennansingular ,

I didn't see your request and actually started implementing something because I felt the need for myself. Like you, I have a lot of songs, and felt the need to filter them.

I have something working, although incomplete and kind of buggy. But I think I gives the idea (and already helps me as-is)

I have added a menu entry in the songs menu (filter songs with Ctrl-F as keyboard shortcut) which is accessible as well as a right-click menu entry from the project explorer and which opens up a filter dialog box.

image

And when, I type something in this dialog box, it filters the project explorer songs list.

image

If you remove the filter criterion, then you are back to original state. Not really polished and that's why I didn't issue a PR yet. There are still a number of problems to fix with my approach:

image

I am no C++ developer so not really working actively on this. I did the minimum for me as it made sense for my own purpose, and then realized (as I am using it all the time) that everyone may be interested in this too...

Let me know what you think about it

lbriais commented 3 years ago

Forgot to mention... my branch is there. It builds ... but with the aforementioned bugs and missing features.

lbriais commented 3 years ago

Of course same approach could be used for drumsets

GoranRista commented 3 years ago

Good on you, @lbriais ! This is something that I've had in mind in my design mockups for a while, but it has never gotten further than the idea :) This will be super useful to a lot of people. Thank you!