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

Allow recent items to be individually removed from the Web IDE 'File -> Open Recent' menu #93

Open
0xdevalias opened this issue Jun 9, 2024 · 2 comments
Labels
enhancement New feature or request playground

Comments

@0xdevalias
Copy link

Just had another little QoL thought RE: the Web IDE's 'Open Recent' menu:

image

It might be cool if there was an x next to the individual entries (or similar) that would show a little confirmation box "Are you sure you want to remove [RECENT DETAILS]?", and if the user says yes, removes it from the history.

@0xdevalias 0xdevalias added the enhancement New feature or request label Jun 9, 2024
@j4k0xb
Copy link
Owner

j4k0xb commented Jun 9, 2024

Why would this be needed? Almost no program (including vscode) has individual delete buttons

@0xdevalias
Copy link
Author

0xdevalias commented Jun 9, 2024

In local apps 'open recent' usually refers to recent things that are already going to exist on the filesystem, whereas the way you use it here in the Web IDE, it's more like "autosaves you can restore from"; and I was thinking there may be cases where you want to be able to clear out some of that 'history' (without needing to dig into the IndexedDB and do it manually)

In my use case here, I sort of want to clear it because it's ended up storing 2 blank/empty states (I think maybe when I have a blank state, but restore a different thing, it pushes the blank state into the history; which maybe is a separate bug); and also because I wanted to clear this random test entry (which is neither here nor there I suppose).

But I can also imagine cases where I might have loaded up a large and/or sensitive chunk of code, that I might not want to leave hanging around in the history.


I don't use vscode, but a quick google suggested that it has a way to clear it:


I do use Jetbrains Webstorm, and they have 'Recent Projects -> Manage Projects':

image

Which then pops up another little dialog that lets you 'Remove from recent projects':

image

I figured a full separate dialog seemed like it might be a little overkill though; but if it fits the UI/UX better, that would work still.


From a quick skim of a few common apps I use, it seems it's sort of 50/50 whether they allow it to be cleared or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request playground
Projects
None yet
Development

No branches or pull requests

2 participants