fix: '날씨 불러오는 중'에서 8초 넘게 멈추면 첫 오류 문구와 다시 불러오기 버튼을 띄우고 GA boot_stuck 으로 보냄, 연달아 3번 다시 불러와도 그대로면 자동 새로고침 멈춤

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
minaChoiandClaude Opus 5.5 committed 2026-10-29 13:35:19 +09:00
1 parent b9dd0f203d
commit 8f5df2d352
4 files changed
+54 -4

No files matched your search

+2
View File
@@ -14,6 +14,8 @@ type Events = {
install_choice: { outcome: 'accepted' | 'dismissed' }
install_done: Record<string, never>
app_launch: { mode: 'standalone' }
/** index.html 첫 화면 스크립트가 gtag 로 바로 보낸다 */
boot_stuck: { reason: string; seconds: number; tries: number; app_started: boolean }
sheet_open: { sheet: SheetType }
like: { content_type: 'post' | 'comment' | 'talk' | PinnedKey; item_id: number }
comment: { post_id: number }
+3
View File
@@ -8,6 +8,9 @@ import App from './App.tsx'
import './b/install'
import { track } from './lib/analytics'
// index.html 의 첫 화면이 멈췄을 때 앱 파일까지는 실행됐는지 가르는 표시
;(window as Window & { __appStarted?: boolean }).__appStarted = true
// iOS는 user-scalable=no를 무시해서 두 손가락 확대를 직접 막는다
for (const type of ['gesturestart', 'gesturechange']) document.addEventListener(type, (e) => e.preventDefault(), { passive: false })