Skip to content

feat: Close button for vault-source Editor tabs (0.12.18) - #7

Merged
benjsmith merged 1 commit into
mainfrom
feat/editor-vault-tab-close
Sep 13, 2026
Merged

benjsmith merged 1 commit into
mainfrom
feat/editor-vault-tab-close

Conversation

@benjsmith

Copy link
Copy Markdown
Owner

Summary

  • Adds Close to the Editor sub-toolbar right cluster (after Save) for ephemeral vault .extracted.md user tabs.
  • New POST /api/tabs/vault-doc/removetabstore.remove_vault_doc_tab; optimistic strip update + neighbor activation via TabsContext.closeTab.
  • Core Editor unchanged; HTML EXTRACTION / Preview / View source left chrome untouched.
  • Microbump to 0.12.18.

Test plan

  • Open a vault cite → dedicated Editor tab appears
  • Close in right toolbar removes the tab and activates a neighbor
  • Core Editor tab has no Close button
  • make refresh BUILD=1 on Mac Mini after merge

Add Close to the Editor right toolbar cluster for ephemeral vault
.extracted.md user tabs. Calls /api/tabs/vault-doc/remove (wired to
tabstore.remove_vault_doc_tab), drops the tab from the strip, and
activates a neighbor. Core Editor unchanged.

Signed-off-by: benjsmith <benjamincharlessmith@gmail.com>
@benjsmith
benjsmith merged commit e7471b3 into main Sep 13, 2026
6 checks passed
@benjsmith
benjsmith deleted the feat/editor-vault-tab-close branch September 13, 2026 21:55
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