Not deleting requests from other branches while switching them
- Dominant language
- TypeScript
- Stars
- 40k
- Forks
- 2.4k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
### Expected Behavior
I would expect to hide/delete requests and requests group, after switching the branch
### Actual Behavior
While changing a branches in debug page, the request groups and requests are not hiding/deleting and they are still there and those can be commit and push into branch
### Reproduction Steps
1. created requests

2. create a new branch out of it
3. in new branch edit them, add, delete, rename
4. commit, push

5. go back to branch before

6. go back to newly created branch

### Is there an existing issue for this?
- [X] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.
### Additional Information
_No response_
### Insomnia Version
2023.2.2
### What operating system are you using?
Windows
### Operating System Version
Windows 11 version 22621.1702
### Installation method
exe
### Last Known Working Insomnia version
_No response_
Contributor guide
Research direction
Start in the debug page's branch-switching flow and reproduce the sequence of creating a branch, editing requests, committing, switching back, and returning to the new branch. Trace how request groups and requests are loaded or cleared during each switch. Done means requests from another branch are no longer visible or commit-able after switching, with coverage for the reported Windows scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100