WPS / egon.io

A tool to visualize Domain Stories in your browser
http://domainstorytelling.org
729 stars 101 forks source link

Load .dst file from public URL dynamically #68

Open JJediny opened 4 years ago

JJediny commented 4 years ago

Is your feature request related to a problem? Please describe. While collaborative editing #66 seems an unreasonable lift (websockets and all), having the ability to dynamically load a url as a file import via a url construction would solve alot of the workflow around shared editing/re-loading/displaying of exported files to continue to edit.

Describe the solution you'd like I as a user would atleast like to maintain a github gist (etc), to give me a stable/public url, where I can continue to make updates without the url changing to a .dst file. If I was able to append that URL as part of the editor's URL to auto load, then all I would need to do to update and maintain my Domain Knowledge diagram would be load the full URL, make updates, re-download/update the github gist to version it. Next time I revisit the updated diagram would be there for me to pick up again.

Describe alternatives you've considered Mermaid live editor uses a base64 scheme to encode the file contents to make it a shareable url:

Additional context The editor does need some ability to save state on the internet and dynamically load from it to be useful in standard practice.

hofstef commented 4 years ago

Loading/saving models from/to a stable public URL could improve collaboration. Using gist is certainly an option. Alternatively encoding the whole model in the URL is not an option as we have to include the SVG of all icons as well (to support custom icons). The resulting strings (even if base64) can get really long and might exceed browser's URL limits.

almereyda commented 1 year ago

Loading files from CORS-enabled enpoints denoted in a URL fragment will improve collaboration workflows a lot.

StevenVanDijk commented 1 week ago

I give a course on DDD and use your site for knowledge crunching phase. Currently I have a DST with extra icons etc in a gist that participants have to download, save to their machine and then manually import. This all takes time and when they don't figure it out I have to come in and help them out. It would be very helpful if I could provide a link they could click and have the import take place automatically.

This issue seems to address my need, but it is open since 2019. Is it still considered?

As an aside, I appreciate the service you are providing to the community with this tool and understand you probably have limited time to work on this. I'm just checking the status.