How to persist open tabs in vscode-server - vscode-remote

It seems vscode-server doesn't remember open tabs, ie if I close the browser and reopen it the workspace and all its tabs are closed. Is there a way to make them persistent?

Related

How to catch closing event if user is closing the app by closing terminal (Winforms)?

I have a Winforms app and usually when a user runs an app the UI of the app visible only, but if you set in settings open as Console app, as a result, each time when the app will be opened the terminal will be opened as well (BTW I need this option to be enabled in my case).
Problem is that I have a logic in Closing form event and it works well if a user closes the app by clicking on the cross at the top of the app window, but if they close the app by click cross on the terminal window the app doesn't get any closing events. It just terminates the app process.
So, the question is - is there a way to catch the closing event if the user tries to close the app through the closing terminal instead of closing the app?

when reloading the app through dev menu the modal donot get tear down/disappear

When developing, I sometimes leave the modal open when saving code (I use the live refresh), the modal remains open and there is no way to close, so I have to stop the program and restart it.
The app presumably refreshes, but the modal stays on top and cannot be closed
To see exact problem please see this gif what is happening...click to see gif

Creating dynamic tabs in React

I'm trying to create an sample application in React and I've a doubt on creating Tabs. On clicking on a specific module, I need to open a Tab containing the items of that module. If the user clicks on the next module, then another tab should be created dynamically without closing the first tab. In the same way I want to open new tabs dynamically without closing the already opened ones. Is this possible in React?

How to sign in second user in incognito window to test actioncable

I'm trying to sign in a 2nd user to see if ActionCable is working. I have my app open in a regular Chrome window on localhost:3000 and I also have it open in an incognito window also localhost:3000
From https://github.com/rails/actioncable-examples:
Open two browsers with separate cookie spaces (like a regular session and an incognito session).
Login as different people in each browser.
3 Go to the same message.
Add comments in either browser and see them appear real-time on the counterpart screen.
However, when I sign in the 2nd user in the incognito window, the 1st user gets logged out.
I'm using ng-token-auth and devise_token_auth for authentication.
Also, I have an ng-click that toggles the navbar to collapse
<button type="button" class="navbar-toggle" ng-click="isNavCollapsed = !isNavCollapsed">
<i class="fa fa-bars" aria-hidden="true"></i>
</button>
When I click the hamburger button in either the regular window or the incognito window, the navbar collapses in both windows.
I thought an incognito window would give me a completely separate cookie jar and therefore separate $scopes but I guess not.
I hope someone can tell me what is going one.
When using Incognito mode, your Sesssion stays active on every tab/window as long as you do not close each and every one of them as stated on the Incognito start page:
Pages you view in incognito tabs won't stick around in your browser's history, cookie store, or search history after you've closed all of your incognito tabs. Any files you download or bookmarks you create will be kept.
Having stated this, your session is completely different from the one in a normal tab/window, so the action cable test should work.
This may fail if by any means your logic overrides the logged in user when a new user gets logged in.

Ionic: keep tabs opened

How can I keep tabs open in ionic Framework?
I have four tabs and one of them needs to be connected to the internet and download something I want that tab to be opened in the background when I press other tabs to make fewer downloads.

Resources