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

feat: skeleton for posts #220

Merged
merged 3 commits into from
Jan 29, 2024

Conversation

Girishbari
Copy link
Contributor

Related Issue

Feat : #144

Description

Added Skeleton Component for posts

Screenshots

image

Copy link

vercel bot commented Jan 26, 2024

Someone is attempting to deploy a commit to a Personal Account owned by @Sanchitbajaj02 on Vercel.

@Sanchitbajaj02 first needs to authorize it.

@github-actions github-actions bot added wait for reviewers SWOC S4 Social Winter of Code (S4) 2024 contribution tag labels Jan 26, 2024
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Great job, @Girishbari! 🎉 Thank you for submitting your pull request. Your contribution is valuable and we appreciate your efforts to improve our project. Keep being the part of the community!

'We will promptly review your changes and offer feedback. Keep up the excellent work!
Kindly remember to check our Contributing Guidelines'

@Sanchitbajaj02 Sanchitbajaj02 linked an issue Jan 26, 2024 that may be closed by this pull request
2 tasks
@Sanchitbajaj02 Sanchitbajaj02 added ⭐ enhancement Feature enhancement EASY Difficulty Level: Easy labels Jan 26, 2024
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.1, type: "spring", stiffness: 110 }}
<div
Copy link
Owner

Choose a reason for hiding this comment

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

instead of remove, comment the functionality, we might need this later

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah I would gladly add if needed I know framer-motion but the problem is sometimes that component renders and sometimes not and due to this I removed that animation to make stable user experience

Copy link
Owner

Choose a reason for hiding this comment

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

That is why I said, we might need later when we finish making the components

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added the changes

Copy link
Owner

Choose a reason for hiding this comment

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

It would be better to load it in the loading.tsx of the user instead of creating a file at /src/app

Copy link
Contributor Author

Choose a reason for hiding this comment

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

but the Loader which is inside of Loading.tsx is being used in various places like buttons and all so adding the skeleton code will make things wrong

Copy link
Owner

Choose a reason for hiding this comment

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

what you can do is make a seperate loader file for /feed page in the /src/app/feed/loading.tsx

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added the changes

@Sanchitbajaj02
Copy link
Owner

@Manishak798 LGTM

Thanks for reviewing

@Sanchitbajaj02 Sanchitbajaj02 merged commit 344fa46 into Sanchitbajaj02:master Jan 29, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EASY Difficulty Level: Easy ⭐ enhancement Feature enhancement SWOC S4 Social Winter of Code (S4) 2024 contribution tag
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feat: Seperate Loading Skeleton for posts
3 participants