mimic-sussex / sema

Sema – A Playground for Live Coding Music and Machine Learning
https://sema.codes
MIT License
151 stars 51 forks source link

'changes not saved' msg after logging in #366

Closed chriskiefer closed 2 years ago

chriskiefer commented 2 years ago

The tooltip says i don't have permissions to save the sketch, but it's not clear to the user why this is the case.

It says make a copy, but there's no 'copy' button

smilo7 commented 2 years ago

Were you accessing your own or someone else's project? The reasons this appears are either the project has been made private and you are not the author or it is public but allow edits option is false. Both these can be toggled in the profile/projects area. Was there a uuid in the url bar? such as https://dev.sema.codes/playground/44b7e669-3962-4712-8789-f14408de78e1

The copy button is actually the link, if you click the link it should create a new playground. It should say in the tooltip.

smilo7 commented 2 years ago

Made some adjustments in an upcoming PR to make this functionality clearer.

Added a fork button to the settings bar in the playground that users may copy projects.

When hovering over the 'Changes cant be saved' link it highlights the fork button so the user is aware of the functionality. image

They can copy via the link or with the fork button.

smilo7 commented 2 years ago

added on develop branch. the links are also have updated text for each case (not being logged in or lacking sufficient permissions) instead of a blanket 'Changes will not be saved message'