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

add export SVG options #94

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

glatuske
Copy link
Contributor

@glatuske glatuske commented Jul 9, 2024

Make export SVG options available in Java backend

@glatuske
Copy link
Contributor Author

glatuske commented Jul 9, 2024

@sailingKieler @spoenemann Please check

Copy link
Contributor

@spoenemann spoenemann left a comment

Choose a reason for hiding this comment

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

Thanks! Have you tried whether the Map<String, String> is compatible with the definition in the client?

https://github.com/eclipse-sprotty/sprotty/blob/9aa208323508196de51822b07d42b40c8b960397/packages/sprotty/src/features/export/export.ts#L42-L44

skipCopyStyles is a boolean, so it could be problematic because there's no conversion step of the received json action.

RequestModelAction has the same problem, but it could be that we never encountered it in practice because we used only string values.

Copy link
Contributor

@spoenemann spoenemann left a comment

Choose a reason for hiding this comment

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

👍

@spoenemann spoenemann merged commit 0ab2731 into eclipse-sprotty:master Jul 10, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants