codeIntrovert/codeColts

Lazy Loading or Pagination in `/browse` Route

Opened this issue ยท 8 comments

Feature Request: Lazy Loading or Pagination in /browse Route

Description

Currently, the /browse route in our website lacks lazy loading or pagination functionality, making it less user-friendly, especially as the content grows. This issue is to propose the addition of lazy loading or pagination to enhance the browsing experience for our users.

Goals

  • Improve the performance and user experience on the /browse page.
  • Implement lazy loading or pagination to efficiently handle large datasets.

Proposed Solutions

Feel free to choose one of the following approaches or suggest an alternative:

  1. Lazy Loading: Load content dynamically as the user scrolls, reducing the initial page load time.
  2. Pagination: Display a limited number of items per page with navigation controls.

Acceptance Criteria

  • The /browse page should display content with either lazy loading or pagination.
  • The solution should be implemented in a way that aligns with our codebase and coding standards.

Additional Information

  • Our website is built using Python Flask, and the code for the /browse route is located in [relevant file or directory].
  • Consider the impact on the overall user interface and user experience when implementing the solution.

How to Contribute

  1. Fork the repository.
  2. Create a new branch for your changes.
  3. Implement the chosen solution.
  4. Ensure that your code is well-documented.
  5. Submit a pull request.

Thank you for considering and contributing to this improvement! ๐Ÿš€

is this issue fixed ?
I would like to work on this

@ashish111333
No this issue hasn't been fixed yet.

Feel free to use either lazy loading or pagination whatever suits you best. This project is entirely written in python flask.

Let me know if you have any questions about the project and I really appreciate your time and effort for the contribution. Best of luck

@ashish111333 Any updates on the issue?

@ashish111333 Any updates on the issue?

Working on it.

@ashish111333 Any updates? Any Issues?

@ashish111333 Any updates? Any Issues?
i cant seem to figure out what to change.
if i want lazy loading on frontend then do i also need to to change the browse function in flask backend?

I have made some changes in browse_routes.py for more clarity, and YES you will need to work on both browse_route.py and browse.html to implement either pagination or lazy loading. You have the freedom of changing any components in those 2 files. Best of luck.

  • piece of advise use chatgpt or any code assistance for faster development

nvm closed by mistake, THIS ISSUE IS STILL NOT FIXED, CONTRIBUTORS ARE WELCOME TO WORK ON THIS ISSUE