I imagine getting a text control up there in the menu bar will look quite cramped. It’s not used in the GUI of any Haiku software so it will look alien.
I appreciate that doing it with a text control instead of like Tracker’s type-ahead filter would make the feature easier to discover. But, other than with Tracker windows, we do have quite a lot of empty gray space below the calender view. So maybe go with a regular BTextControl “Search terms:” there after all.
Anyway, how the search terms are gathered is a detail that can be tried out once the actual filtering feature is implemened.
I wouldn’t add “profiles” as additional filter option. We’ll just filter the currently set up view, e.g. the month and the currently selected profile(s). With the profiles as a checkmarkable menu in the menu bar, similar to the “View” menu.
The search term filter looks through event names, places, descriptions and categories.
The filtered event list would look exactly like the unfiltered list, just with only the matching events, ofc. Having a more prominent search term text control will make it obvious that we looking at a filtered list of events. We could also add some symbol to the tab label above, like “⬙ Month ⬙”, unfortunatley, among the thousands of weird symbols, there’s no funnel-symbol common for filters…
Or do additional tinting of the list background, though that’s not easy with the already existing tints for hidden and deleted events and keeping in mind people using custom or dark themes.