-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Followers/Following list doesn't contain all items, pagination needed #258
Comments
@benhalpern are you thinking pagination or infinite scroll for this? |
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue in 7 days. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If this issue still requires attention, please respond with a comment. Happy Coding! |
Need to reopen. |
This is approved if anyone wants to work on it. |
@jessleenyc what was wanted here? infinite scroll or traditional pagination? |
@omenking let's go with infinite scroll! |
So infinite scroll exists on Here I see a loading articles element <div class="loading-articles" id="loading-articles">
loading...
</div> I'm thinking this has the js required to infinite scroll
Yep it looks like I'm right. I can do the same here for the other page. I do wonder if @benhalpern wants inline javascript because I would think it may be preferred for this code to go into app/javascripts. My though being this code does not get minified/uglified being over here. I don't personally care which way but can align to whatever standards the project wants to achieve. You know what. I think |
Doing a search for I see an
Oh, <h2>Followed tags (<%= @user.following_tags_count %>)</h2>
<h2>Followed users (<%= @user.following_users_count %>)</h2>
<h2>Followed organizations (<%= @followed_organizations.count %>)</h2> This is problematic here, I'll have to see what this looks like production. Maybe will need to break these up into their own pages so we can then add infinite scroll. So see here. So a sub navigation could be added or there can be one flat nav. In either cases these need to be on their own page. So I will do that and then ask how we would like the nav to work. Look at that we have lots of room: Okay so biggest issue here is I don't have sufficent seed data, going to spin up a new ticket to do that now. |
Hi - just wanted to point out that this page has a footer, which would potentially be really difficult to get to with an infinite scroll above it. |
I'd love to work on this if nobody is working anymore. @omenking are you still working on this? |
go for it. I did finish it but was never able to have it easily tested based on the lack of seed data |
…4375) [deploy] * Add infinite scroll to followers list (#258) * Refactor fetchNext function for clarity (#258) * Sepparate following tab into multiple tabs to support infinite scroll (#258) * Add infinite scroll to following pages (#258) * Add tests to infinite scroll api * Refactor dashboard loading text * Refactor infine scroll function * Fix duplicated entries problem in infinite scrolling * Switch randomized attributes to sequential to avoid InvalidRecord error * Add acceptance tests for infinite scroll * Remove unused following method * parameterize limit per page for followers and followings * Split follows endpoint into followers and followings * Authenticate user with api key in followers and followings * Split followers endpoint into users and organizations * Add redundant html to sublist partial * Speed up infinite scroll tests * Refactor api json responses to use partials * Authenticate api user before follows create * Resolve conflicts on scrolling js * Improve partials organization and fix organization username bug * Improve readability of unauthorized test * Use let! to create scrolling test data * Fix not working podcasts link * Refactor initScrolling to remove linting errors * Fix codeclimate coding style issue * Test tags forms and podcasts hyperlinks * Fix eslint issue with double equals * Improve before_action usage and readability
TASK or Feature
Request or User Story
It seems there is currently a limitation how many followers you could see on the https://dev.to/dashboard/user_followers page. Consequently there is no ability to follow people back who followed you while ago.
Definition of Done
user_followers page contains all the list of following users or has pagination to reach anyones contact to follow back.
The text was updated successfully, but these errors were encountered: