Skip to content

Add session persistence for editor tabs#386

Open
struga0258 wants to merge 7 commits intov3.x/stagingfrom
users/jstruga/session-persistence
Open

Add session persistence for editor tabs#386
struga0258 wants to merge 7 commits intov3.x/stagingfrom
users/jstruga/session-persistence

Conversation

@struga0258
Copy link
Copy Markdown
Contributor

@struga0258 struga0258 commented Apr 23, 2026

Adds session persistence to the Zowe Editor so that open tabs are preserved across editor reopens. Sessions are auto-saved and users can restore previous sessions from the welcome screen.

…e dialog

Signed-off-by: James Struga <jstruga@rocketsoftware.com>
James Struga added 6 commits April 23, 2026 13:39
Signed-off-by: James Struga <jstruga@rocketsoftware.com>
- Remove session picker dialog popup on startup
- Remove Session menu from menu bar
- Auto-restore last session silently on editor open
- Auto-name sessions from open file names
- Single session auto-saves on tab changes

Signed-off-by: James Struga <jstruga@rocketsoftware.com>
Signed-off-by: James Struga <jstruga@rocketsoftware.com>
- Display recent sessions inline on the Zowe Editor welcome page
- Sessions listed with auto-generated names and tab counts
- Click a session to restore its tabs
- No popup dialog, no auto-restore on startup
- All sessions preserved and auto-named from open files

Signed-off-by: James Struga <jstruga@rocketsoftware.com>
- Each editor open creates a session with a unique ID instead of
  always overwriting 'default', so previous sessions are preserved
- New session is not persisted until tabs are actually opened,
  preventing the saved session data from being wiped on startup
- Filter empty sessions (0 tabs) from the welcome screen list

Signed-off-by: James Struga <jstruga@rocketsoftware.com>
- clearAllSessions() in EditorSessionService deletes all session
  files and resets the index
- Clear All button in welcome screen header removes all sessions
- Button styled subtle with red hover to indicate destructive action

Signed-off-by: James Struga <jstruga@rocketsoftware.com>
@sonarqubecloud
Copy link
Copy Markdown

@struga0258 struga0258 changed the title Add session persistence with named sessions, backup, and restor Add session persistence for editor tabs Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Ready for Review

Development

Successfully merging this pull request may close these issues.

1 participant