Comments (6)
Please link to the resources you're quoting and add screenshots that make your case. It is otherwise hard to follow your line of thought.
Even better, create a small screencast that records a broken interaction.
from camunda-modeler-plugins.
Thanks for providing additional details.
From what I can see this is an issue with the fact that the Camunda Modeler drops the textFormat
attribute, while it
a) Should ignore the documentation, unknown to her entirely or
b) keep the textFormat
attribute
I've opened camunda/camunda-modeler#1682 to track this as a bug. Please cross read it to see if it captures your issue.
Closing this issue, as it is really a modeler bug that needs to be fixed.
from camunda-modeler-plugins.
Sorry, I missed, that the issue isn't placed at the folder I opened it, but it placed at the project root...
I named the plugin already, here is the link
https://github.com/camunda/camunda-modeler-plugins/tree/master/bpmn-js-plugin-embedded-comments
I add some screenshots, because a screencast is a bit difficult here. Also I builded a little dummy process. The scenarios I will divide...
from camunda-modeler-plugins.
scenario 1, first comments
adding some comments...
XML (btw: modeler 3.6.0 and plugin embedded comments master from last week -> saving comments is only possilbe when modifying the model... ah, sorry, I forgot: no btw ;) )
<bpmn:serviceTask id="Task_1laa02j" name="überprüfe Daten"> <bpmn:documentation textFormat="text/x-comments">:Dies ist ein Kommentar; ;:Es gehen auch mehrere Kommentare...; ;:noch eine Zeile; ;:noch eine Zeile mehr</bpmn:documentation> <bpmn:incoming>SequenceFlow_0av8imw</bpmn:incoming> <bpmn:outgoing>SequenceFlow_0p2xcqe</bpmn:outgoing> </bpmn:serviceTask>
OK.
Now adding some description (where to add else?)
XML (now the comments are destroyed and used as description):
<bpmn:serviceTask id="Task_1laa02j" name="überprüfe Daten"> <bpmn:documentation>:Dies ist ein Kommentar; ;:Es gehen auch mehrere Kommentare...; ;:noch eine Zeile; ;:noch eine Zeile mehr Meine eigene Dokumentation</bpmn:documentation>
The comments are still cached and shown as comments, until the next reload. Then they are gone...
from camunda-modeler-plugins.
scenario 2, first documentation
adding some documentation
XML (again, comment changes are only saved after editing something others in the bpmn)
<bpmn:serviceTask id="Task_1laa02j" name="überprüfe Daten"> <bpmn:documentation>Meine eigene Dokumentation</bpmn:documentation> <bpmn:documentation textFormat="text/x-comments">:Ein Kommentar; ;:gern auch mehrzeilig</bpmn:documentation> <bpmn:incoming>SequenceFlow_0av8imw</bpmn:incoming> <bpmn:outgoing>SequenceFlow_0p2xcqe</bpmn:outgoing> </bpmn:serviceTask>
Looks great, comments and documentation properly separated 👍
But now I delete the documentation!
XML
<bpmn:serviceTask id="Task_1laa02j" name="überprüfe Daten"> <bpmn:incoming>SequenceFlow_0av8imw</bpmn:incoming> <bpmn:outgoing>SequenceFlow_0p2xcqe</bpmn:outgoing> </bpmn:serviceTask>
Where are the comments gone? Why are all documentation elements removed from the task?
from camunda-modeler-plugins.
I hope it's now more clear what the strange behaviors are.
Both ways run in into other mistakes, both are a combination of unwanted cross-editing from Camunda Modeler an embedded-comments-plugin. I think, the plugin itself can't fix this problem without some changes in the Modeler. The Modeler should respect special documentation elements. Maybe a fix in the Modeler only will fix all these problems. Only show simple documentation entries and ignore special documentation elements as well as leaving them untouched. It's a bit like scenario 2, but without deleting all documentation elements when removing the simple documentation :)
Regards,
Frank
from camunda-modeler-plugins.
Related Issues (20)
- Modeler inline comment plugin does not store the comments HOT 6
- Change wording for Modeler plugins based on bpmn-js extensions HOT 3
- Dracula plugin sets the color of labels HOT 1
- Camunda Modeler Plugin to show Transaction Boundaries is "not a registered action" HOT 1
- Images not found in Plugin HOT 10
- Add custom translation plugin for i18n of the Camunda Modeler HOT 6
- style-plugin - documentation HOT 1
- TX Plugin: TX boundaries are displayed on Event-based Gateways
- some objects are not supported HOT 5
- Add example plugin for extending dmn-js
- Fix compatibility with Modeler v4.6 HOT 3
- Migrate plugins in this repo to Modeler 5.x
- Ensure plugin information is clear once they become available for cloud
- Please add an example to integrate a custom properties provider HOT 3
- Define structured way to host plug-in meta-data HOT 7
- Properties Panel and Moddle not working HOT 2
- Custom React component does not render
- Custom React Component CSS issues when inside Camunda Modeler
- Build a plugin example to showcase communication between different modules
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from camunda-modeler-plugins.