Closed agarciadom closed 8 months ago
Thanks, @agarciadom, that's really useful to bring back in! @barnettwilliam can you review and merge, please?
I just did a minor cleanup of the code, removing the unnecessary id
parameter. Feel free to merge it :-). You may want to document this new option in the wiki, too:
https://github.com/mdenet/educationplatform/wiki/Adding-a-Tool#paneldef
Yes definitely, Added documentation located mdenet/educationplatform.wiki@5f386c9ead32558f94e384b4b2ec99eea80c64cd branch 121-support-for-multiple-files
I have a more in-depth example for the "Dev" side of the Annual Symposium tutorial, involving EGX. The EGX tool function returns a JSON with potentially multiple generated files, like this:
The problem is that showing this correctly requires implementing the multiple-output support that got dropped during the refactoring from the Epsilon Playground to the MDENet EP.
This PR adds it back for any panel definition that uses
multi
as itslanguage
, like this one:The panel definition would need to be in the
tools.json
of the relevant tool server.With this and the latest version of the Epsilon
playground-micronaut
project, I can reproduce our EGX example: