SimonBuxx / LogiJS

Discover and create logic circuits
https://logijs.com
GNU General Public License v3.0
42 stars 6 forks source link

Enable uploading files to LogiJS with or w/o being logged in #69

Closed SimonBuxx closed 4 years ago

SimonBuxx commented 4 years ago

CASE 1: When a user is logged in, the file can easily be saved in the user's folder (scan file for compatibility and Security!). To set preview image, description and module appearence, the user needs to resave the file after importing. This is hard to avoid because preview images are "screenshots" of the canvas. We should introduce a default picture that tells the user to resave the sketch for preview image.

CASE 2: When the user isn't logged in, there should be a button (probably in the editor itself) to load the file directly into the editor. This shouldn't be too hard, actually. Maybe, we should just go with this option for both cases, this avoids the resaving issue when logged in. You could just import and hit save right away.

SimonBuxx commented 4 years ago

This is done, there is an Import button in the editor.