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

Fix outlines #2134

Merged
merged 2 commits into from
Apr 10, 2024
Merged

Fix outlines #2134

merged 2 commits into from
Apr 10, 2024

Conversation

philippfromme
Copy link
Contributor

@philippfromme philippfromme commented Apr 10, 2024

Custom outlines were only included in modeler.

Closes #2133

Copy link
Member

@nikku nikku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testing this change I can see that the connection outline no longer shows for connections:

capture HB0qvZ_optimized

This may be a fallout of our "improving selection outline for connections" end of last year, cf. modeler showing only the bendpoints for connections (which does not work in the viewer case):

capture iE7JBj_optimized


To be considered:

  • Why do we show selection (outline) in the first place? I'd expect the viewer to not ship with visual selection. I'm fine with "hidden selection", i.e. a selectable state that can be reacted to by integrations.

@bpmn-io-tasks bpmn-io-tasks bot added in progress Currently worked on and removed needs review Review pending labels Apr 10, 2024
@nikku
Copy link
Member

nikku commented Apr 10, 2024

I tested this change without the diagram styles, the recommended way to embed the viewer. It works with and without the outline module, however I found #2135. Again this sparks the question how much we gain from having selection UI in the viewer.

@nikku nikku self-requested a review April 10, 2024 09:57
@bpmn-io-tasks bpmn-io-tasks bot added needs review Review pending and removed in progress Currently worked on labels Apr 10, 2024
Copy link
Member

@nikku nikku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works fine in recommended viewer distribution => #2134 (comment).

@barmac
Copy link
Member

barmac commented Apr 10, 2024

Let's target this at main and release it as a patch.

@philippfromme philippfromme changed the base branch from develop to main April 10, 2024 11:47
@philippfromme philippfromme merged commit 137b847 into main Apr 10, 2024
14 checks passed
@philippfromme philippfromme deleted the fix-outlines branch April 10, 2024 13:39
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Navigated viewer uses outdated outlines
3 participants