You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: fix initial state bugs, caching, and add UI features
This commit addresses several critical issues with the syncing process
and improves the user experience.
- Fixes issue where syncing a completely new or pre-existing but
un-tracked file failed to send its contents. `crdt_manager` now
reliably provisions an `ObjType::Text` and uses `splice_text` to seed
its value if a plaintext file exists before generating payloads.
- Fixes issue where offline changes were not synced. Instead of relying
solely on the active Svelte editor to push updates, the backend now
watches the workspace using `notify-debouncer-full` and
asynchronously syncs external changes seamlessly.
- Device discovery feels significantly faster. Cached peers are proactively
probed via HTTP instead of waiting up to 3 seconds for the next mDNS
multicast cycle.
- Fixed device naming. Hostnames are properly derived using `gethostname`
instead of `Device-PIN`.
- Svelte UI now allows renaming and deleting known peers to provide
control over persistent trust data.
Co-authored-by: Keshav-writes-code <95571677+Keshav-writes-code@users.noreply.github.com>
0 commit comments