Commit Graph

16 Commits

Author SHA1 Message Date
jbrechtel 0151d4ad02 UI updates 2026-06-15 11:01:26 -04:00
jbrechtel 71691a5261 ui: align chat list and conversation buffer with mockups
Chat list (*signal*):
- Fringe ● now uses warning face (yellow), matching mockup's
  unread indicator color
- Modeline trailing dashes extended for visual balance

Conversation buffer (*signal:NAME*):
- Compose prompt > changed from bold to link face (blue),
  matching mockup's signal-blue prompt
- Attachment rendering: [attachment: ...] → [photo: ...]
- Modeline: (Signal Chat) → (Signal Chat Fill)
- Added header-line with key hints (RET send, M-RET newline,
  C-c C-g refresh), matching mockup's discoverability goal
2026-06-14 13:00:29 -04:00
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 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 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