Svelte: A way to delete saved REPLs

Created on 24 Aug 2019  ·  13Comments  ·  Source: sveltejs/svelte

Is your feature request related to a problem? Please describe.
Yes, being a noob I forked same stuff over and over trying to figure out how it works and my saved list quickly grew to same stuff that is no longer needed.

Describe the solution you'd like
Would like a delete button on each saved REPL so it doesn't pollute your server and keeps my list clean and clear.

Describe alternatives you've considered
Abandoning ship, formatting computer and starting all over.

How important is this feature to you?
Very, since I use REPL feature a lot for practice and learning and would like to keep it in orderly fashion.

Additional context
n/a

enhancement REPL

Most helpful comment

'Delete' could just remove them from your list but leave the repl untouched? Sounds like the problem is noise in your repl list rather than actually needing a repl deleted specifically.

All 13 comments

Being a noob myself, this are just my random thoughts and may not be accurate.

Have you considered that this requested feature would not be desirable in the context of a shared environment such as Svelte.dev where the examples on the REPL need to be accessible for others to view, and accidental erasure could lead to losing examples required for issue reports?

I don't yet know the structure of the REPL but, Would it be possible for you to simply delete the generated sub-directories on the command line to clean up on your forked version?

I can share codepens and delete it at will, I can share jsfiddle and delete it at will. jsfiddle and codepen allow you to create anon repls which you can share and cannot be deleted.

Very True, I suppose its just a matter of building the desired feature tied to a user ID and a no-delete flag.

What I should have said is that with limited development resources, I guess it will depend on how many people see your feature request as being valuable enough before it will get attention.

'Delete' could just remove them from your list but leave the repl untouched? Sounds like the problem is noise in your repl list rather than actually needing a repl deleted specifically.

Another reason to be able to delete saved REPLs:

I don't know if it's a bug with the REPL, GitHub authentication, Firefox, or some combination of the three, but when I work on a single REPL, login, then save it a _single_ time, I get the following in my saved apps list. Note: I named the app "Recursive" because I was testing out <svelte:self>, not because I expected this result. It is pretty ironic though...

image

Sorting alphabetically would be nice too.

I agree, the option to delete (or at least remove them from my own list) would be fantastic. I've accidentally hit save on the Hello World REPL an embarrassing number of times...

That being said, maybe the Delete action should have some type of prompt in place: a kind of "ARE YOU SURE?" message to avoid accidental deletions as well.

yep...we definitely need this feature....

Especially when we have duplicate Repls ...also named same ...🤷🏼‍♂️
Screen_Shot_2020-05-28_at_23 43 35

I think that with a fine warning message (ARE YOU SURE?) would be enough. If the owner of the repl decide to break existing references that's fine, as long as he is not doing it by accident. Moreover, the owner can alway edit the repl and leave it empty, so it's the same.
Another nice thing would be to add an Archive option, to take it out of your list but leave it there for references.

...Or when the App.svelte is left empty, it should be removed.

...Or when the App.svelte is left empty, it should be removed.

What I do is rename the title to empty.

If I have a repl with private data in it, I want to be able to remove it from your server. This should be reason enough to allow people to delete their repls. If I add data, I should be able to remove it.

If I understand correctly you can always edit your REPLS and replace them
with blank content, but the problem is that there will be an empty repl
left there forever...

On Fri, Dec 4, 2020 at 8:42 PM Ben Woodward notifications@github.com
wrote:

If I have a repl with private data in it, I want to be able to remove it
from your server. This should be reason enough to allow people to delete
their repls. If I add data, I should be able to remove it.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sveltejs/svelte/issues/3457#issuecomment-739079208,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADVTF64K4XOKGDO5YHPPWLSTFXXJANCNFSM4IPEWJVQ
.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

1u0n picture 1u0n  ·  3Comments

davidcallanan picture davidcallanan  ·  3Comments

juniorsd picture juniorsd  ·  3Comments

matt3224 picture matt3224  ·  3Comments

clitetailor picture clitetailor  ·  3Comments