Repository navigation
fix: live sync, Safari overflow, hideHigher, lasting logins, repo links - #147
Merged
Merged
Conversation
- The space stream hijacks the reply, flushes its headers, sends a comment straight away and a keep-alive every 25 seconds. Before, a browser never saw the stream open, so the dashboard showed "Live sync off". - The background glow layer is clipped and html has overflow-x: clip, so Safari no longer scrolls sideways into empty space. - The Discord source applies hideHigher: roles at or above the bot's highest role are left out. - SessionStore takes a SessionBackend. @acstane/db adds SqliteSessionBackend, which stores only a SHA-256 of each session id. Lite mode uses it when storage is "sqlite" (or sessions: "sqlite"), so a restart keeps people logged in. The scaffolder's starter now uses storage: "sqlite". - The GitHub and Docs links point to the repository and the README. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017JdKJpQQK3XuLZTBiZ4gns
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017JdKJpQQK3XuLZTBiZ4gns
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes from the second round of beta feedback. The page builder editor gets its own PR.
Live sync
The space stream (
/api/spaces/:platform/:spaceId/stream) wrote its headers withwriteHeadbut never flushed them or sent any bytes. A browser'sEventSourcenever reported the stream as open, so the dashboard showed "Live sync off". The route now:x-accel-buffering: nofor proxies): connectedcomment right away and a: pingcomment every 25 secondsstream.test.tsopens a real connection and checks that the first chunk arrives.Safari sideways scroll
The blurred
.dd-bgglows widened the scroll area in Safari despiteoverflow: hidden. The fix:.dd-bggetsclip-path: inset(0)andcontain: painthtmlgetsoverflow-x: cliphideHigherThe Discord source ignored
hideHigher. It now leaves out roles at or above the bot's highest role, fromguild.members.me, falling back to the cached member forclient.user. When the bot's position is unknown, it hides every role rather than offering roles it may not be able to assign. Covered insource.test.ts.Logins survive a restart
SessionStoretakes an optional synchronousSessionBackend(get, set, delete, sweep). Only logged-in sessions are persisted, and a memory miss is loaded from the backend.@acstane/dbaddsSqliteSessionBackend. It stores a SHA-256 of each session id, so a copy of the file can't be turned into a cookie.storage: "sqlite", or with the newsessions: "sqlite" | "memory"option.storage: "sqlite"and ignoresdata.sqlite*.Links
@acstane/dashboardREADME.Checks
pnpm lint,pnpm typecheckandpnpm buildpass.pnpm testpasses: 290 tests, including the new stream, hideHigher and session tests.Requested by zVapor
Generated by Claude Code