Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading animations instead of "no messages #660

Merged
merged 4 commits into from
Jun 22, 2024

Conversation

MexHigh
Copy link
Contributor

@MexHigh MexHigh commented Jun 18, 2024

This PR adds loading animations to the application panels when loading messages, instead of just showing "no messages". I've used the already existing LoadingSpinner component for this.

Hint: This PR also changes the size of the LoadingSpinner from 150 to 40 (used after login and (since now) on message load). This looks way more modern in my opinion. Feel free to revert the last commit of this PR if you disagree.

Closes #658

- Added isLoading to MessageStore state
- Added conditional rendering for it
- All Loading spinners now use the `LoadingSpinner` component
Copy link
Member

@jmattheis jmattheis left a comment

Choose a reason for hiding this comment

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

thanks!

@jmattheis jmattheis merged commit 12c7164 into gotify:master Jun 22, 2024
1 check passed
@MexHigh MexHigh deleted the feat/ui-loading branch June 22, 2024 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

[UI] Show loading indicator when loading messages instead of "No messages"
2 participants