refactor(chat): remove redundant auth state management from ChatScreen documentation

refactor(chat): update guest chat quota logic to use isProduction utility
fix(user): add TODO for user initialization event on login status change
This commit is contained in:
2026-06-17 15:30:36 +08:00
parent b67beaeae6
commit 977c0905bd
3 changed files with 9 additions and 19 deletions
-5
View File
@@ -2,11 +2,6 @@
/**
* ChatScreen 编排层
*
* 职责(本文件):
* - 订阅 auth 状态机(loginStatus)—— 派生 isGuest / 派鉴权生命周期事件给 chat 机器
* - 屏幕生命周期事件(init / visible / invisible
* - 不直接管理 WebSocket / 不直接读 AuthStorage(除 token 取值)
*
* 子组件职责:
* - ChatHeader:顶部栏(游客 banner / 菜单按钮)
* - ChatArea:消息列表