pimcore / studio-ui-bundle

Studio UI bundle
Other
14 stars 5 forks source link

[Workflows] Workflow place label styling logic #345

Closed markus-moser closed 3 months ago

markus-moser commented 3 months ago

The workflow place configuration tree offers 2 styling/color related configuration option regarding workflow place labels:

@studio-backend-team: Please adjust the workflow detail API that it directly outputs those 2 options instead of the current options backgroundColor, fontColor and borderColor. Those values are calculated out of the original 2 configuration options by the workflow engine for the classic bundle UI. As we have a little bit different styling approach in the studio UI those values do not help anymore and we need the original config values to build or new login based on them in the UI.

@Corepex As soon as the backend team updated the API we should implement the logic for the place labels like discribed by @idaiv in this comment https://github.com/pimcore/studio-ui-bundle/pull/338#issuecomment-2165173791 based on the color and colorInverted options.

image

lukmzig commented 3 months ago

@markus-moser backend part was adapted in this PR: https://github.com/pimcore/studio-backend-bundle/pull/140