Per-folder and per-file disconnect #55

Closed
opened 2026-09-21 18:04:32 +01:00 by cruelacid · 1 comment
Owner

Part of #37. Shares machinery with ignore rules.

What Relay does

Right-click a folder to disconnect it as a persistent setting; a satellite icon
disconnects a single file; a manual "sync" pulls on demand. Their issue #18
covers the on-demand mode.

What we do today

A folder is mapped or unmapped, and that is the whole granularity. Unmapping is
in the settings tab; there is nothing per-file and no context menu.

What changes

A persisted exclusion set honoured by vault-watcher.ts, content-sync.ts and
file-sync.ts, surfaced as a context-menu toggle and an explorer indicator.
Same plumbing as ignore rules, same hazard: disconnecting must never read as
deleting
to anyone else.

Risk

risk:none.

Verification

As for ignore rules — the other vault's copy survives, and the test fails when
inverted.

Part of #37. Shares machinery with ignore rules. ## What Relay does Right-click a folder to disconnect it as a persistent setting; a satellite icon disconnects a single file; a manual "sync" pulls on demand. Their issue #18 covers the on-demand mode. ## What we do today A folder is mapped or unmapped, and that is the whole granularity. Unmapping is in the settings tab; there is nothing per-file and no context menu. ## What changes A persisted exclusion set honoured by `vault-watcher.ts`, `content-sync.ts` and `file-sync.ts`, surfaced as a context-menu toggle and an explorer indicator. Same plumbing as ignore rules, same hazard: **disconnecting must never read as deleting** to anyone else. ## Risk `risk:none`. ## Verification As for ignore rules — the other vault's copy survives, and the test fails when inverted.
Author
Owner

Moved to the Vikunja board as NEC-32: https://projectron.nerchure.com/tasks/32

Moved to the Vikunja board as **NEC-32**: https://projectron.nerchure.com/tasks/32
Sign in to join this conversation.
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Nectenda/nectenda#55
No description provided.