Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add new files? #6

Open
rnwolf opened this issue Oct 15, 2024 · 2 comments
Open

How to add new files? #6

rnwolf opened this issue Oct 15, 2024 · 2 comments

Comments

@rnwolf
Copy link

rnwolf commented Oct 15, 2024

Hi @raymyers

I added a new file into the examples folder and it did not appear in the menu.

How did you envisage one would crate and edit new diagrams?
Edit the existing examples via the browser UI? And then copy and paste those into file in filesystem?

@raymyers
Copy link
Owner

raymyers commented Oct 16, 2024

Hi @rnwolf, thanks for engaging. That's currently what I do, I copy from the browser to another text editor to save progress. That's a bad workflow, clearly, and fixing it means changing how the app runs since it doesn't have a server side yet it's all in-browser.

Here are some options I've been considering. Maybe you've got a preference?

  1. Stay in browser and save to cookies. Con: Not a real solution since it doesn't move between browsers / cookies get cleared
  2. Introduce a web backend, db, accounts, login - maybe Google SSO... Con: Lots of overhead, ongoing admin.
  3. Add a local-only backend. Maybe keep online demo but with save disabled. Con: User has to start a server
  4. Repackage as a VS Code plugin
  5. Repackage as a Desktop app

I think I'm leaning toward 4.

@rnwolf
Copy link
Author

rnwolf commented Oct 16, 2024

VS Code plugin would be great and would most probably improve usability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants