[PR #4490] [MERGED] feat(mobile): shared-links #10401

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

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/4490
Author: @shenlong-tanwen
Created: 10/15/2023
Status: Merged
Merged: 10/22/2023
Merged by: @alextran1502

Base: mainHead: feat/mobile-shared-links


📝 Commits (10+)

  • ed1f981 add shared links page
  • 92c64ce feat(mobile): shared link items
  • ad15b28 feat(mobile): create / edit shared links page
  • 408fd6d server: add changeExpiryTime to SharedLinkEditDto
  • 8252114 fix(mobile): edit expiry to never
  • 7d934f6 mobile: add icon when shares list is empty
  • 0b336a5 mobile: create new share from album / timeline
  • 97fd165 mobile: add translation texts
  • 22c4e98 mobile: minor ui fixes
  • dc71915 fix: handle serverURL with /api path

📊 Changes

24 files changed (+1450 additions, -84 deletions)

View changed files

📝 cli/src/api/open-api/api.ts (+6 -0)
📝 mobile/assets/i18n/en-US.json (+19 -1)
📝 mobile/lib/modules/album/ui/album_viewer_appbar.dart (+12 -0)
📝 mobile/lib/modules/album/views/sharing_page.dart (+14 -3)
📝 mobile/lib/modules/home/ui/control_bottom_app_bar.dart (+72 -69)
📝 mobile/lib/modules/home/views/home_page.dart (+13 -6)
mobile/lib/modules/shared_link/models/shared_link.dart (+107 -0)
mobile/lib/modules/shared_link/providers/shared_link.provider.dart (+29 -0)
mobile/lib/modules/shared_link/services/shared_link.service.dart (+115 -0)
mobile/lib/modules/shared_link/ui/shared_link_item.dart (+307 -0)
mobile/lib/modules/shared_link/views/shared_link_edit_page.dart (+459 -0)
mobile/lib/modules/shared_link/views/shared_link_page.dart (+126 -0)
📝 mobile/lib/routing/router.dart (+5 -0)
📝 mobile/lib/routing/router.gr.dart (+91 -0)
📝 mobile/lib/shared/services/api.service.dart (+2 -0)
📝 mobile/lib/utils/immich_app_theme.dart (+13 -3)
📝 mobile/lib/utils/url_helper.dart (+14 -0)
📝 mobile/openapi/doc/SharedLinkEditDto.md (+1 -0)
📝 mobile/openapi/lib/model/shared_link_edit_dto.dart (+19 -1)
📝 mobile/openapi/test/shared_link_edit_dto_test.dart (+6 -0)

...and 4 more files

📄 Description

Closes #1863

Changes made in the PR

  • Adds support for displaying Shared links created by the user in the Shares tab
  • Actions to delete, edit and copy the shares just as the web client
  • Create share links from the mobile app
  • The actions list in control bottom bar is made into a scroll-able list. This will make it easier to add other buttons in the future without cluttering the UI

Screenshots:

Sharing page Shared links Landscape
sharing-page shared-links image
Sharing from homepage Share in album view Create / Edit share page
Share in main Share in album Create share page

Note

The home page bottom bar will now display two share buttons instead of one. The one which says "Share" is used to create the share link and the one which says "Share To" will share the selected assets to an external application


🔄 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/4490 **Author:** [@shenlong-tanwen](https://github.com/shenlong-tanwen) **Created:** 10/15/2023 **Status:** ✅ Merged **Merged:** 10/22/2023 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `feat/mobile-shared-links` --- ### 📝 Commits (10+) - [`ed1f981`](https://github.com/immich-app/immich/commit/ed1f9812ba5079278df4fded436f82ba8d6ceb38) add shared links page - [`92c64ce`](https://github.com/immich-app/immich/commit/92c64ce3add61d82f7292235eb4816514433c8c3) feat(mobile): shared link items - [`ad15b28`](https://github.com/immich-app/immich/commit/ad15b2808cda9dded05d27dad4e172bd8e77ad6f) feat(mobile): create / edit shared links page - [`408fd6d`](https://github.com/immich-app/immich/commit/408fd6d86848f9cb89b7ace58d3421bde74725de) server: add changeExpiryTime to SharedLinkEditDto - [`8252114`](https://github.com/immich-app/immich/commit/82521140f1ae41d6aa3d26c5adf38219130a55ed) fix(mobile): edit expiry to never - [`7d934f6`](https://github.com/immich-app/immich/commit/7d934f6f4a74b7820ee15b2e6f02c8c56ca5cd88) mobile: add icon when shares list is empty - [`0b336a5`](https://github.com/immich-app/immich/commit/0b336a5693c8e21b5a22ebe6460275568e6a2766) mobile: create new share from album / timeline - [`97fd165`](https://github.com/immich-app/immich/commit/97fd16569190813f3ded9f5e751b8f20237ee0eb) mobile: add translation texts - [`22c4e98`](https://github.com/immich-app/immich/commit/22c4e98346e87a77945e01ba09da59810eaeb907) mobile: minor ui fixes - [`dc71915`](https://github.com/immich-app/immich/commit/dc7191535aa2e1d49aa4fcfb9d0f54646105ed53) fix: handle serverURL with /api path ### 📊 Changes **24 files changed** (+1450 additions, -84 deletions) <details> <summary>View changed files</summary> 📝 `cli/src/api/open-api/api.ts` (+6 -0) 📝 `mobile/assets/i18n/en-US.json` (+19 -1) 📝 `mobile/lib/modules/album/ui/album_viewer_appbar.dart` (+12 -0) 📝 `mobile/lib/modules/album/views/sharing_page.dart` (+14 -3) 📝 `mobile/lib/modules/home/ui/control_bottom_app_bar.dart` (+72 -69) 📝 `mobile/lib/modules/home/views/home_page.dart` (+13 -6) ➕ `mobile/lib/modules/shared_link/models/shared_link.dart` (+107 -0) ➕ `mobile/lib/modules/shared_link/providers/shared_link.provider.dart` (+29 -0) ➕ `mobile/lib/modules/shared_link/services/shared_link.service.dart` (+115 -0) ➕ `mobile/lib/modules/shared_link/ui/shared_link_item.dart` (+307 -0) ➕ `mobile/lib/modules/shared_link/views/shared_link_edit_page.dart` (+459 -0) ➕ `mobile/lib/modules/shared_link/views/shared_link_page.dart` (+126 -0) 📝 `mobile/lib/routing/router.dart` (+5 -0) 📝 `mobile/lib/routing/router.gr.dart` (+91 -0) 📝 `mobile/lib/shared/services/api.service.dart` (+2 -0) 📝 `mobile/lib/utils/immich_app_theme.dart` (+13 -3) 📝 `mobile/lib/utils/url_helper.dart` (+14 -0) 📝 `mobile/openapi/doc/SharedLinkEditDto.md` (+1 -0) 📝 `mobile/openapi/lib/model/shared_link_edit_dto.dart` (+19 -1) 📝 `mobile/openapi/test/shared_link_edit_dto_test.dart` (+6 -0) _...and 4 more files_ </details> ### 📄 Description Closes #1863 #### Changes made in the PR - Adds support for displaying Shared links created by the user in the Shares tab - Actions to delete, edit and copy the shares just as the web client - Create share links from the mobile app - The actions list in control bottom bar is made into a scroll-able list. This will make it easier to add other buttons in the future without cluttering the UI #### Screenshots: Sharing page | Shared links | Landscape :-: | :-: | :-: ![sharing-page](https://github.com/immich-app/immich/assets/139912620/bfebbe42-39a2-4f51-88b4-2df07c448620) | ![shared-links](https://github.com/immich-app/immich/assets/139912620/d05e059d-7ca9-4134-adbe-ec6bc6b3aeb8) | ![image](https://github.com/immich-app/immich/assets/139912620/a4d77696-5681-4fc9-b81a-a01bba8c01c0) Sharing from homepage | Share in album view | Create / Edit share page :-: | :-: | :-: ![Share in main](https://github.com/immich-app/immich/assets/139912620/37d468d8-5015-4fcf-90fa-79f114589a01) | ![Share in album](https://github.com/immich-app/immich/assets/139912620/913a64c5-fc2b-4572-bcdd-1b4a1d8357c7) | ![Create share page](https://github.com/immich-app/immich/assets/139912620/d34c4477-6aa2-4c8c-8958-af6262f339a5) >[!Note] > The home page bottom bar will now display two share buttons instead of one. The one which says "Share" is used to create the share link and the one which says "Share To" will share the selected assets to an external application --- <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:21:14 +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#10401