Review main Merged

76405[TASK] Allow multiple actions and custom invoke handlers for search results

Andreas Kienast CR +2 V +2 Expert +878 −269 updated 11/28/22, 14:06

Commit message

Search results now may have multiple actions to trigger, depending on
their context. For pages it'd make sense to either open them in the
backend or the frontend. Those actions are rendered next to the focussed
search result.

Invoke handlers may now get registered for custom search result items
that allow to modify the behavior when selecting a result item, e.g.
calculating and opening a different URL based on data that is not
available via PHP.

As a base example, the `PageRecordProvider` brings a custom invoke
handler for an action to open a page in a new browser tab.

This feature is purposely not documented as such as behavior or API may
change in further iterations.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 33

Show 13 more files