Repository navigation
Web client: opens again on dev; no frosted backdrop in the browser (#281) - #282
Merged
Merged
Conversation
…anics (#281) The glass from #247 reads the window to blur it; in the browser Fyne's WebGL ReadPixels hands JavaScript a Go slice and panics, so the pairing sheet, the page's first dialog, killed it. There the glass is the tint alone. The smoke check now prints the page's console when it never pairs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tpm28
approved these changes
Nov 9, 2026
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.
Closes #281
Summary
Screenshots
The browser client served by
1loop-server, 5 s after loading (from1loop-web-smoke):Technical details
internal/ui/glass.go:frostedBackdropreturns nil whenruntime.GOOS == "js", which callers already treat as "canvas not readable" and draw the tint alone. In the browser,CaptureNow→ Fyne's WebGLReadPixels(github.com/fyne-io/gl-js) passes a Go[]bytetosyscall/js, which panics withValueOf: invalid value. The firstsheet.Show(connectOrigininweb_js.go) killed the page.cmd/1loop-web-smoke/main.go: on the pairing timeout, the console lines collected so far are logged before failing.make web+1loop-web-smoke -checkpasses (pairing, state reads, the event stream, 3 attachments); desktopgo build/go vetand wasmgo vet ./internal/uipass.Assisted-by: Claude Opus 5.5 (claude-opus-5-5) low
🤖 Generated with Claude Code