Skip to content

feat: reopen recently closed tabs - #206

Merged
nextestudios merged 2 commits into
mainfrom
feature/52-reopen-closed-tab
Sep 27, 2026
Merged

nextestudios merged 2 commits into
mainfrom
feature/52-reopen-closed-tab

Conversation

@nextestudios

Copy link
Copy Markdown
Owner

Summary

  • Closing a tab keeps its PaneState (location, Back/Forward history, focus) on a bounded stack of the last 10 closed tabs of the session; marks are cleared and the archive password is dropped (it only lives while an archive is open in a tab).
  • Reabrir aba fechada in Menu (Navegar section), in Menu → Abas and North on the tab strip reinserts the last closed tab at its old position, active; a disk folder is re-read (it may have changed), archives/search results come back as they were. Disabled with a reason when nothing was closed or at the 8-tab limit.
  • Menu → Abas is now also available from Home when there is a closed tab to reopen.
  • Docs: GUIDE pair, CHANGELOG pair, ui-redesign rows.

Tests

  • CI: TabsJourneyTests::A_closed_tab_reopens_at_its_place_with_its_location_and_history (position, location, history via Back, no marks, disabled when empty).
  • Manual: none beyond the existing "Abas (feat: add file navigation tabs #50)" checks.

Closes #52

🤖 Generated with Claude Code

nextestudios and others added 2 commits September 27, 2026 19:30
Closed tabs are kept (last 10 per session) with their location and history;
Menu -> "Reabrir aba fechada" (also in the tab menu) brings the last one back
at its position. Marks and the archive password are not kept.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The restored file shows up on disk before the undo operation completes and
records the redo step, so choosing "Refazer" raced with it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@nextestudios
nextestudios force-pushed the feature/52-reopen-closed-tab branch from a3a2f71 to c3eb2e9 Compare September 27, 2026 22:30
@nextestudios
nextestudios merged commit 4da3c36 into main Sep 27, 2026
1 check passed
@nextestudios
nextestudios deleted the feature/52-reopen-closed-tab branch September 27, 2026 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: restore recently closed tabs

1 participant