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:
blumia committed 2026-12-01 00:59:04 +08:00
1 parent 9ae1e9b97a
commit c2dabbe187
6 files changed
+438 -130

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ name: openchamber
description: "A lightweight OpenChamber client for phones."
publish_to: 'none'
version: 0.6.4+604
version: 0.6.5+605
environment:
sdk: ^3.14.0