Skip to content

Add animated loading indicator to explore and category pages#482

Open
FreddyFunk wants to merge 1 commit intopop-os:masterfrom
FreddyFunk:feat/loading-animation
Open

Add animated loading indicator to explore and category pages#482
FreddyFunk wants to merge 1 commit intopop-os:masterfrom
FreddyFunk:feat/loading-animation

Conversation

@FreddyFunk
Copy link
Copy Markdown
Contributor

Adds simple loading indicator. Initial loading without any cached data can take a while on some systems so this gives the user at least some visual feedback that something is happening.

Please clear your cosmic-store cache before each test run to properly test. The cache can be cleared by running rm -rf ~/.cache/cosmic-store

@leviport leviport requested review from a team February 11, 2026 23:12
garrettjwilke
garrettjwilke previously approved these changes Feb 17, 2026
Copy link
Copy Markdown

@garrettjwilke garrettjwilke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

loading the cosmic-store for the first time shows a Loading... with animated dots. clicking on "Updates" also shows a "Checking for Updates...` with animated dots.

the text shifts every time a new "dot animation" is added. it feels unpolished. it works, but if there is a way to make the string the full length of the animation regardless of how many dots are currently rendered would make it less abrasive.

@leviport leviport requested a review from a team February 17, 2026 21:46
@leviport
Copy link
Copy Markdown
Member

Since this is a UI change, we should probably get UX's eyes on it. @garrettjwilke can you take a screen recording of the new animation and attach it here?

@garrettjwilke
Copy link
Copy Markdown

video capture of both the initial loading and the updates loading screens

cosmic-store.mp4

@FreddyFunk
Copy link
Copy Markdown
Contributor Author

@garrettjwilke good point. I made the animation more stable/stationary now and the loading texts should no longer shift during animation.

@leviport leviport requested a review from a team February 18, 2026 20:51
@jackpot51
Copy link
Copy Markdown
Member

This has a conflict in src/main.rs that needs to be resolved

@FreddyFunk FreddyFunk force-pushed the feat/loading-animation branch from 60a9370 to d24cedb Compare February 18, 2026 22:50
@FreddyFunk
Copy link
Copy Markdown
Contributor Author

rebased now

@maria-komarova
Copy link
Copy Markdown
Contributor

I was about to comment about the words jumping because of the animation but it sounds like that was fixed. If someone could post the video with the fix I'd appreciate it.
I was wondering if the animation is a bit jittery but that could have been just the words.

@garrettjwilke
Copy link
Copy Markdown

updated animation video:

cosmic-store-fix.mp4

@maria-komarova
Copy link
Copy Markdown
Contributor

Thanks @garrettjwilke, this helps.
I'd probably slow down the animation a bit to avoid having too much motion. It looks a little too fast and fragmented. We always strive to reduce motion. That should also make it look a bit more polished. It's a minor thing but since this animation is purely aesthetic we better get it right or not do it.
Also this will be replaced by the spinner once we have it so I don't know how much we want to change things now.

@maria-komarova
Copy link
Copy Markdown
Contributor

It would also be great to add a delay before the word and animation appear to avoid the words flashing in case the page loads quickly. When I previously prototyped it I had 500ms delay.
For the animation duration we might try 1 second. Not sure what it is right now so difficult for me to gauge the exact timing but we might start with 1 second.

@leviport leviport linked an issue Feb 23, 2026 that may be closed by this pull request
@FreddyFunk
Copy link
Copy Markdown
Contributor Author

Also this will be replaced by the spinner once we have it so I don't know how much we want to change things now.

I think I will wait until a spinner is in libcosmic. Once it is, please ping me here, then I will update the pull request with the spinner and rebase it.

@defaultUser822
Copy link
Copy Markdown
Contributor

defaultUser822 commented Apr 14, 2026

Hello @FreddyFunk, sorry for the ping but I think that there is a spinner, it's the cosmic::widget::progress_bar::circular widget

Here's a short video of how it looks:

2026-04-14.13-11-46.mp4

Note: The video was recorded on GNOME, so that's why it might look different.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Improvement] Add a loading throbber

6 participants