Add API for propagating cursor locations #61

Merged
schmelczer merged 30 commits from asch/show-cursors into main 2025-06-08 20:20:53 +01:00
schmelczer commented 2025-06-07 10:38:18 +01:00 (Migrated from github.com)

Show remote users' cursors and selections in your local obsidian.

Changes

  • Bump rust version
  • Remove schemara & aide and start using ts-rs
  • Remove openapi endpoint
  • Serve index.html from server
  • Add a separate in-memory DB for cursors
  • Type the websocket messages and start sending & receiving cursor (selection) positions
  • Always rewrite the server's config to include new fields
  • Remove JSON APIs where Multipart exists
  • Extract WebSocket class
  • Show remote cursors in Obsidian
  • Trigger websocket update broadcast from db instead of endpoint handles

TODO

When typing, cursors go out of sync as they're not submitted to the merge algorithm

Show remote users' cursors and selections in your local obsidian. ## Changes - Bump rust version - Remove schemara & aide and start using ts-rs - Remove openapi endpoint - Serve index.html from server - Add a separate in-memory DB for cursors - Type the websocket messages and start sending & receiving cursor (selection) positions - Always rewrite the server's config to include new fields - Remove JSON APIs where Multipart exists - Extract WebSocket class - Show remote cursors in Obsidian - Trigger websocket update broadcast from db instead of endpoint handles ## TODO When typing, cursors go out of sync as they're not submitted to the merge algorithm
schmelczer (Migrated from github.com) reviewed 2025-06-08 20:05:00 +01:00
@ -68,3 +68,1 @@
{
self.last_operation = None;
}
{
schmelczer (Migrated from github.com) commented 2025-06-08 20:04:59 +01:00

New rust nightly lint

New rust nightly lint
Sign in to join this conversation.
No description provided.