Skip to content

fix(web): stabilize images from linked threads - #1239

Merged
nixuuu merged 2 commits into
devfrom
fix/remote-image-preview
Nov 24, 2026
Merged

nixuuu merged 2 commits into
devfrom
fix/remote-image-preview

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Images embedded in a completed thread response could briefly return to “Loading image…” when Canopy received a linked computer update. During the reload, the thumbnail's open button was replaced. Deriving availability separately keeps the image and its open button mounted when the connection status is unchanged. Changes in connection status, gateway resyncs and manual Retry still start a new attempt.

Thanks @M-Zajace for reporting this.

Fixes: #421

Verification

  • Tested head 41c0dac49224b040a60bec8a85d976720aeebdab locally on Linux.
  • Chromium with the shared web/Desktop renderer and synthetic images at 1280 px and 390 px. Reproduced the issue before the fix. On the fixed head, updates to the completed transcript and linked computer metadata preserve the loaded image and its open button. One click opens the full image, and updates preserve the open preview. Also checked recovery after a presence change, gateway resync and manual Retry.
  • Linked attachment integration test passed against two local gateways. It covered qualified attachment reads through the BFF, older homes, owner scoping and availability. Web typecheck, targeted lint, formatting and diff review passed.
  • The browser exercise used a synthetic linked computer event. The reporter's Desktop setup was not tested. UI copy is unchanged. GitHub CI runs the required repository checks.

Keep the image attempt stable when linked computer metadata changes without changing availability.

Fixes: #421
@nixuuu
nixuuu enabled auto-merge (squash) November 24, 2026 16:49
@nixuuu
nixuuu disabled auto-merge November 24, 2026 16:49
@nixuuu
nixuuu enabled auto-merge (squash) November 24, 2026 16:54
@nixuuu
nixuuu merged commit 48dc48a into dev Nov 24, 2026
12 checks passed
@nixuuu
nixuuu deleted the fix/remote-image-preview branch November 24, 2026 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant