Skip to content

feat: enhance mobile responsiveness and improve session file validation#59

Open
vaas1993 wants to merge 1 commit intoTianyiDataScience:mainfrom
vaas1993:mobile-adaptation
Open

feat: enhance mobile responsiveness and improve session file validation#59
vaas1993 wants to merge 1 commit intoTianyiDataScience:mainfrom
vaas1993:mobile-adaptation

Conversation

@vaas1993
Copy link
Copy Markdown

screenshot_2026-03-27_10-35-25 screenshot_2026-03-27_10-36-06

- Added viewport meta tag for better mobile rendering across various pages.
- Implemented file validation in session history retrieval to ensure only valid files are processed.
- Updated UI components to improve layout and navigation on mobile devices.
@vaas1993
Copy link
Copy Markdown
Author

Adapt the display for mobile devices to provide a more user - friendly interaction experience. The main modifications include:

  1. Adjust the menu display method. On mobile devices, the menu is automatically collapsed and expands when clicked.
  2. For elements presented in side - by - side card - style, adjust them to be arranged vertically.
  3. Partially adapt the display size to ensure a normal display effect on mobile devices.

适配移动端显示,提供对移动端更友好的交互体验,主要修改包括:

  1. 调整菜单显示方式,在移动端自动收起,点击展开菜单;
  2. 对并排卡片式展示的元素,调整为上下排列;
  3. 显示尺寸局部适配,确保在移动端能提供正常的显示效果;

@TianyiDataScience
Copy link
Copy Markdown
Owner

谢谢你做这条 PR,也谢谢你把移动端体验认真拉了一遍,还附了截图。

我这次先没有直接 merge,主要是因为它一方面在调移动端布局,另一方面又碰了 src/clients/openclaw-live-client.tssrc/ui/server.ts 这些最近刚调整过的热区;GitHub 现在也已经是 dirty 状态。现在直接合的话,会把移动端视觉调整和运行时 / 校验逻辑一起带进来,回归面偏大。

如果你愿意继续推进,我会建议先基于最新 main rebase 一次,并优先把“纯移动端样式 / 布局”单独拆出来,这样最容易先合。

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.

2 participants