Commit Graph

21 Commits

Author SHA1 Message Date
jbrechtel cedd82738a fix: show notifications and unread count for SSE messages arriving when chat closed
Three gaps caused messages received via SSE to be invisible when
the conversation buffer wasn't already open:

1. Echo-area notification (noise-receive.el): when an SSE message
   arrives and the conversation buffer isn't in a visible window,
   show "[Noise] <name>" in the echo area.

2. Modeline unread counter (noise.el): the noise-mode lighter now
   shows Noise[N] for N unread messages via a lightweight SUM
   aggregation across all conversations.

3. Auto-refresh hook (noise-conversation.el): a
   window-buffer-change-functions hook re-renders *signal:* buffers
   when they become visible, covering direct C-x b switches.

Also adds regression test:
noise-receive-sse-stores-then-open-shows-message —
store via SSE handler with no buffer open, then open and verify.
2026-06-14 12:57:05 -04:00
jbrechtel 0dd2919fad Some testing and fixing receiving messages over SSE 2026-06-14 10:05:23 -04:00
jbrechtel 7cdd7aecad docs: add final report for SSE migration 2026-06-11 12:55:17 -04:00
jbrechtel 16d55a1a2f docs: update documentation for SSE migration 2026-06-11 12:52:26 -04:00
jbrechtel bd9cf62872 feat: update noise-mode to use SSE instead of polling 2026-06-11 12:50:43 -04:00
jbrechtel 56501cba94 feat: integrate SSE with message reception pipeline 2026-06-11 12:49:29 -04:00
jbrechtel 55cab2fc28 feat: add SSE connect/disconnect public API 2026-06-11 12:47:48 -04:00
jbrechtel 15baff4f26 feat: add SSE URL construction and connection management 2026-06-11 12:45:25 -04:00
jbrechtel a4dbcf8287 feat: add SSE process filter for stream parsing 2026-06-11 12:44:16 -04:00
jbrechtel b090819483 feat: add SSE connection state and reconnection logic 2026-06-11 12:43:12 -04:00
jbrechtel 869f4cb67b feat: add SSE event parsing for signal-cli 2026-06-11 12:42:10 -04:00
jbrechtel dcead245a7 More features 2026-06-10 12:43:24 -04:00
jbrechtel 02d78765bc Adds account switching 2026-06-10 12:12:31 -04:00
jbrechtel 8d820432ff fix: use correct signal-cli default port 8080 and robust connectivity check
- Change default noise-signal-cli-address to port 8080 (signal-cli's --http default)
- Replace getVersion (not a valid JSON-RPC method) with noisePing probe
- noise-rpc-check now returns t on any valid JSON-RPC response
- Update README to reflect correct default port
2026-06-10 10:44:39 -04:00
jbrechtel 6d8727ea05 docs: add installation and usage instructions for elpaca, straight.el, and other managers 2026-06-10 04:16:59 -04:00
jbrechtel 44409a4793 feat: add minibuffer conversation switcher with fuzzy completion 2026-06-09 19:35:50 -04:00
jbrechtel b3cd5a7e9e feat: add chat list buffer with conversation rendering and navigation 2026-06-09 19:35:06 -04:00
jbrechtel a88d3af8a2 feat: add SQLite database layer with contacts, conversations, and messages tables 2026-06-09 19:34:06 -04:00
jbrechtel f71a05de79 feat: add JSON-RPC client with connection check command 2026-06-09 19:31:03 -04:00
jbrechtel 9498cbb32b chore: add project docs, readme, and UI mockup 2026-06-09 19:30:00 -04:00
jbrechtel 5e5ffaee3c feat: add noise.el package skeleton with defcustom and minor mode 2026-06-09 19:29:58 -04:00