[PR #1014] [MERGED] feat(mobile) Add in app logging to show app's log information #8863

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

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/1014
Author: @alextran1502
Created: 11/24/2022
Status: Merged
Merged: 11/27/2022
Merged by: @alextran1502

Base: mainHead: feat/add-logging-to-app


📝 Commits (10+)

  • d49aaab Added sqlite library
  • a1d8046 Added InAppLogService
  • d526757 Refactor naming convention
  • 3f0e8da Added Logs page
  • f14de56 Merge branch 'main' of github.com:immich-app/immich into feat/add-logging-to-app
  • dfdff37 Share logs file under csv format
  • c948d37 Correctly remove out of bound log
  • df238d6 PR feedback
  • 1dbdaa4 Added enum to ImmichLoggerMessage model
  • 292231a Merge branch 'main' of github.com:immich-app/immich into feat/add-logging-to-app

📊 Changes

20 files changed (+537 additions, -84 deletions)

View changed files

📝 mobile/assets/i18n/en-US.json (+1 -0)
mobile/fonts/Inconsolata-Regular.ttf (+0 -0)
📝 mobile/lib/constants/hive_box.dart (+3 -0)
📝 mobile/lib/main.dart (+7 -0)
📝 mobile/lib/modules/backup/background_service/background.service.dart (+0 -1)
📝 mobile/lib/modules/backup/providers/backup.provider.dart (+34 -18)
📝 mobile/lib/modules/home/ui/profile_drawer/profile_drawer.dart (+27 -2)
📝 mobile/lib/modules/login/views/login_page.dart (+53 -2)
📝 mobile/lib/routing/router.dart (+16 -11)
📝 mobile/lib/routing/router.gr.dart (+18 -1)
mobile/lib/shared/models/immich_logger_message.model.dart (+34 -0)
mobile/lib/shared/models/immich_logger_message.model.g.dart (+53 -0)
📝 mobile/lib/shared/providers/asset.provider.dart (+10 -10)
📝 mobile/lib/shared/providers/release_info.provider.dart (+2 -4)
📝 mobile/lib/shared/providers/websocket.provider.dart (+24 -23)
mobile/lib/shared/services/immich_logger.service.dart (+87 -0)
mobile/lib/shared/views/app_log_page.dart (+153 -0)
📝 mobile/pubspec.lock (+10 -10)
📝 mobile/pubspec.yaml (+4 -1)
📝 server/apps/immich/src/api-v1/user/user.service.spec.ts (+1 -1)

📄 Description

Baby is chilled and wonderful, and I am bored, so I need to do something to kill time.

This PR creates ImmichLogger service to log in to the app and record the log information, which can be shown on the Logs page.

Logs can be shared in CSV format.

The logs can be accessed from the login page as well.


🔄 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/1014 **Author:** [@alextran1502](https://github.com/alextran1502) **Created:** 11/24/2022 **Status:** ✅ Merged **Merged:** 11/27/2022 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `feat/add-logging-to-app` --- ### 📝 Commits (10+) - [`d49aaab`](https://github.com/immich-app/immich/commit/d49aaab40d4ae2cbf9309181ac3a718f4118b782) Added sqlite library - [`a1d8046`](https://github.com/immich-app/immich/commit/a1d8046644abbf2c2583c300e59d1ff868dcbbd4) Added InAppLogService - [`d526757`](https://github.com/immich-app/immich/commit/d5267577bed684f1c02513db01c82fac39a58aff) Refactor naming convention - [`3f0e8da`](https://github.com/immich-app/immich/commit/3f0e8da630ff64016cd64e67177781f7effbbcd7) Added Logs page - [`f14de56`](https://github.com/immich-app/immich/commit/f14de5645be2158f61e64304f80030bd2a2e01ee) Merge branch 'main' of github.com:immich-app/immich into feat/add-logging-to-app - [`dfdff37`](https://github.com/immich-app/immich/commit/dfdff374ed882bf219d5cf09729efb4593fada39) Share logs file under csv format - [`c948d37`](https://github.com/immich-app/immich/commit/c948d3795037816d1eef66c84211919c278e3154) Correctly remove out of bound log - [`df238d6`](https://github.com/immich-app/immich/commit/df238d6c32b4d2d34225fd93d8e8cea3099796d1) PR feedback - [`1dbdaa4`](https://github.com/immich-app/immich/commit/1dbdaa4c4c5f60205c44a3bcb08788c71f8c8447) Added enum to ImmichLoggerMessage model - [`292231a`](https://github.com/immich-app/immich/commit/292231a4af2c7f0859a2e11a9e389ed3f8d3037c) Merge branch 'main' of github.com:immich-app/immich into feat/add-logging-to-app ### 📊 Changes **20 files changed** (+537 additions, -84 deletions) <details> <summary>View changed files</summary> 📝 `mobile/assets/i18n/en-US.json` (+1 -0) ➕ `mobile/fonts/Inconsolata-Regular.ttf` (+0 -0) 📝 `mobile/lib/constants/hive_box.dart` (+3 -0) 📝 `mobile/lib/main.dart` (+7 -0) 📝 `mobile/lib/modules/backup/background_service/background.service.dart` (+0 -1) 📝 `mobile/lib/modules/backup/providers/backup.provider.dart` (+34 -18) 📝 `mobile/lib/modules/home/ui/profile_drawer/profile_drawer.dart` (+27 -2) 📝 `mobile/lib/modules/login/views/login_page.dart` (+53 -2) 📝 `mobile/lib/routing/router.dart` (+16 -11) 📝 `mobile/lib/routing/router.gr.dart` (+18 -1) ➕ `mobile/lib/shared/models/immich_logger_message.model.dart` (+34 -0) ➕ `mobile/lib/shared/models/immich_logger_message.model.g.dart` (+53 -0) 📝 `mobile/lib/shared/providers/asset.provider.dart` (+10 -10) 📝 `mobile/lib/shared/providers/release_info.provider.dart` (+2 -4) 📝 `mobile/lib/shared/providers/websocket.provider.dart` (+24 -23) ➕ `mobile/lib/shared/services/immich_logger.service.dart` (+87 -0) ➕ `mobile/lib/shared/views/app_log_page.dart` (+153 -0) 📝 `mobile/pubspec.lock` (+10 -10) 📝 `mobile/pubspec.yaml` (+4 -1) 📝 `server/apps/immich/src/api-v1/user/user.service.spec.ts` (+1 -1) </details> ### 📄 Description Baby is chilled and wonderful, and I am bored, so I need to do something to kill time. This PR creates `ImmichLogger` service to log in to the app and record the log information, which can be shown on the Logs page. Logs can be shared in CSV format. <p> <img width="250" src="https://user-images.githubusercontent.com/27055614/203839463-d4065b91-12de-4888-8039-d9884497533e.png" title="Drawer"/> <img width="250" src="https://user-images.githubusercontent.com/27055614/203894446-420b2918-cc91-4d3d-b181-8daef26b617b.png" title="Sharing"/> <img width="250" src="https://user-images.githubusercontent.com/27055614/204122072-09211b42-f62b-411e-b6b1-57e1e027eb24.png" title="Error Msg Indicator"/> </p> The logs can be accessed from the login page as well. <img width="250" src="https://user-images.githubusercontent.com/27055614/204146375-92e8dfd4-c293-4d98-ae5e-a88c364a8b19.png" title="Login page with logs button"/> --- <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:54:31 +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#8863