Coder Social home page Coder Social logo

Comments (4)

matteodem avatar matteodem commented on July 18, 2024

Yes it is intended. From a UX view it's a bad thing if search results are changed without "apparent" reason for the users that didn't do the action that caused the change. It's even bad that it does resort at the moment, but that's Meteor's default way of staying reactive and it'd need some hacks to go around that.

from easy-search-leaderboard.

Urigo avatar Urigo commented on July 18, 2024

I see and understand the approach. that's right for search results.

I also can't help but thinking how similar is your solution to just regular sorting+filtering+pagination, let's say activity log or news feed.
In those cases we would want that it will be reactive.
I think it would be a shame to use a completely different library there (like meteor-pages ) and not adjust your library to do the same.
What are your thoughts on that?

from easy-search-leaderboard.

matteodem avatar matteodem commented on July 18, 2024

I am not talking about any app-specific things, it's a general UX, user perspective view where some content suddenly vanishes and the user is confused and maybe leaves the app. One might think it's normal but in a way it isn't. That's why Disqus and Youtube use the "load more comments" approach. Hope it's understandable explained.

I had a look at a lot of different pagination packages, but those weren't easily useable with Easy-Search and it's architecture. One could use subscription based search like here in a Meteor App and achieve your desired result that way: https://github.com/matteodem/meteor-easy-search/blob/master/lib/easy-search-common.js#L49. Simply use the Pagination collection instead of a normal one inside your app.

from easy-search-leaderboard.

matteodem avatar matteodem commented on July 18, 2024

Please let me know how this works.

from easy-search-leaderboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.