Skip to content

Add prefixes/filters #26

@SuzanneSoy

Description

@SuzanneSoy

Add a (hopefully flexible) mechanism for results providers to offer a prefix to narrow down results to only their results, e.g. #SomeObjectName, !SomeToolName, ?SomePreferenceName or verbose ones Object:SomeObjectName, Tool:SomeToolName, Preference:SomePreferenceName.

If flexible enough, add a mechanism for results providers to offer additional filters/narrowing options, e.g. search only children of the currently-selected object with Child:, search only objects of the current document with Opened:, search only boolean parameters with bool:

A first version could just leave the text as-is in the search bar, an improved version would replace it with a widget which takes the place of a character (probably will need to fake it by positioning the object relative to the search box, and adding enough padding to the left, or even replacing the search icon to e.g. a small cube icon & placeholder text to e.g. "Search objects…", and handling the backspace key gracefully to revert the filter).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions