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

Implement pagination in the RSS feed screen. #194

Open
DivS-15 opened this issue Mar 4, 2023 · 10 comments
Open

Implement pagination in the RSS feed screen. #194

DivS-15 opened this issue Mar 4, 2023 · 10 comments
Assignees
Labels
enhancement New feature or request good-to-go Available to work on/ Good to go issue

Comments

@DivS-15
Copy link

DivS-15 commented Mar 4, 2023

Problem description
Sometimes, the user can request ‘n’ no. of torrents to be displayed in the feed. In this scenario, loading all the list items at once causes the UI to lag.

Solution
We can lazily load the list items in chunks instead of all at once. This is commonly known as pagination. Several optimizations can be made as follows:

  1. Loading items only when the user clicks to ‘load more’.
  2. Retrying/refreshing a network request
  3. Saving the feed items in the local cache first and then displaying them.
  4. Filtering and sorting list items

Implementation
We can use a paging library to fetch chunks of data, by their page keys. https://pub.dev/packages/infinite_scroll_pagination.

Are you working on this? (Yes/No)
Yes.

This is what the UI would possibly look like ------------------

Torrents RSS feed UI

@Akshatji800
Copy link
Member

@DivS-15 this looks like a great enhancement. You can start working on it. I will assign the issue to you.

@Akshatji800 Akshatji800 added enhancement New feature or request good-to-go Available to work on/ Good to go issue labels Mar 5, 2023
@dawarepramod4
Copy link

Hey anyone working on this? i can work i have used pagination in my projects!

@Akshatji800
Copy link
Member

Hey anyone working on this? i can work i have used pagination in my projects!

Hello @dawarepramod4 please go ahead. I will assign this issue to you.

@Akshatji800 Akshatji800 assigned dawarepramod4 and unassigned DivS-15 Sep 15, 2023
@tb-rules10
Copy link

Hey @dawarepramod4, are you still working on this? If not, please assign this issue to me.

@dawarepramod4
Copy link

dawarepramod4 commented Oct 3, 2023

Yes I am working on it.I was quite busy.. and also
I am setting up the project that's why it's taking time...

@thepranays
Copy link

Hey @dawarepramod4 Are you still working on this ? If not ,Please Can I work on it ?

@dawarepramod4
Copy link

dawarepramod4 commented Oct 29, 2023

Sure you can I am still not able to find time to complete it....

@thepranays
Copy link

@dawarepramod4 Do I have to get first assigned to work on it or I can complete the work directly ?

@dawarepramod4
Copy link

dawarepramod4 commented Oct 30, 2023

@dawarepramod4 Do I have to get first assigned to work on it or I can complete the work directly ?

You can start working .... whenever someone see you are working on it... He/she will assign it to you.... Just add message here

@Kaps61929
Copy link

@Akshatji800 can I work on this issue if no one is working on it ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good-to-go Available to work on/ Good to go issue
Projects
None yet
Development

No branches or pull requests

6 participants