Skip to content

feat(ui): reopen on the last active tab - #302

Merged
OpenSauce merged 1 commit into
mainfrom
feat/remember-active-tab
Nov 18, 2026
Merged

OpenSauce merged 1 commit into
mainfrom
feat/remember-active-tab

Conversation

@OpenSauce

Copy link
Copy Markdown
Owner

Closing on a tab (e.g. NAM) now reopens on that tab.

  • Standalone: active_tab added to settings.json (#[serde(default)], so old settings files still load and open on Amp). Saved whenever the tab changes.
  • Plugin: new #[persist = "active_tab"] field. The editor seeds from it on open and writes it back on each update, so it survives editor close/reopen and project reload.
  • Tab now derives Serialize/Deserialize.

make lint and make test pass.

Standalone persists the tab in settings.json; the plugin persists it in
the host state blob so closing the editor or reloading the project lands
back on the same tab.
@OpenSauce
OpenSauce enabled auto-merge (squash) November 18, 2026 22:28
@OpenSauce
OpenSauce merged commit 58639dd into main Nov 18, 2026
10 checks passed
@OpenSauce
OpenSauce deleted the feat/remember-active-tab branch November 18, 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.

1 participant