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

Optimize particlesJS config and improve Back-To-Top button efficiency #1522

Closed
wants to merge 1 commit into from

Conversation

Aayush2308
Copy link

Project-Guidance! 🎊🎈

Welcome! πŸŽ‰

Thank you for visiting our repository! We're excited to have you here. If you find this project useful, please consider giving it a star! ⭐

πŸŽ‰ Have you reviewed the Contributing Guidelines? πŸ€” (Required)

  • YES
  • NO

πŸ“ Description

This issue proposes optimizing the particlesJS configuration and improving the Back-To-Top button efficiency. Changes include removing unused particlesJS configs, optimizing Back-To-Top button code, and general code cleanup. It addresses code inefficiency and potential performance issues. Motivation stems from reducing code footprint, enhancing performance (especially scroll handling), improving readability, and adopting modern JavaScript practices. Expected benefits include faster page loads and smoother scrolling, particularly on lower-end devices. No new dependencies are introduced; it relies on the existing particlesJS library and vanilla JavaScript. The changes are backwards-compatible and shouldn't disrupt current functionality. This optimization aims to streamline the codebase and improve overall user experience without compromising existing features.
This brief description encapsulates all the main points from the detailed summary, including the proposed changes, the issues addressed, motivation and context, expected benefits, and information about dependencies, all while maintaining conciseness.

πŸ”§ Fixes #issue_no (#1521)

Screenshots:

Before:

image
image
image

After:
image
image
image
image

You can see that before changes there were 143 lines of code and after changes it changed to 104 lines which explains the coded efficiency and maintainability.

🏷️ Initiative Participation (Required)

This pull request is associated with the following initiative. Please choose the one you are contributing to:

  • 🌸 GSSoC (Girl Script Summer of Code)
  • 🌼 GSSoC 2024 Extd.
  • πŸ‚ Hacktoberfest 2024
  • ❄️ Script Winter of Code (SWoC)
  • β›„ Winter of Blockchain (WoB)
  • πŸ™‹β€β™‚οΈ Personal
  • πŸ“Œ Other (please specify): _______________

Please add labels #hacktoberfest-accepted, #hacktoberfest, #level3
Thank you !!

Copy link

@Aayush2308

It's great having you contribute to this project

Thank you for opening a Pull Request πŸ™Œ , Welcome to Project Guidance πŸ’– We will review everything and get back to you :)

Copy link
Owner

@Kushal997-das Kushal997-das left a comment

Choose a reason for hiding this comment

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

Hi @Aayush2308,

I appreciate your work! Could you please deploy the website and provide the live link?

Thank you!

@Kushal997-das Kushal997-das added Hold I’m waiting for additional responses before proceeding. hacktoberfest2024 Your contribution is part of Hacktoberfest 2024! πŸŽ‰ No_Update It's been so long you are not responding to this issue so we are going to close the issue soon. Closed: 🚫 This issue or PR is closed due to invalidity or prolonged inactivity and lack of updates. labels Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed: 🚫 This issue or PR is closed due to invalidity or prolonged inactivity and lack of updates. hacktoberfest2024 Your contribution is part of Hacktoberfest 2024! πŸŽ‰ Hold I’m waiting for additional responses before proceeding. No_Update It's been so long you are not responding to this issue so we are going to close the issue soon.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants