You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have the possibility to always include a button for a certain result type (e.g. ModuleSearchResult) but to disable it (i.e. show it greyed-out) according to the fulfillment of some additional requirements (e.g. if a specific module doesn't support a given input type).
IMHO, indicating that a certain action is available in principle, but not for the currently highlighted item, would allow for a more consistent user experience.
The text was updated successfully, but these errors were encountered:
Currently, the
SearchActionFactory#supports
method is used to decide if aSearchAction
is to be included in a result's actions:scijava-search/src/main/java/org/scijava/search/SearchService.java
Lines 61 to 70 in 6105bdd
... and a button is added for each supported action:
scijava-search/src/main/java/org/scijava/ui/swing/search/SwingSearchBar.java
Lines 514 to 534 in 6105bdd
It would be nice to have the possibility to always include a button for a certain result type (e.g.
ModuleSearchResult
) but to disable it (i.e. show it greyed-out) according to the fulfillment of some additional requirements (e.g. if a specific module doesn't support a given input type).IMHO, indicating that a certain action is available in principle, but not for the currently highlighted item, would allow for a more consistent user experience.
The text was updated successfully, but these errors were encountered: