Review main Merged

77796[BUGFIX] Live Search: Rework registration of renderers and invoke handlers

Andreas Kienast CR +2 V +2 Normal +114 −54 updated 02/10/23, 14:58

Commit message

This patch introduces a new global `LiveSearchConfigurator` module that
can be used anywhere in the TYPO3 backend to load configuration of the
Live Search.

The methods `LiveSearch.addRenderer()` and
`LiveSearch.addInvokeHandler()` were removed. Instead,
`LiveSearchConfigurator` should be used. Web components where thinned
out to not rely on getting such configuration handed in anymore.

However, there's a small API change:
`LiveSearchConfigurator.addRenderer()` now requires a new argument
`module` to be able to load modules on-demand if they were not loaded
already in the current backend scope.

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 12