eCourt-Doc-Edit/docs/plans
Suphonchai Phoonsawat e0558e3cf4 Hotfix: auto-download fallback when Word cold-start drops the open URL
ผู้ใช้จริง (Mac): กด "เปิดใน Word" ตอน Word ยังไม่เปิดค้างอยู่ — Word
cold-start แล้ว URL event หลุด แสดงหน้า Recent แทนเอกสาร (ข้อจำกัด
ms-word:ofe บน macOS; กลไกนี้ผ่าน manual test ตอน Word เปิดอยู่ก่อนแล้ว)

- useVersionOpen.openDocxUrl: หน้าต่างรอ 1.5s → 3s และเมื่อไม่เห็นการ
  สลับแอป → ดาวน์โหลดไฟล์ให้อัตโนมัติ (anchor → presigned attachment)
  + ข้อความแนะนำเปิดจาก Downloads หรือกดซ้ำเมื่อ Word เปิดอยู่แล้ว
  — ใช้ร่วมทุกจุดเปิด docx (version rows, v0, ไฟล์ร่าง) PDF ไม่เกี่ยว
- Tests: timing edge 2999/3000 + href + notice, ไม่ download เมื่อสลับ
  แอปจริง, re-click ยกเลิก timer เก่า (web 59/59 + build)
- Spec FR-15/16 (~3s + auto-download + หมายเหตุ cold-start) +
  acceptance-review เพิ่ม manual check item
- QA reviewer PASS (1 round; minors 3 — แก้ 1 ยอมรับ 2 พร้อมเหตุผล)

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-10 12:22:57 +07:00
..
field-editor.md Phase 10: field editor (FR-14) 2026-08-22 09:17:15 +07:00
fr16-draft-generation-plan.md Phase 12: draft generation (FR-16) 2026-09-10 10:51:13 +07:00
officejs-implementation-plan.md Hotfix: auto-download fallback when Word cold-start drops the open URL 2026-09-10 12:22:57 +07:00
version-message.md Phase 9: version message (FR-13) 2026-08-20 22:05:49 +07:00
version-pdf.md Phase 11: version PDF (FR-15) 2026-09-08 14:01:13 +07:00
web-portal-redesign.md Phase 9: version message (FR-13) 2026-08-20 22:05:49 +07:00