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 : Handled the async visuals while switching themes in sub-categories pages (#2294) #2300

Merged
merged 8 commits into from
Mar 24, 2024

Conversation

Sahil-106
Copy link
Contributor

Fixes Issue

Closes #2294

Changes proposed

By setting the duration property to 0, I have removed the transition effect altogether. This means that when switching between themes, there won't be any animation delay in the body of sub-categories pages in applying the theme change. It will happen instantly.

Screenshots

sub-categories.2.mp4

Note to reviewers

As a newcomer to open source, I am excited to be part of such a vibrant community and to have the opportunity to contribute to this project. I have carefully reviewed the changes and tested them to ensure they work as intended. However, as this is my first contribution, I welcome any feedback or suggestions you may have to improve the code. thank you!

Copy link

vercel bot commented Mar 16, 2024

Someone is attempting to deploy a commit to a Personal Account owned by @rupali-codes on Vercel.

@rupali-codes first needs to authorize it.

@github-actions github-actions bot added bug Something isn't working priority: medium Modifying an existing feature labels Mar 16, 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.

Thank you, Sahil-106, for creating this pull request and contributing to LinksHub! 💗

The maintainers will review this Pull Request and provide feedback as soon as possible! 😇
We appreciate your patience and contribution, Keep up the great work! 😀

Anmol-Baranwal
Anmol-Baranwal previously approved these changes Mar 16, 2024
Copy link
Collaborator

@Anmol-Baranwal Anmol-Baranwal left a comment

Choose a reason for hiding this comment

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

🚀 Looks good to me.

Copy link
Collaborator

@CBID2 CBID2 left a comment

Choose a reason for hiding this comment

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

Looks great! :) Your turn @rupali-codes

CBID2
CBID2 previously approved these changes Mar 16, 2024
Copy link
Collaborator

@CBID2 CBID2 left a comment

Choose a reason for hiding this comment

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

LGTM

layouts/GeneralLayout.tsx Outdated Show resolved Hide resolved
@Sahil-106 Sahil-106 dismissed stale reviews from CBID2 and Anmol-Baranwal via 31cde7c March 17, 2024 15:10
@Sahil-106
Copy link
Contributor Author

As per the suggestion, I have removed transition classes, and all things are working fine.

Copy link

vercel bot commented Mar 17, 2024

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

Name Status Preview Comments Updated (UTC)
linkshub ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 24, 2024 4:31pm

Copy link
Owner

@rupali-codes rupali-codes left a comment

Choose a reason for hiding this comment

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

@Sahil-106 it looks great, but can we also add some smooth transition here?

@Sahil-106
Copy link
Contributor Author

Sahil-106 commented Mar 17, 2024

@Sahil-106 it looks great, but can we also add some smooth transition here?

@rupali-codes
Yaa, this PR is all about the transition bug. Now I will create another issue for the addition of a smooth transition. 

Copy link
Collaborator

@aftabrehan aftabrehan left a comment

Choose a reason for hiding this comment

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

Excellent PR, @Sahil-106 💪🚀💯

@aftabrehan
Copy link
Collaborator

@rupali-codes, can you please help to review and merge the PR?

Copy link
Owner

@rupali-codes rupali-codes left a comment

Choose a reason for hiding this comment

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

looks perfect to me!

@aftabrehan aftabrehan added status: ready-to-merge Approved & its ready-to-merge 🚀 ready labels Mar 19, 2024
Copy link
Collaborator

@Anmol-Baranwal Anmol-Baranwal left a comment

Choose a reason for hiding this comment

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

🚀 Looks good to me.

@Anmol-Baranwal
Copy link
Collaborator

@rupali-codes
Please merge this!

@rupali-codes rupali-codes merged commit 1dcaf13 into rupali-codes:main Mar 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority: medium Modifying an existing feature 🚀 ready status: ready-to-merge Approved & its ready-to-merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Light and dark theme switching.
5 participants