-
Notifications
You must be signed in to change notification settings - Fork 24
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
New FX FEEL toggle is misaligned and colors do not match in Web Modeler BPMN properties panel #249
Comments
@marcellobarile @vpellegrino @bpmn-io/modeling-dev could it be that the web modeler is picking up the correct SVG but the wrong styles from I see that In form-js, it looks correct as @christian-konrad already mentioned ( |
Yeah, that could be the reason as Web Modeler uses |
I think Christian mentioned that this one should have a higher priority as it's already in the Web Modeler. Can you already give a timeline for this? As far as I can see, it'd need a properties-panel version bump in bpmn-js-properties-panel, right? |
Let's bump it everywhere then. I believe we should also remove v1^ from bpmn-js-properties-panel deps. |
OK so if Web Modeler updates to |
@barmac, about |
@vpellegrino @barmac @pinussilvestrus ![]() Please make sure to fix it asap |
I can confirm that this is the current state, with all dependencies updated (tried with camunda-bpmn-js). We'd want to root cause where this discrepancy is coming from; why different styles are applied across form-js (individually styled there?) and other libraries that also build on top of |
I think what happens here is that the Web Modeler includes two versions of the properties panel styles in the BPMN page. One from I think we need to a bit more careful here. Either
Update: I created a follow up issue to consider: bpmn-io/form-js#677 |
@pinussilvestrus I can reproduce this with stock camunda-bpmn-js, no form-js integration insight. Based on that I assume we're not bundling the right styles with @bpmn-io/properties-panel? |
Ah, so you mean inside |
@pinussilvestrus Thanks for confirming; if this is the look we're going to ship, then it is fine. Looking at @christian-konrad's comment (#249 (comment)) and also checking it out myself I thought we maybe did not provide the proper spacing for icons. Here is an alternative version that is slightly more spacious. I find it easier for the eye: |
@nikku thanks 👍 We agreed that the current state is the version we are going to ship next, but we will follow up with some styling updates (cf. https://github.com/camunda/product-hub/issues/918#issuecomment-1577386470). @RomanKostka will create updated mockups and an issue in this project. I'm happy to take it over then after my FTO 🙂 I will open up the review via demo again then as well and make sure all team members can provide their feedback 👍
I agree 👍 /cc @RomanKostka |
Moving this issue to backlog. |
@pinussilvestrus size and colors (states & background ) has been updated to fit into the existing layout. |
@RomanKostka My proposal was to slightly reduce the visual presence of the In real world scenarios this does have quite an impact (noise vs. benefit). Also it allows us to render the background box with sufficient spacing. |
@nikku - Yes, I considered your suggestion with a smaller fx toggle.
👍 |
Please find here the PR with the updated styles: #251 @bpmn-io/modeling-dev is there any fast way to start up a demo of |
For a single demo, I'd suggest to |
I rather meant a ready-to-use demo for @RomanKostka and @christian-konrad as we have for form-js (e.g. https://demo-update-fx-styles--camunda-form-playground.netlify.app/). I guess a code sandbox would be the only way or is there something similar for bpmn-js? |
@pinussilvestrus Should be possible to build something like that. Just a matter of priority at this point. |
Describe the Bug
New FX FEEL toggle (#245) is misaligned and colors do not match in Web Modeler BPMN properties panel.
The fx is not in line with the label and is too close to it.
The active state is almost undiscerneable from the disabled one.
Steps to Reproduce
See form editor properties panel from the above PR:

See Web Modeler:

Expected Behavior
Just as in this picture from the initial PR:
If it is actually a Web Modeler issue, please open a bug report there asap.
Environment
The text was updated successfully, but these errors were encountered: