Repository navigation
feat: restore open tabs on the next launch - #197
Merged
Merged
Conversation
nextestudios
force-pushed
the
feature/51-persist-tabs
branch
4 times, most recently
from
September 27, 2026 22:19
7850a4d to
52756fd
Compare
With two or more tabs open, the folders, order and active tab are saved in settings and restored at startup. Each folder is checked off the UI thread; a missing one becomes an "(indisponível)" tab that shows Home with a notice. Menu -> "Restaurar abas ao abrir" turns it off and erases the saved list. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…story The keyboard closes before the folder reloads and the typed text is only remembered when the submit finishes, so the assertion raced with it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
nextestudios
force-pushed
the
feature/51-persist-tabs
branch
from
September 27, 2026 22:24
52756fd to
aa12099
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
settings.json(OpenTabs,ActiveOpenTab) whenever they change (quiet save, noSettingsChangedevent), and restored byAppController.Start(screen opens on the active tab). With a single tab the launch still lands on Home, as before.Task.Run(a disconnected network drive doesn't freeze the UI); a missing/unreadable one becomes an "(indisponível)" tab (title +PaneState.IsUnavailable) that shows Home with a footer notice, and keeps its saved path so it isn't lost while a drive is disconnected. Background tabs don't enter Recents and a failed background load no longer sends the active tab home.Tests
TabsJourneyTests::Open_tabs_are_restored_on_the_next_launch_a_missing_folder_shows_home_and_it_can_be_disabled(3 tabs, one folder deleted between sessions; order, active tab, unavailable tab showing Home without an error dialog, disabling).Closes #51
🤖 Generated with Claude Code