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

Open previous files on Refresh #1456

Open
quangv opened this issue Jan 11, 2019 · 16 comments
Open

Open previous files on Refresh #1456

quangv opened this issue Jan 11, 2019 · 16 comments

Comments

@quangv
Copy link

quangv commented Jan 11, 2019

🌈 Feature

If you "refresh" the codesandbox page, all your previous open files/tabs would be restored.

This is useful for when the app stops compiling (having some issues with Vue, the preview window freezes) You can just hit "refresh" on your browser, and get all your files/tabs back, with working Vue build.

Not sure how would go about implementing, maybe it's already implemented and I'm just refreshing the page wrong?

@quangv quangv changed the title Save previous open file tabs Open previous file tabs on refresh Jan 11, 2019
@quangv quangv changed the title Open previous file tabs on refresh Re-open previously opened file tabs on refresh Jan 11, 2019
@quangv quangv changed the title Re-open previously opened file tabs on refresh Open previous files & tabs on refresh Jan 11, 2019
@quangv quangv changed the title Open previous files & tabs on refresh Open previous file tabs on refresh Jan 11, 2019
@quangv quangv changed the title Open previous file tabs on refresh Open previous files on refresh Jan 11, 2019
@quangv quangv changed the title Open previous files on refresh Open previous files on Refresh Jan 11, 2019
@lbogdan
Copy link
Contributor

lbogdan commented Mar 26, 2019

Hey @quangv ,

This used to work (as far as I remember), but looks like it stopped working once we switched to VSCode as the default editor?

@CompuIves , is this an oversight?

@lbogdan lbogdan added the bug? label Mar 26, 2019
@karlhorky
Copy link

karlhorky commented Jun 27, 2019

Just looking for this feature today.

I can confirm that with PROD-1561557066-4a5dea6e4, refreshing does cause the file under main in package.json to be opened (src/index.js in my case):

Kapture 2019-06-27 at 12 44 21

@mohammedgqudah
Copy link

any updates?

@garethx garethx removed the bug? label May 14, 2020
@github-actions
Copy link

github-actions bot commented Sep 4, 2020

This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

@github-actions github-actions bot added the stale label Sep 4, 2020
@karlhorky
Copy link

Now with the file parameter in the URL, at least when refreshing the last opened file gets reopened:

https://codesandbox.io/s/prismjs-forked-wu91d?file=/src/index.js

@CompuIves CompuIves removed the stale label Sep 4, 2020
@CompuIves
Copy link
Member

I still think this would be a great feature! Keeping it open.

@github-actions
Copy link

github-actions bot commented Dec 4, 2020

This issue has automatically been marked stale because there has been no activity in a while. Please leave a comment if the issue has not been resolved, or if it is not stale for any other reason. After 2 weeks, this issue will automatically be closed, unless a comment is made or the stale label is removed.

@github-actions github-actions bot added the stale label Dec 4, 2020
@karlhorky
Copy link

Not stale

@github-actions github-actions bot removed the stale label Dec 5, 2020
@github-actions
Copy link

github-actions bot commented Mar 5, 2021

This issue has automatically been marked stale because there has been no activity in a while. Please leave a comment if the issue has not been resolved, or if it is not stale for any other reason. After 2 weeks, this issue will automatically be closed, unless a comment is made or the stale label is removed.

@github-actions github-actions bot added the stale label Mar 5, 2021
@karlhorky
Copy link

karlhorky commented Mar 5, 2021

hello stale bot, so nice to see you again

@lbogdan lbogdan removed the stale label Mar 5, 2021
@YoungElPaso
Copy link

Seconding this.

@taziksh
Copy link

taziksh commented May 16, 2021

I really like codesandbox.io (it even has Vim keybindings!). But this feature would be a very welcome addition, as I am realizing as my React app scales and I have to work on several files.

@github-actions
Copy link

This issue has automatically been marked stale because there has been no activity in a while. Please leave a comment if the issue has not been resolved, or if it is not stale for any other reason. After 2 weeks, this issue will automatically be closed, unless a comment is made or the stale label is removed.

@github-actions github-actions bot added the stale label Aug 23, 2021
@karlhorky
Copy link

Not stale

@sannek sannek added no-stale and removed stale labels Aug 23, 2021
@sannek
Copy link
Contributor

sannek commented Aug 23, 2021

Sorry about that - I added no-stale so it won't get closed again, and pinging @CompuIves to see if this has actually made it onto our backlog?

@karlhorky
Copy link

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants