Skip to content

fix(workspace): close file view on mobile back - #658

Closed
mrytsr wants to merge 1 commit into
xintaofei:mainfrom
mrytsr:fix/mobile-workspace-file-history
Closed

fix(workspace): close file view on mobile back#658
mrytsr wants to merge 1 commit into
xintaofei:mainfrom
mrytsr:fix/mobile-workspace-file-history

Conversation

@mrytsr

@mrytsr mrytsr commented Sep 5, 2026

Copy link
Copy Markdown

Summary

移动端 /workspace 文件视图下,打开文件时只压入一个合成历史记录;浏览器返回时关闭文件工作区而不是离开页面,手动关闭所有文件时消费该历史记录,并保留脏文件关闭确认逻辑。

Test Plan

  • pnpm test src/contexts/workspace-context.test.tsx

@mrytsr mrytsr closed this Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant