asciiflow icon indicating copy to clipboard operation
asciiflow copied to clipboard

Importing a diagram with the new version?

Open martinbonnin opened this issue 3 years ago • 8 comments

Hi 👋 !

Huge fan here, the new version looks sleek but I haven't found a way to import a block of text?

I guess being able to copy/paste text is general would also work for import. Or do I miss something?

martinbonnin avatar Mar 19 '21 08:03 martinbonnin

You're not missing anything! There is no import, but this wasn't a completely deliberate oversight.

Copy pasting should allow you to pull diagrams back in to the web app from other places, however I appreciate this isn't great if you've exported with comment blocks, or changed the encoding to basic ASCII for example.

Can you let me know what you would like from an import tool that the copy-paste functionality doesn't cover?

lewish avatar Mar 19 '21 09:03 lewish

Aaaaahh, I just got it! Looks like I need to be in "Selection" mode to copy-paste? I was somehow trying in "Text" mode.

Can you let me know what you would like from an import tool that the copy-paste functionality doesn't cover?

Copy-paste is perfect. I guess I was mainly disoriented by the fact that there used to be an import option but Ctrl-C Ctrl-V works very well for my use case, it's all good 👍 . Maybe allow pasting in Text mode too?

martinbonnin avatar Mar 19 '21 09:03 martinbonnin

Yup makes sense! One would expect copy-paste to work regardles of tool selection, so let me fix that. :+1:

lewish avatar Mar 19 '21 18:03 lewish

Hi, asciiflow is great! I using it via the public website https://asciiflow.com My usage example: https://twitter.com/solyarisoftware/status/1405894949971841028?s=20

Are there any news about import functionality (via Ctrl-V maybe)?

Thanks giorgio

solyarisoftware avatar Sep 09 '21 16:09 solyarisoftware

@solyarisoftware Ctrl-V works, as long as you are in Select & Move mode.

image

antoineco avatar Sep 09 '21 16:09 antoineco

oh! me stupid, It works as you say. Thanks @antoineco ! Anyway, a possible "import" button 8as in the previous asciiflow release, could help.

solyarisoftware avatar Sep 09 '21 17:09 solyarisoftware

I would also suggest adding back an "import" button. The current behavior is not very discoverable and I ended up on this github issue after having to google for how to import a diagram i had created on the previous version.

Having an "import" button right alongside the "export" button would provide the needed discoverability and when clicked, it could be as simple as a message explaining to paste using the keyboard shortcut.

pstackle avatar Dec 09 '21 19:12 pstackle

Got bitten by that too. The copy/paste behavior is rather uncommon and I bet a decent numbers of users would come here to understand how to copy/paste into the application. Otherwise it is pretty dope!

codec-abc avatar Feb 07 '22 08:02 codec-abc

Also got confused by this. Actually did try pasting but wasn't in select mode. Adding a button just for discoverability would be nice 👍

jensljungblad avatar Sep 26 '22 18:09 jensljungblad

same hahaha

dpkn avatar Apr 24 '23 12:04 dpkn

Fixed in #280

lewish avatar Feb 23 '24 19:02 lewish