From 83fbfb5fd4e82b7c329c400f6365cf79c8b0f4cf Mon Sep 17 00:00:00 2001 From: ancsemi Date: Mon, 20 Apr 2026 18:28:50 -0400 Subject: [PATCH] feat: add threads, toolbar customization, and SSO/auth flow improvements --- CHANGELOG.md | 20 + docs/index.html | 12 +- donor-order.json | 12 +- package.json | 2 +- public/app.html | 66 +++ public/css/style.css | 676 ++++++++++++++++++++++++++++- public/js/app.js | 19 +- public/js/auth.js | 160 +++++-- public/js/modules/app-channels.js | 1 + public/js/modules/app-media.js | 175 +++++++- public/js/modules/app-messages.js | 77 +++- public/js/modules/app-platform.js | 3 + public/js/modules/app-socket.js | 42 +- public/js/modules/app-ui.js | 345 ++++++++++++++- public/js/modules/app-utilities.js | 387 ++++++++++++++++- public/js/servers.js | 35 +- src/auth.js | 113 ++++- src/database.js | 8 + src/socketHandlers/messages.js | 230 +++++++++- website/index.html | 12 +- 20 files changed, 2245 insertions(+), 150 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cb9d427..d798fd0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,26 @@ Format follows [Keep a Changelog](https://keepachangelog.com/). Haven uses [Sema --- +## [3.5.0] — 2026-04-20 + +### Added +- **Threaded replies panel** — message threads now open in a dedicated right-side panel with parent context, inline reply flow, and live updates. +- **Thread previews in channel chat** — parent messages now show thread activity summaries with reply count, recent participants, and last activity timestamp. +- **Thread panel PiP mode and resize handle** — thread conversations can be popped out into a floating panel and resized for multitasking. +- **Toolbar icon and layout customization** — settings now include monochrome vs emoji toolbar styles, visible action slot count, and per-action order controls. + +### Fixed +- **SSO approval reliability and feedback** — improved SSO consent/auth flow with clearer status messages, timeout handling, profile return via `postMessage`, and stronger fallback behavior. +- **Vanity invite continuity through auth redirects** — `invite` query params now persist through login/register flows and redirect correctly into `/app`. +- **Thread-aware message queries** — primary channel history now excludes thread replies to prevent duplicate rendering and keep main timelines clean. +- **Cache-busting version query injection** — static asset version query strings are now auto-injected more reliably to reduce stale client bundles after updates. + +### Changed +- **SSO response metadata** — SSO auth responses now include display name data and stricter CORS/origin handling for cross-origin auth handoff. +- **Database schema for threads** — added `messages.thread_id` migration and index to support efficient threaded message fetches. + +--- + ## [3.4.0] — 2026-04-19 ### Added diff --git a/docs/index.html b/docs/index.html index 2ef35c5..aee2fc4 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1415,12 +1415,12 @@
-

⬡ Haven Server — v3.4.0

+

⬡ Haven Server — v3.5.0

Latest stable release · Windows, macOS & Linux · ~5 MB

- - Download v3.4.0 (.zip) + + Download v3.5.0 (.zip)