Hello,
how useful is the search on the dashboard page?
It looks like our plugin API does not allow to use filtering (search), so no plugins providing widgets can use that and they currently show irrelevant data when search is used. I think the search bar is one of the features which come from the past - when Foreman was just a puppet inventory software. It made sense back than, dashboard was just all puppet. Dashbaord is now used by many other features and the searching does not work for any of these widgets.
Another problem is that the search box only works for hosts, while hosts are at the center of everything Foreman do, it’s not relevant for some widgets (e.g. discovered hosts are not regular hosts, searching will not work for them).
Finally, if you have many widgets on dashboard, it is pretty database heavy. I’ve proposed to implement Rails caching in the past but one of the reasons why this was not merged was the search.
I propose to remove search box from dashboard. That does not mean that widgets must not offer any kind of interactivity - there can be active elements that would further limit search scope or even a search query for those widgets which are relevant. They would need to be implemented per-widget.