viadee / camunda-modeler-tooltip-plugin

Add tooltips to various BPMN-elements revealing technical properties.
BSD 3-Clause "New" or "Revised" License
48 stars 10 forks source link

Support for presenting any Input/Output data assigned to a Task?? #14

Closed proth1 closed 1 year ago

proth1 commented 2 years ago

This tooltip plug-in is outstanding. Any chance it could be extended to support Input/Output mappings? I would love to help if considered a good idea. Thank you for your kind consideration.

rnschk commented 2 years ago

Hi @proth1, thank you very much, I'm always happy when some Modeler-users out there use the Tooltip-plugin! 😊

Concerning your Input-/Output-idea: Technically, this shouldn't be a problem. As I started this plugin, I also experimented around with different properties to be included within the tooltips. Finally, I came to the conclusion, that I didn't want to provide redundant information which might be already covered by other plugins, e.g. the Transaction-Boundaries-Plugin, or the Property-Info-Plugin. What exactly do you expect to be shown: A marker, that there are IO-Mappings, or do you mean the concrete mappings in details?

BR rnschk

proth1 commented 2 years ago

Thank you, @rnschk. Sorry for my delay in getting back to you. Yes, I would want to see the actual mappings, if there are any.

rnschk commented 2 years ago

Ok, I understand, and I can try to add this feature, but I can't promise when it will happen. 🙈 At first glace it might seem simple, but I just had a brief look at the I/O-mapping oppertunities. There are at least four different types of mapping, namely: List, Map, Script, String or expression, which all have different settings and partially even with a variable amount of entries. This might be tricky to be arranged in a clear and structerd way:

io-mappings

proth1 commented 2 years ago

Thank you very much @rnschk. As an MVP I think the significant value provided comes by initially just indicating that there is or is not any input/output settings for a given activity. Maybe a view like the following without the complexity of displaying the lower-level details. image

As a Tool Tip, this is good enough and then you can drill down on the property sheet directly to get to the details.

rnschk commented 1 year ago

Happy new year! 🎉

Hooray, finally, I found some time to include input/output-mappings in the tooltip-infos, yeah! At least some basic properties are shown now, if the mapping is of type string or expression, otherwise only the mapping-type is shown (see screenshot).

image

BR rnschk

proth1 commented 1 year ago

@rnschk, this is really amazing!! I love it!!! Thank you so much!!! What an amazing new year present. Happy New Year!!!