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

Adds a loading skeleton to posts, comments and trending communities #2311

Merged
merged 17 commits into from Mar 27, 2024

Conversation

rodrigo-fm
Copy link
Contributor

@rodrigo-fm rodrigo-fm commented Jan 7, 2024

Description

I don't know if this PR fixes any open issues, but I thought that adding a loading skeleton would give a better look to the website.

Hope you guys like it.

Screenshots

Before

image

After

desktop-loading.mp4
mobile-loading.mp4

rodrigo-fm and others added 2 commits March 25, 2024 17:31
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
@rodrigo-fm
Copy link
Contributor Author

Hey, sorry for being away for almost 3 months. I've implemented the changes you asked, let me know if you have more requests or if the pull request can be merged.

src/shared/components/common/loading-skeleton.tsx Outdated Show resolved Hide resolved
src/shared/components/common/loading-skeleton.tsx Outdated Show resolved Hide resolved
src/shared/components/common/loading-skeleton.tsx Outdated Show resolved Hide resolved
Copy link
Member

@dessalines dessalines left a comment

Choose a reason for hiding this comment

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

I tested it, and while the colors look a little harsh on the light theme, that can always be tweaked later. Once you get the conflicts fixed, we can merge. Thx for this!

@SleeplessOne1917 SleeplessOne1917 enabled auto-merge (squash) March 27, 2024 17:04
auto-merge was automatically disabled March 27, 2024 20:10

Head branch was pushed to by a user without write access

@SleeplessOne1917 SleeplessOne1917 merged commit 72553e4 into LemmyNet:main Mar 27, 2024
1 check passed
@rodrigo-fm rodrigo-fm deleted the feature/loading-skeleton branch March 27, 2024 20:47
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.

None yet

3 participants