akshitagupta15june / Moksh

Unlock your potential and achieve true balance in life with Moksh
https://akshitagupta15june.github.io/Moksh/
MIT License
214 stars 419 forks source link

[FEATURE REQUEST] Add Preloader #1751

Open AsmitaMishra24 opened 3 months ago

AsmitaMishra24 commented 3 months ago

Description

A preloader is an essential feature for enhancing user experience by indicating the progress of loading content. It helps in keeping the users engaged while the main content is being fetched or rendered. Implementing a preloader can significantly improve the perceived performance of our application.

Is your feature request related to a problem? Please describe. Yes, the absence of a preloader can lead to a poor user experience as users may not understand whether the application is working or not while content is being loaded. This can cause frustration and potentially lead to users abandoning the application. A preloader helps to keep users engaged by providing a visual indication that content is loading.

Describe the solution you'd like Design and Appearance:

  1. A simple and visually appealing animation.
  2. Should match the overall design language of the application.
  3. Customizable options for color, size, and style to fit different themes.

Functionality:

  1. Should display during the loading of heavy components or data fetching processes.
  2. Must cover the main content area that is being loaded.
  3. Option to show the preloader globally (entire screen) or locally (specific component).

Performance:

  1. Lightweight and optimized to prevent additional load times.
  2. Should not interfere with the loading process of the main content.

Implementation:

  1. Should be implemented as a reusable component.
  2. Easy to integrate with different parts of the application.
  3. Must include appropriate documentation for usage and customization.

Describe alternatives you've considered

  1. Skeleton Screens: Instead of a preloader animation, skeleton screens can be used to display a placeholder for content that is loading. This approach can be less distracting and provide a more seamless experience.
  2. Progress Bars: Another alternative is to use a progress bar that shows the percentage of content loaded. This can provide more detailed feedback to users about the loading process.
  3. Lazy Loading Indicators: For sections of content that load as the user scrolls, implementing lazy loading indicators can also serve as an alternative to a full preloader.

Additional Information

Screenshots or Mockups (optional) My Previous Work using HTML,CSS,JS:- https://github.com/akshitagupta15june/Moksh/assets/146121869/1965f151-e333-441a-8a62-4a19979380a8

My Previous Work with React:- https://github.com/akshitagupta15june/Moksh/assets/146121869/34aa671a-cef0-4f79-9662-7600cabe121f

Priority (optional) High

github-actions[bot] commented 3 months ago

Congratulations, @AsmitaMishra24! 🎉 Thank you for creating your issue for Moksh. Your contribution is greatly appreciated and we look forward to working with you to resolve the issue. Keep up the great work! Should you have any queries or require guidance, do not hesitate to ask.