Repository navigation
Conversation
Ported from showrecorder.app: Chatwoot (self-hosted at chatwoot.ericdahl.dev), the "SoundcheckPlayer Website" inbox. The bubble is our own button; nothing from the chat host loads until it is pressed. If the chat does not load, it offers soundcheckplayer@ericdahl.dev instead. The CSP allows the chat host the same way showrecorder.app's does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VCgWWutwEqKiC9aQMQxaR5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VCgWWutwEqKiC9aQMQxaR5
Skeyelab
enabled auto-merge (squash)
December 3, 2026 07:24
Skeyelab
disabled auto-merge
December 3, 2026 07:53
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.
Adds support intake to soundcheckplayer.app the way showrecorder.app does it.
components/ChatBubble.tsx,lib/chat.ts), ported from ShowRecorder'swebsite/. Chatwoot, self-hosted at chatwoot.ericdahl.dev, inbox "SoundcheckPlayer Website" (its own website token; public by design). The bubble is our own static button in the site's green (--button-bg). Nothing loads from the chat host until it is pressed: no prefetch, preconnect or preload, so the site stays cookieless until then. Once loaded it hides and Chatwoot's own launcher takes over. If the chat does not load within 15 s, it offers soundcheckplayer@ericdahl.dev instead. It is hidden on/support, which will get its own "Chat with us" button.nginx.conf): the chat host added toscript-src,img-src,connect-src(https and wss) and a newframe-src, the same as showrecorder.app's.CONTACT_EMAIL = "soundcheckplayer@ericdahl.dev"inlib/site.ts.Not in this PR: #102 (
/privacyand/support) has not merged yet. Once it does, a follow-up points itsSUPPORT_CONTACT_URLat the new mailbox (dropping the TODO), adds "Chat with us" on/supportand a chat paragraph on/privacy. This PR and #102 both edit the home page's privacy section, so whichever lands second needs a small rebase there.Tests first (
tests/chat.test.ts): the loader (one script, only on click, fallback, retry), the bubble in the root layout, its styles, no resource hints to the chat host, the exact CSP directives, the privacy wording and the email.Checked:
yarn test:run(52 passed),yarn lint,yarn build. In a local build served fromout/, no request reached chatwoot.ericdahl.dev before the click, no cookie or local storage was set, and pressing the bubble injectedhttps://chatwoot.ericdahl.dev/packs/js/sdk.js. The script was intercepted, so the live widget was never loaded and no conversation was created; the email fallback then appeared. The live Chatwoot widget has not been loaded on this site.🤖 Generated with Claude Code
https://claude.ai/code/session_01VCgWWutwEqKiC9aQMQxaR5