Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export individual properties and entries #720

Open
pinussilvestrus opened this issue Jul 7, 2022 · 1 comment
Open

Export individual properties and entries #720

pinussilvestrus opened this issue Jul 7, 2022 · 1 comment
Labels
backlog Queued in backlog enhancement New feature or request

Comments

@pinussilvestrus
Copy link
Contributor

pinussilvestrus commented Jul 7, 2022

Is your feature request related to a problem? Please describe

In the 0.x series of the properties panel, it was possible to re-use existing, individual properties and compose them in a custom properties provider.

import ConditionalProps from "bpmn-js-properties-panel/lib/provider/camunda/parts/ConditionalProps.js";

This is not possible anymore as we restrict the exports of the library to the properties provider and the hooks (cf. index.js).

Re-using single property definitions without using the existing properties provider might be a use case we did not focus on while making the migration to the new framework. This is baked by this recent forum thread.

Describe the solution you'd like

Make it easier to re-use single properties, e.g. by exporting them.

Describe alternatives you've considered

Do nothing as this is not something we want because the properties only make sense in the respective properties provider.

I'd argue against that as the properties definitions are built to also work independently.

Additional context

Cf. this forum post

@pinussilvestrus pinussilvestrus added the enhancement New feature or request label Jul 7, 2022
@pinussilvestrus
Copy link
Contributor Author

Current workaround - copy and paste the individual entries: https://codesandbox.io/s/properties-panel-custom-conditional-props-qolu1x

@pinussilvestrus pinussilvestrus added needs discussion Needs further discussion backlog Queued in backlog and removed needs discussion Needs further discussion labels Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Queued in backlog enhancement New feature or request
Development

No branches or pull requests

1 participant