chore(ui): on-screen GCG export diagnostic (Android in-app WebView) #150

Closed
developer wants to merge 1 commits from feature/gcg-export-diagnostic into development
Owner

Temporary diagnostic, not a fix — to learn why GCG export silently does nothing on Android Telegram/VK in-app WebViews (no devtools there). You picked diagnostic-first.

On the contour, open a finished game → history → Export GCG on your Android Telegram/VK. Instead of (silently) sharing/downloading, a dark on-screen panel shows:

  • channel / insideVK / ua
  • navigator.share / navigator.canShare present?
  • canShare({files})true/false (the crux)
  • decision → share | download
  • the actual outcome: share(): resolved / share(): rejected — <err> / download(): anchor click issued, no throw

Tap Share to send me the panel text, or screenshot it. Tap anywhere else to dismiss. That reading tells us which branch dies, and I ship the targeted fix (then revert this).

Self-contained (Game.svelte + a probe in share.ts), clearly marked TEMPORARY. Verified: pnpm check (0/0), unit (356), build, e2e (160).

**Temporary diagnostic, not a fix** — to learn why GCG export silently does nothing on Android Telegram/VK in-app WebViews (no devtools there). You picked diagnostic-first. On the contour, open a **finished game → history → Export GCG** on your Android Telegram/VK. Instead of (silently) sharing/downloading, a dark on-screen panel shows: - `channel` / `insideVK` / `ua` - `navigator.share` / `navigator.canShare` present? - `canShare({files})` → **true/false** (the crux) - `decision` → share | download - the **actual outcome**: `share(): resolved` / `share(): rejected — <err>` / `download(): anchor click issued, no throw` Tap **Share** to send me the panel text, or screenshot it. Tap anywhere else to dismiss. That reading tells us which branch dies, and I ship the targeted fix (then revert this). Self-contained (Game.svelte + a probe in share.ts), clearly marked TEMPORARY. Verified: `pnpm check` (0/0), unit (356), build, e2e (160).
developer added 1 commit 2026-06-30 21:09:37 +00:00
chore(ui): on-screen GCG export diagnostic (Android in-app WebView)
CI / changes (pull_request) Successful in 2s
CI / unit (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / ui (pull_request) Successful in 58s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 1m18s
03f2658ac8
TEMPORARY diagnostic to find why GCG export silently does nothing on
Android Telegram/VK in-app WebViews, where there is no developer console
to read. Tapping Export now probes the delivery path — navigator.share /
canShare presence, canShare({files}), the share-vs-download decision —
performs the real attempt and captures its outcome, then renders it all in
an on-screen overlay (with a Share control to send the report back).

No fix yet by design (owner chose diagnostic-first): once the on-device
readings come back, this is replaced by the targeted Android delivery fix.
Author
Owner

Superseded by #151 — the real fix (clipboard copy on Android in-app WebViews). The diagnostic did its job: your readings confirmed no navigator.share / canShare on Android Telegram+VK. Closing.

Superseded by #151 — the real fix (clipboard copy on Android in-app WebViews). The diagnostic did its job: your readings confirmed no `navigator.share` / `canShare` on Android Telegram+VK. Closing.
developer closed this pull request 2026-07-01 11:17:30 +00:00
Some checks are pending
CI / changes (pull_request) Successful in 2s
CI / unit (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / ui (pull_request) Successful in 58s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 1m18s

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: developer/scrabble-game#150