docs: document in-app navigation persistence (no transfer interruption)

- README.md / README.zh-CN.md:
      - Add feature bullet for in-app navigation persistence (same-tab SPA)
      - Note boundaries: refresh/tab close/new tab not covered
  - Frontend architecture (zh/en):
      - Add “State & Connection Lifecycle (In-App Navigation)” section
      - Explain Zustand store singleton and webrtcService singleton across routes
      - Guidance: avoid leaveRoom()/store reset on route-change side effects
  - System architecture (zh/en):
      - Add “Runtime Session Model (Frontend)” summary
  - AI Playbook:
      - flows.zh-CN.md: add UX optimization item for in-app navigation persistence and debugging notes
      - code-map.zh-CN.md: mark webrtcService and fileTransferStore as singletons (cross-route)
This commit is contained in:
david_bai
2025-11-24 15:06:10 +08:00
parent 89a38936b6
commit 10f236dc8d
9 changed files with 34 additions and 3 deletions
+2
View File
@@ -16,6 +16,8 @@ coverage/
.next/
# Ignore out/ directories in all subdirectories
out/
out.zip
deploy.config*
# production
# Ignore build/ directories in all subdirectories