[FEATURE] Add indicator for actions that is in progress #350

Closed
opened 2026-02-04 19:55:56 +03:00 by OVERLORD · 8 comments
Owner

Originally created by @dorianim on GitHub (Oct 8, 2022).

Feature detail

The performance when opening the app is currently less than optimal. I have about 7000 assets on my phone, and it takes very long (>30 seconds) for the app to be fully usable after restarted. Especially the backup settings (e.g. count of "total", "backup", "remainder") stays at zero for a long time without any indication that something happens in the background (a spinner or something similar would be nice :)

It also takes very long to initially load the photo library. When I open the app, the view is empty for several seconds (here, some busy indicator, e.g. a skeleton would make the UX a lot better:)
image

To me, it looks like everything is loaded from zero at every restart of the app, as the performance got worse, the more pictures I uploaded. I think, it would make sense to cache very aggressively here and only download deltas every time.

I'm currently trying immich for me, my dad and my girlfriend and details like this (long waiting times, no indication that something is happening in the background) are things that confuse them and make them dislike the app, which is a shame, as I'd really like to use it :)

Platform

Mobile App

Originally created by @dorianim on GitHub (Oct 8, 2022). ### Feature detail The performance when opening the app is currently less than optimal. I have about 7000 assets on my phone, and it takes very long (>30 seconds) for the app to be fully usable after restarted. Especially the backup settings (e.g. count of "total", "backup", "remainder") stays at zero for a long time without any indication that something happens in the background (a spinner or something similar would be nice :) It also takes very long to initially load the photo library. When I open the app, the view is empty for several seconds (here, some busy indicator, e.g. a [skeleton](https://mui.com/material-ui/react-skeleton/#variants) would make the UX a lot better:) ![image](https://user-images.githubusercontent.com/30153207/194726593-ea37c99c-d589-4624-a6c7-b9037c234c76.png) To me, it looks like everything is loaded from zero at every restart of the app, as the performance got worse, the more pictures I uploaded. I think, it would make sense to cache very aggressively here and only download deltas every time. I'm currently trying immich for me, my dad and my girlfriend and details like this (long waiting times, no indication that something is happening in the background) are things that confuse them and make them dislike the app, which is a shame, as I'd really like to use it :) ### Platform Mobile App
Author
Owner

@alextran1502 commented on GitHub (Oct 8, 2022):

Have you try the experimental feature for the new asset grid? it is meant to solve this issue.

@alextran1502 commented on GitHub (Oct 8, 2022): Have you try the experimental feature for the new asset grid? it is meant to solve this issue.
Author
Owner

@alextran1502 commented on GitHub (Oct 8, 2022):

This is also a known issue of slow loading time at the start. The improvement work is in progress.

@alextran1502 commented on GitHub (Oct 8, 2022): This is also a known issue of slow loading time at the start. The improvement work is in progress.
Author
Owner

@dorianim commented on GitHub (Oct 8, 2022):

The experimental photo grid makes it a bit better, but still there are a few seconds with a blank screen. Also, the backup page shows 0 for everything and no selected albums for a long time. This is the bigger problem in my opinion, as it always looks like it "forgot" all the selected albums. My dad has ~60 albums selected for backup, and it looks like this for about 30 seconds:
image

It would be nice to at least have some form of busy indicator here, as it is really confusing :)

@dorianim commented on GitHub (Oct 8, 2022): The experimental photo grid makes it a bit better, but still there are a few seconds with a blank screen. Also, the backup page shows 0 for everything and no selected albums for a long time. This is the bigger problem in my opinion, as it always looks like it "forgot" all the selected albums. My dad has ~60 albums selected for backup, and it looks like this for about 30 seconds: ![image](https://user-images.githubusercontent.com/30153207/194727309-bd1de385-851c-4c11-acec-df4e973cc2c5.png) It would be nice to at least have some form of busy indicator here, as it is really confusing :)
Author
Owner

@alextran1502 commented on GitHub (Oct 9, 2022):

The experimental photo grid makes it a bit better, but still there are a few seconds with a blank screen. Also, the backup page shows 0 for everything and no selected albums for a long time. This is the bigger problem in my opinion, as it always looks like it "forgot" all the selected albums. My dad has ~60 albums selected for backup, and it looks like this for about 30 seconds: image

It would be nice to at least have some form of busy indicator here, as it is really confusing :)

Got it, thank you for the info. Will put in those indicator.

@alextran1502 commented on GitHub (Oct 9, 2022): > The experimental photo grid makes it a bit better, but still there are a few seconds with a blank screen. Also, the backup page shows 0 for everything and no selected albums for a long time. This is the bigger problem in my opinion, as it always looks like it "forgot" all the selected albums. My dad has ~60 albums selected for backup, and it looks like this for about 30 seconds: ![image](https://user-images.githubusercontent.com/30153207/194727309-bd1de385-851c-4c11-acec-df4e973cc2c5.png) > > It would be nice to at least have some form of busy indicator here, as it is really confusing :) Got it, thank you for the info. Will put in those indicator.
Author
Owner

@dorianim commented on GitHub (Oct 9, 2022):

Do you recheck all the files on every start of the app? Maybe it would make sense to cache the scanning results to avoid the long loading times.

But a busy indicator will definetly be a huge improovement already!

@dorianim commented on GitHub (Oct 9, 2022): Do you recheck all the files on every start of the app? Maybe it would make sense to cache the scanning results to avoid the long loading times. But a busy indicator will definetly be a huge improovement already!
Author
Owner

@alextran1502 commented on GitHub (Oct 9, 2022):

Do you recheck all the files on every start of the app? Maybe it would make sense to cache the scanning results to avoid the long loading times.

But a busy indicator will definetly be a huge improovement already!

You can turn off the auto backup (not background backup), it would prevent the app start to scan for all asset when launched, resumed

@alextran1502 commented on GitHub (Oct 9, 2022): > Do you recheck all the files on every start of the app? Maybe it would make sense to cache the scanning results to avoid the long loading times. > > But a busy indicator will definetly be a huge improovement already! You can turn off the auto backup (not background backup), it would prevent the app start to scan for all asset when launched, resumed
Author
Owner

@bo0tzz commented on GitHub (Oct 21, 2022):

The long loading time on start should be resolved by #826 (cc: @matthinc?). I've specified the backup screen issue in more detail in #834. That would just leave the loading indicator for this issue.

@bo0tzz commented on GitHub (Oct 21, 2022): The long loading time on start should be resolved by #826 (cc: @matthinc?). I've specified the backup screen issue in more detail in #834. That would just leave the loading indicator for this issue.
Author
Owner

@matthinc commented on GitHub (Oct 21, 2022):

Yeah, pretty much solved by #826. The long loading time should only occur on first launch or after a logout (which triggers a cache invalidation). An indicator would still be a nice touch.

@matthinc commented on GitHub (Oct 21, 2022): Yeah, pretty much solved by #826. The long loading time should only occur on first launch or after a logout (which triggers a cache invalidation). An indicator would still be a nice touch.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#350