-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Feature request] Save/restore workspace on close/open app #565
Comments
We also need to have saved:
I don't think this should be put into any of the existing files because different users will have different settings. It makes some sense this to go into the repository though, so if one works alone he can sync his state on different machines, but could be .gitignored in team scenario. Or better, create window profiles and make this starting state a special "current" profile. |
Please also the selected environment per collection (#899) |
This feature requires careful design considerations due to its complexity. First, we need to document the various parts of the state that need to be memoized. Examples include:
Additionally, we need to consider the data flow in Bruno. Since the filesystem represents the state, we should maintain the memoized state of the app within the Electron layer using electron-store. When the application launches, this state will be published to the app. |
Hello, I was looking into contributing (parts of) this feature and would like to give some thoughts, and ideas and ask questions to refine the feature further. Current state:
Proposal:
Example config object: {
"latOpenedConfig": {
"activeEnvironment": "/path/to/env or uuid?",
"activeTab": "uuid",
"collections": [
{
"path": "/path/to/collection",
"openTabs": [ "uuid1", "uuid2" ]
}
],
"sideBarWidth": 500,
"sideBarExpandedItems": [
"collection-uuid1",
"folder-uuid2",
]
}
} I would like to gather feedback on this approach or if there's something you would do differently. A question from my side would be - from my current understanding - the UUIDs used for the tabs in the UI are generated on the fly. Maybe you have a different approach in mind that would make solving this issue easier without adding too much overhead to the implementation? Other than that, looking for feedback and suggestions on my proposal |
@helloanoop @sanjai0py any thoughts from your side on my proposal? |
I would love bruno to save my workspace when i close it and restore it when i come back. By workspace i mean tree state (which leaves are collapsed/expanded), opened tabs and chosen environment. Right now when i come back to bruno i have to click my way through everything to just get back to work
The text was updated successfully, but these errors were encountered: