Code Monkey home page Code Monkey logo

Comments (6)

pbrisbin avatar pbrisbin commented on August 16, 2024 2

I pulled out the pagination and reversed the out, as of v6.1.0.

from downgrade.

pbrisbin avatar pbrisbin commented on August 16, 2024 1

I believe this is effectively closed by 92a135f.

Results are presented 30-at-a-time now. This should solve the problem of recent packages flying through scroll-back, and allow us to retain most-recent-first overall sorting.

from downgrade.

friday avatar friday commented on August 16, 2024

30 at a time is nice, but the issue still remains imo. The terminal window may be less than 31 lines high, and in addition the bottom is where the users focus is. yay for example shows the most relevant results at the bottom and so does fzf.

from downgrade.

pbrisbin avatar pbrisbin commented on August 16, 2024

Hmm, I think to have most recent pages first, but within each page have items sorted most recent last is a bit strange. If the issue is still about important items scrolling off, I wonder if there's a better fix:

Can you set a smaller DOWNGRADE_PAGE_SIZE that works well enough for how big your terminals usually are?

What if the page size we're dynamic based on current terminal height? That would probably be a pretty simple feature to add, and let's us keep a consistent overall sort.

from downgrade.

pbrisbin avatar pbrisbin commented on August 16, 2024

I don't remember who decided pagination was a better fix than just reversing the list, but I thought someone wanted it. If the solution here is to rip that out and just reverse a simple list, I wouldn't be against it.

from downgrade.

friday avatar friday commented on August 16, 2024

I've come to expect the bottom result to be the most relevant, through the use of other modern cli utilities, and think it makes sense since it's less effortful. I can't say it's a standard or even an emerging standard though. It could be a bit strange or unorthodox if you're used to the opposite I guess.

I certainly can live with it either way since I don't downgrade that often. Just wanted to share my perspective.

Thanks for listening! 👍

from downgrade.

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.