[GH-ISSUE #4720] [bug]: Restore last session state (opened collections & selected environment) #1759

Open
opened 2026-03-16 21:38:38 +03:00 by kerem · 1 comment
Owner

Originally created by @iDschepe on GitHub (Feb 4, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4720

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

Description:

Currently, when working with multiple collections in the folder tree and selecting an environment within a team workspace, these settings are lost when the window is closed and reopened. Only the selected team remains, but all expanded folders and the chosen environment need to be reselected / reopened manually.

Expected Behavior:

  • The state of the folder tree (opened collections) should be preserved after reopening the application.
  • The selected environment in the team workspace should also be restored.

Actual Behavior:

  • All previously opened folder structures are collapsed.
  • The selected environment is reset to default (not preserved).
  • Only the selected team remains.

Related Issue:
Found a similar issue that was previously reported and closed: #2146. However, I am not sure if this is the same, but it appears that the problem still persists.

Would it be possible to reconsider this feature for better session continuity?

Steps to reproduce

Steps to reproduce:

  • Login and select team workspace
  • Open multiple collections in the folder tree and some requests
  • Select an environment within the team workspace
  • Close the browser tab or PWA
  • Reopen Hoppscotch in browser or PWA

Environment

Production

Version

Self-hosted

Originally created by @iDschepe on GitHub (Feb 4, 2025). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4720 ### Is there an existing issue for this? - [x] I have searched the existing issues ### Current behavior **Description:** Currently, when working with multiple collections in the folder tree and selecting an environment within a team workspace, **these settings are lost when the window is closed** and reopened. Only the selected team remains, but all expanded folders and the chosen environment need to be reselected / reopened manually. **Expected Behavior:** - The state of the folder tree (opened collections) should be preserved after reopening the application. - The selected environment in the team workspace should also be restored. **Actual Behavior:** - All previously opened folder structures are collapsed. - The selected environment is reset to default (not preserved). - Only the selected team remains. **Related Issue:** Found a similar issue that was previously reported and closed: [#2146](https://github.com/hoppscotch/hoppscotch/issues/2146). However, I am not sure if this is the same, but it appears that the problem still persists. Would it be possible to reconsider this feature for better session continuity? ### Steps to reproduce **Steps to reproduce:** - Login and select team workspace - Open multiple collections in the folder tree and some requests - Select an environment within the team workspace - Close the browser tab or PWA - Reopen Hoppscotch in browser or PWA ### Environment Production ### Version Self-hosted
Author
Owner

@niklasmosel commented on GitHub (May 5, 2025):

Same issue here. Every time I reopen Hoppscotch (self-hosted version), the folder tree collapses and the selected environment within the team workspace resets to default. It’s quite inconvenient, especially when working across multiple collections and relying on a specific environment setup.

Preserving the expanded folder state and selected environment would really improve the user experience and workflow continuity. I’d also appreciate it if this feature could be reconsidered. Thanks for bringing this up!

<!-- gh-comment-id:2850367231 --> @niklasmosel commented on GitHub (May 5, 2025): Same issue here. Every time I reopen Hoppscotch (self-hosted version), the folder tree collapses and the selected environment within the team workspace resets to default. It’s quite inconvenient, especially when working across multiple collections and relying on a specific environment setup. Preserving the expanded folder state and selected environment would really improve the user experience and workflow continuity. I’d also appreciate it if this feature could be reconsidered. Thanks for bringing this up!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1759
No description provided.