[PR #2873] [MERGED] feat(web): add zoom toggle icon #9750

Closed
opened 2026-02-05 14:10:11 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/2873
Author: @mtaberna
Created: 6/20/2023
Status: Merged
Merged: 6/20/2023
Merged by: @alextran1502

Base: mainHead: feat/image-zoom-icon


📝 Commits (8)

  • ba94a3b feat(web): add zoom toggle icon
  • 7df93ab Merge branch 'immich-app:main' into feat/image-zoom-icon
  • 3d424c6 update zoom-image dependency
  • b794331 Merge branch 'feat/image-zoom-icon' of github.com:mtaberna/immich into feat/image-zoom-icon
  • 9775d01 fix lint issues
  • a42bcd6 remove variable testing line
  • 45cde09 Simplify code using ternary conditional
  • 6d697e3 fix typo

📊 Changes

6 files changed (+45 additions, -3 deletions)

View changed files

📝 web/src/app.d.ts (+1 -0)
📝 web/src/lib/components/asset-viewer/asset-viewer-nav-bar.svelte (+18 -0)
📝 web/src/lib/components/asset-viewer/asset-viewer.svelte (+1 -0)
📝 web/src/lib/components/asset-viewer/photo-viewer.svelte (+18 -2)
📝 web/src/lib/components/elements/buttons/circle-icon-button.svelte (+3 -1)
web/src/lib/stores/zoom-image.store.ts (+4 -0)

📄 Description

#2577 fast follow

Upgrades to latest zoom-image release (0.18.2). Adds a zoom toggle icon to the asset viewer nav. We run out of horizontal space on mobile so I decided to make it desktop only.

image

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/immich-app/immich/pull/2873 **Author:** [@mtaberna](https://github.com/mtaberna) **Created:** 6/20/2023 **Status:** ✅ Merged **Merged:** 6/20/2023 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `feat/image-zoom-icon` --- ### 📝 Commits (8) - [`ba94a3b`](https://github.com/immich-app/immich/commit/ba94a3bc21f15a7a7acf21b09cd9ba3047efb1aa) feat(web): add zoom toggle icon - [`7df93ab`](https://github.com/immich-app/immich/commit/7df93ab13976c0c5d6f2622014272ec549f78469) Merge branch 'immich-app:main' into feat/image-zoom-icon - [`3d424c6`](https://github.com/immich-app/immich/commit/3d424c6a704b1d2d454748d0ae26d2ef847e131e) update zoom-image dependency - [`b794331`](https://github.com/immich-app/immich/commit/b794331f287c9c06a1ae1352383ef569db297b70) Merge branch 'feat/image-zoom-icon' of github.com:mtaberna/immich into feat/image-zoom-icon - [`9775d01`](https://github.com/immich-app/immich/commit/9775d01c0a54ef541d4d1faa5644aa6158a02c78) fix lint issues - [`a42bcd6`](https://github.com/immich-app/immich/commit/a42bcd64edd17cc61a88ea829e82139df1b0e397) remove variable testing line - [`45cde09`](https://github.com/immich-app/immich/commit/45cde09ec9ad092435921e82294bbaa828836a33) Simplify code using ternary conditional - [`6d697e3`](https://github.com/immich-app/immich/commit/6d697e3f65829a4955c171764002440fe8fe467b) fix typo ### 📊 Changes **6 files changed** (+45 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `web/src/app.d.ts` (+1 -0) 📝 `web/src/lib/components/asset-viewer/asset-viewer-nav-bar.svelte` (+18 -0) 📝 `web/src/lib/components/asset-viewer/asset-viewer.svelte` (+1 -0) 📝 `web/src/lib/components/asset-viewer/photo-viewer.svelte` (+18 -2) 📝 `web/src/lib/components/elements/buttons/circle-icon-button.svelte` (+3 -1) ➕ `web/src/lib/stores/zoom-image.store.ts` (+4 -0) </details> ### 📄 Description #2577 fast follow Upgrades to latest zoom-image release (0.18.2). Adds a zoom toggle icon to the asset viewer nav. We run out of horizontal space on mobile so I decided to make it desktop only. <img width="1428" alt="image" src="https://github.com/immich-app/immich/assets/2022256/1c2ddca9-2418-4a36-8ed1-a9ec9c46dc59"> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 14:10:11 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#9750