Skip to content

feat(nsgo): manage vaults and pair with a hub on Linux - #273

Merged
bketelsen merged 1 commit into
mainfrom
feat/nsgo-vault-manager
Nov 24, 2026
Merged

bketelsen merged 1 commit into
mainfrom
feat/nsgo-vault-manager

Conversation

@bketelsen

Copy link
Copy Markdown
Contributor

Summary

A fresh Linux install can create a vault, register an existing Markdown folder, or join a remote vault from the empty workspace. Manage vaults also offers pairing for an existing vault, recovery of a revoked device, and registration removal while preserving files. Both clients use the original device approval and failed-join cleanup code. The browser continues to use Lodge’s vault catalog.

The status bar shows the selected vault’s sync state and pending count. The Flatpak reads its existing background preference, and only the last open frontend applies it on exit.

Risk tier

Risk tier: 3. The two desktop entry points and shared vault code call existing notesd APIs. The daemon still validates vault paths, handles credentials and checks hub approval. The window lock only coordinates last-window shutdown. This PR keeps the existing release and desktop defaults.

Verification

  • Passed make check, including the NSGo interactive suite and Wasm build.
  • An empty device registered a new vault and an existing directory, joined a separate loopback hub through the displayed approval code, restarted its real notesd, and received a new remote note on disk.
  • Verified two simultaneous Flatpak window lifetimes with background sync disabled. Only the last close called shutdown.

@github-actions github-actions Bot added the level:L3 Skim label Nov 24, 2026
@bketelsen
bketelsen merged commit 307575e into main Nov 24, 2026
10 checks passed
@bketelsen
bketelsen deleted the feat/nsgo-vault-manager branch November 24, 2026 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants