__Describe the Bug__
Plugins, which add custom tabs or groups to the properties panel is no longer possible.
The getTabs method of plugins is no longer called in version 4.3.
I created an example repo for a plugin, the getTabs method of which is called in version 4.1.1, but not in 4.3.
I have not tested if it works in 4.2.
__Steps to Reproduce__
__Expected Behavior__
The console.log should also be visible in the latest version of the modeler.
__Environment__
Depends on https://github.com/camunda/camunda-modeler/issues/2133
We changed the interface of the CamundaPropertiesProvider, cf. https://github.com/bpmn-io/bpmn-js-properties-panel/blob/master/CHANGELOG.md#breaking-changes-1
Make sure you adjust it when you extend it: https://github.com/hrzwkstim01/camunda-modeler-4.3-property-panel-test/blob/main/client/bpmn-js-extension/ExampleExtensionService.js#L3
We did similar here in the Modeler itself: https://github.com/camunda/camunda-modeler/commit/538682ab07faa3d50d691b3dd74b64d973bae551
That should do the trick. Feel free to re-open if that's not the case.
@pinussilvestrus
Thanks for you answer.
I already recognized that the interface changed, so I used the same constructor which is used by the modeler.
Take a look at https://github.com/hrzwkstim01/camunda-modeler-4.3-property-panel-test/blob/main/client/bpmn-js-extension/ExampleExtensionService.js
Still it does not seem to work
Seems to be also an issue with other existing plugins, e.g. https://github.com/camunda/camunda-modeler-process-io-specification-plugin
Thanks for reporting anyway!
This seems to be a problem with multiple properties provider: https://github.com/camunda/camunda-modeler/blob/develop/client/src/plugins/element-templates-modal/modeler/index.js#L20
We will have a look.
@pinussilvestrus @nikku
Some updates on this topic?
We will restore the ability to customize properties panels in the future. We cannot give you a concrete estimate yet.
Could you elaborate _how_ you use the extension? Do you experiment with the API? Do you have an extension deployed, i.e. in production right now?
Currently, we are developing a custom property panel for our needs.
We plan to get productive this month and to extend more tabs/groups in future.
As this extension is not supported any more, we are currently working with version 4.1.1, which prevents us to stay up-to-date with you guys and getting required features, for instance auto complete for expressions.
Additionally, working with an old version of the modeler, will lead to an extensive effort of integration once this feature gets live again.
We faced the same issue, using v4.1.1 at the moment but it may reqire more work in future, is there a progress on the issue? Kind regards.
@iskn90 Could you elaborate on your setup and usage of the API, too? It helps us to better understand the impact of this issue for you.
Hi @hrzwkstim01,
we pushed a fix recently (https://github.com/camunda/camunda-modeler/pull/2145) to make it possible to create multiple properties providers. That should make all those plugins working again with the next nightly + release.
However, from now on we suggest using the new propertiesPanel.registerProvider API instead of simply overriding the propertiesProvider module. You can see this example for some guidance.
Feel free to reach-out if you have further questions 馃憤
Most helpful comment
Hi @hrzwkstim01,
we pushed a fix recently (https://github.com/camunda/camunda-modeler/pull/2145) to make it possible to create multiple properties providers. That should make all those plugins working again with the next nightly + release.
However, from now on we suggest using the new
propertiesPanel.registerProviderAPI instead of simply overriding thepropertiesProvidermodule. You can see this example for some guidance.Feel free to reach-out if you have further questions 馃憤