feat: a full-screen, zoomable picture viewer
- conversation pictures (user attachments, generated and tool-read images) no longer open in a small dialog: a full-screen black viewer shows the title and page number, pinch zooms to 8x, double-tap toggles 2.5x around the touched point, and a zoomed picture pans by dragging - multiple pictures in the same message / tool run are one gallery: swipe while at 1x, but once zoomed the drag pans and paging is disabled until the picture returns to 1x - mirrors dsh-Go's ImageViewerPage/ImagePager/ZoomableImage behaviour - version 0.6.5+605; tests cover zoom, pan and paging
This commit is contained in:
1 parent
9ae1e9b97a
commit
c2dabbe187
6 files changed
+438
-130
No files matched your search
@@ -5,6 +5,17 @@
|
||||
|
||||
---
|
||||
|
||||
## 0.6.5 会话图片全屏查看(分支 `flutter`)
|
||||
|
||||
| 项 | 结果 |
|
||||
| --- | --- |
|
||||
| 查看器 | 会话内图片(用户附件、工具生成/读取的图片、生成图片)从对话框改为全屏查看:黑底、返回 + 标题 + 页码;双指缩放最大 8 倍,双击在 2.5 倍与原始大小间切换,缩放后可单指拖动查看局部;多张图片可左右滑动 |
|
||||
| 翻页与拖动 | 未缩放时单指左右滑动翻页;一旦放大,单指拖动用于平移图片,翻页被禁用,缩回原始大小后恢复翻页 |
|
||||
| 参考 | dsh-Go 的图片查看器就是这种相册式行为(`ImageViewerPage` + `ImagePager` + `ZoomableImage`:双指 8 倍、双击 2.5 倍、缩放时禁用翻页),本次按同样的交互实现 |
|
||||
| 版本 | **0.6.5(code 605)** |
|
||||
|
||||
---
|
||||
|
||||
## 0.6.4 Relay 错误横幅在后台恢复后不消失(分支 `flutter`)
|
||||
|
||||
| 项 | 结果 |
|
||||
|
||||
Reference in new issue
Block a user