d-bl / GroundForge

Bobbin Lace Diagrams : threads from pairs
https://d-bl.github.io/GroundForge/
GNU General Public License v3.0
12 stars 7 forks source link

awkward to save GroundForge link #196

Open jo-pol opened 2 years ago

jo-pol commented 2 years ago

first bullet in https://groups.io/g/GroundForge/message/364

Common mistake: Forget to click on link button to update URL. It would be better if the URL updated automatically on every change and there was a different way (other than reloading the page) to revert to the original URL. Reverting is an uncommon use case and saving is a very common use case.

veronika commented 2 years ago

Perhaps the title of this issue should be "awkward to save GroundForge link" rather than a specific solution.

An alternate solution: Create a "save/download" button for the pattern view that saves an HTML page containing an SVG diagram of the thread diagram and a link to the editable GF page.

jo-pol commented 2 years ago

This alternative solution reminds me of #191. Your suggestion could mean a second download with a little HTML wrapped around it, or somehow calculate a proper position in the SVG* to add a linked text field. Browsers usually can display stand-alone SVGs.

*: above/below the bounding box, though I saw diagrams with floating bobbins, you might want those outside the bounding box. See blooper nr 5 this blooper should have a pattern link as it actually was some invalid stitch definition, if I remember correctly.