[PR #336] [MERGED] Refactor mobile to use OpenApi generated SDK #8570

Closed
opened 2026-02-05 13:49:34 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/336
Author: @alextran1502
Created: 7/13/2022
Status: Merged
Merged: 7/13/2022
Merged by: @alextran1502

Base: mainHead: chores/refactor-open-api-mobile


📝 Commits (10+)

  • ac2799e generate api for dart using http
  • d803936 Added generator script
  • 52b0e15 Fixed API generation for dart with ApiProperty generator
  • 62db51f Merge branch 'main' of github.com:alextran1502/immich into chores/refactor-open-api-mobile
  • a6e2c7f Added english for login_form_failed_login
  • 9ff87a2 Added better messages
  • 2813a52 Fixed translation key without content
  • db86cb0 Fixed notification nullable
  • 818469d Refactoring authentication_provider
  • 48b36a7 Added nUpdateDeviceInfoDto

📊 Changes

276 files changed (+14511 additions, -3001 deletions)

View changed files

📝 README.md (+10 -1)
📝 mobile/analysis_options.yaml (+9 -1)
📝 mobile/assets/i18n/en-US.json (+3 -1)
📝 mobile/lib/main.dart (+13 -8)
📝 mobile/lib/modules/asset_viewer/providers/image_viewer_page_state.provider.dart (+11 -7)
📝 mobile/lib/modules/asset_viewer/services/image_viewer.service.dart (+17 -15)
📝 mobile/lib/modules/asset_viewer/ui/exif_bottom_sheet.dart (+21 -12)
📝 mobile/lib/modules/asset_viewer/ui/remote_photo_view.dart (+41 -29)
📝 mobile/lib/modules/asset_viewer/ui/top_control_app_bar.dart (+15 -14)
📝 mobile/lib/modules/asset_viewer/views/image_viewer_page.dart (+19 -16)
📝 mobile/lib/modules/asset_viewer/views/video_viewer_page.dart (+14 -10)
📝 mobile/lib/modules/backup/models/backup_state.model.dart (+7 -5)
mobile/lib/modules/backup/models/check_duplicate_asset_response.model.dart (+0 -48)
📝 mobile/lib/modules/backup/providers/backup.provider.dart (+39 -30)
📝 mobile/lib/modules/backup/services/backup.service.dart (+53 -57)
📝 mobile/lib/modules/backup/ui/album_info_card.dart (+23 -11)
📝 mobile/lib/modules/backup/ui/backup_info_card.dart (+6 -6)
📝 mobile/lib/modules/backup/views/album_preview_page.dart (+16 -10)
📝 mobile/lib/modules/backup/views/backup_album_selection_page.dart (+31 -19)
📝 mobile/lib/modules/backup/views/backup_controller_page.dart (+73 -55)

...and 80 more files

📄 Description

This PR refactors all the API call in the mobile app to use OpenAPI SDK


🔄 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/336 **Author:** [@alextran1502](https://github.com/alextran1502) **Created:** 7/13/2022 **Status:** ✅ Merged **Merged:** 7/13/2022 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `chores/refactor-open-api-mobile` --- ### 📝 Commits (10+) - [`ac2799e`](https://github.com/immich-app/immich/commit/ac2799e2f16380761489933d138c8a531ca2f39b) generate api for dart using http - [`d803936`](https://github.com/immich-app/immich/commit/d80393605d6f74173b869ddeba7a6ea52d6b0270) Added generator script - [`52b0e15`](https://github.com/immich-app/immich/commit/52b0e15fb03325705a3a7744b7db6a8a12ac23dd) Fixed API generation for dart with ApiProperty generator - [`62db51f`](https://github.com/immich-app/immich/commit/62db51fcd1a2f0f089f249467475e9439eeea38c) Merge branch 'main' of github.com:alextran1502/immich into chores/refactor-open-api-mobile - [`a6e2c7f`](https://github.com/immich-app/immich/commit/a6e2c7f5dfdd766170503a5647001f911e97187f) Added english for login_form_failed_login - [`9ff87a2`](https://github.com/immich-app/immich/commit/9ff87a296bc1a3e47a75e8022a65d071faf6d684) Added better messages - [`2813a52`](https://github.com/immich-app/immich/commit/2813a5256e44b832a302910d06dcb6ebc022e2d5) Fixed translation key without content - [`db86cb0`](https://github.com/immich-app/immich/commit/db86cb05ec00804d2f9d2cc2fff881642b304060) Fixed notification nullable - [`818469d`](https://github.com/immich-app/immich/commit/818469dd29090c219f86ce06864854864b516027) Refactoring authentication_provider - [`48b36a7`](https://github.com/immich-app/immich/commit/48b36a72de203ae3c30158d7074548ee1ece40b6) Added nUpdateDeviceInfoDto ### 📊 Changes **276 files changed** (+14511 additions, -3001 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+10 -1) 📝 `mobile/analysis_options.yaml` (+9 -1) 📝 `mobile/assets/i18n/en-US.json` (+3 -1) 📝 `mobile/lib/main.dart` (+13 -8) 📝 `mobile/lib/modules/asset_viewer/providers/image_viewer_page_state.provider.dart` (+11 -7) 📝 `mobile/lib/modules/asset_viewer/services/image_viewer.service.dart` (+17 -15) 📝 `mobile/lib/modules/asset_viewer/ui/exif_bottom_sheet.dart` (+21 -12) 📝 `mobile/lib/modules/asset_viewer/ui/remote_photo_view.dart` (+41 -29) 📝 `mobile/lib/modules/asset_viewer/ui/top_control_app_bar.dart` (+15 -14) 📝 `mobile/lib/modules/asset_viewer/views/image_viewer_page.dart` (+19 -16) 📝 `mobile/lib/modules/asset_viewer/views/video_viewer_page.dart` (+14 -10) 📝 `mobile/lib/modules/backup/models/backup_state.model.dart` (+7 -5) ➖ `mobile/lib/modules/backup/models/check_duplicate_asset_response.model.dart` (+0 -48) 📝 `mobile/lib/modules/backup/providers/backup.provider.dart` (+39 -30) 📝 `mobile/lib/modules/backup/services/backup.service.dart` (+53 -57) 📝 `mobile/lib/modules/backup/ui/album_info_card.dart` (+23 -11) 📝 `mobile/lib/modules/backup/ui/backup_info_card.dart` (+6 -6) 📝 `mobile/lib/modules/backup/views/album_preview_page.dart` (+16 -10) 📝 `mobile/lib/modules/backup/views/backup_album_selection_page.dart` (+31 -19) 📝 `mobile/lib/modules/backup/views/backup_controller_page.dart` (+73 -55) _...and 80 more files_ </details> ### 📄 Description This PR refactors all the API call in the mobile app to use OpenAPI SDK --- <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 13:49:34 +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#8570