multinet-app / multilink

A node-link visualization built to work with the multinet ecosystem.
https://multinet.app
Apache License 2.0
4 stars 2 forks source link

Make the control panel state persistent across closes and opens #362

Closed JackWilb closed 1 year ago

JackWilb commented 1 year ago

Does this PR close any open issues?

Closes #355

Give a longer description of what this PR addresses and why it's needed

This shows and hides the control panel with v-show, instead of v-if, which means the component doesn't reset when being shown and hidden.

I also removed a little hacky trick that was needed for vue 2, that's no longer needed, and the snackbar, since labels are no longer on by default.

Provide pictures/videos of the behavior before and after these changes (optional)

The UI is unchanged, the state just works better now.

Are there any additional TODOs before this PR is ready to go?

No

netlify[bot] commented 1 year ago

Deploy Preview for next-multilink ready!

Name Link
Latest commit 7a2ccdb774edfd310daab2115370dc739f90880e
Latest deploy log https://app.netlify.com/sites/next-multilink/deploys/640f9975c236ca0008e28fb3
Deploy Preview https://deploy-preview-362--next-multilink.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.