QCHackers / tqec

Design automation software tools for Topological Quantum Error Correction
https://tqec.app
Apache License 2.0
59 stars 17 forks source link

Persist unit cell #151

Open smburdick opened 6 months ago

smburdick commented 6 months ago

Is your feature request related to a problem? Please describe. When the page closes or reloads, user loses the unit cell they've created, in addition to any plaquettes they've made

Describe the solution you'd like When the user creates a unit cell, it should be saved to their local storage, and when starting the app, be presented the option to load an existing unit cell.

Once this is implemented, we can move on to plaquettes, templates, circuits, etc.

These can also be saved to the backend, if/when user login info is stored and tied to constructed circuits.

Describe alternatives you've considered Task 2 integration will proceed asynchronously to this. Once more circuit components are added, we can persist those as well.

smburdick commented 6 months ago

There can be a dedicated "Save" button, but saving it to the browser cache or the cloud (once logins are established) are fine. This will be especially important for templating.

smburdick commented 6 months ago

Need to define this user story a little better