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

Only show loading indicator when necesarry #3550

Merged
merged 1 commit into from Feb 10, 2023
Merged

Conversation

ivarnakken
Copy link
Member

Description

Currently on /events, you'll get a loading indicator even though you have events stored. This is for obvious reasons unnecessary, and is fixed here.

Result

Before

Screen.Recording.2023-02-10.at.14.06.53.mov

After

Whenever the theme changes, that's me doing a hard refresh. Notice that I do a hard refresh on two different routes.

Screen.Recording.2023-02-10.at.14.04.23.mov

Testing

  • I have thoroughly tested my changes.

Navigated between routes and did hard refreshes. This should not affect anything else.


Resolves ABA-267

Currently on /events, you'll get a loading indicator even though you
have events stored. This is for obvious reasons unecesarry, and is fixed
here.
@ivarnakken ivarnakken added review-needed Pull requests that need review bug-fix Pull requests that fix a bug small-fix Pull requests that fix something small labels Feb 10, 2023
@ivarnakken ivarnakken requested a review from a team February 10, 2023 13:08
@linear
Copy link

linear bot commented Feb 10, 2023

@LudvigHz
Copy link
Member

Thanks, this has annoyed me for a long time 👍

@ivarnakken ivarnakken added approved Pull requests that have been approved ready-to-merge Pull requests that have been approved and are ready to be merged and removed review-needed Pull requests that need review labels Feb 10, 2023
Copy link
Member

@eikhr eikhr left a comment

Choose a reason for hiding this comment

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

lgtm

@ivarnakken ivarnakken merged commit d392904 into master Feb 10, 2023
@ivarnakken ivarnakken deleted the events-loading branch February 10, 2023 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Pull requests that have been approved bug-fix Pull requests that fix a bug ready-to-merge Pull requests that have been approved and are ready to be merged small-fix Pull requests that fix something small
Projects
None yet
3 participants