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

fix-#445: Absence of a Proper Loading skeleton for the AddBlog Section #pr446 #451

Merged
merged 4 commits into from
Jul 20, 2024

Conversation

MetiUmashri
Copy link
Contributor

@MetiUmashri MetiUmashri commented Jul 13, 2024

Summary

This PR provides a Loading Skeleton for the AddBlog section so that the user has a seamless experience

Description

AddBlogPostSkeleton Component has been added and has been used to replace the previous Loader component that was used.

Images

image image

Issue(s) Addressed

Closes #445
Enter the issue number of the bug(s) that this PR fixes

Template should be strictly Closes <issue_number>
Example: Closes Centralised Error Handling #1

Prerequisites

Copy link

vercel bot commented Jul 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
wanderlust ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 14, 2024 1:28pm
wanderlust-backend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 14, 2024 1:28pm

Copy link

Hey @MetiUmashri! Thanks for sticking to the guidelines! High five! 🙌🏻

@MetiUmashri
Copy link
Contributor Author

MetiUmashri commented Jul 14, 2024

@krishnaacharyaa i have made the changes

@krishnaacharyaa
Copy link
Owner

Please add snapshots of both the loaders

Copy link

Hey @MetiUmashri! Thanks for sticking to the guidelines! High five! 🙌🏻

@MetiUmashri
Copy link
Contributor Author

i have added the screenshots, in the below screenshot of the loader working the footer is also seen, my screenshot is unable to capture it. But in both the loaders the footer is seen. @krishnaacharyaa i have added the screenshots.


function RequireAuth({ allowedRole }: { allowedRole: string[] }) {
const { role, token, loading } = useAuthData();

if (loading) {
return (
<>
<Loader />
<Loader/>
</>
Copy link
Owner

Choose a reason for hiding this comment

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

Which is this loader? Can you paste the screenshot of this?

Copy link
Owner

Choose a reason for hiding this comment

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

Can you enhance this even? For other cases let's say full page circular loader with white and black theme?

Copy link
Owner

Choose a reason for hiding this comment

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

If you prefer a new PR for that, i'm fine with that, just let me know

@krishnaacharyaa
Copy link
Owner

Hey sorry yaar @MetiUmashri , i thought i had commented, figured out i hadn't published it was in pending state, sorry for that, a bit busy with workplace, excuse me for the delay

@AMS003010
Copy link
Contributor

Hey @krishnaacharyaa

@MetiUmashri and I thought of improving the next loader in a different PR 😁
Both of us would like to work on this as well....

@krishnaacharyaa krishnaacharyaa merged commit b1e47b1 into krishnaacharyaa:main Jul 20, 2024
5 checks passed
@krishnaacharyaa krishnaacharyaa added gssoc Issue can be taken under GSSoC level1 labels Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc Issue can be taken under GSSoC level1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Absence of a Proper Loading skeleton for the AddBlog Section
3 participants