Git Product home page Git Product logo

Comments (11)

shepjd avatar shepjd commented on July 17, 2024 1

I agree, I use the shell to load groups of files, I will just improve the naming

from tuiview.

gillins avatar gillins commented on July 17, 2024

@eco-nz Not totally sure what you mean. Would sorting files alphabetically before adding to the viewer be ok?

from tuiview.

eco-nz avatar eco-nz commented on July 17, 2024

This may be a duplicate @gillins. I think he wants to be able to sort where there are names like foo_Mar-2019_baa - I think you indicated you may have addressed this before.

from tuiview.

gillins avatar gillins commented on July 17, 2024

ping @shepjd

from tuiview.

gillins avatar gillins commented on July 17, 2024

@shepjd I was thinking of sorting the filenames in alphabetic order before adding them so the filename aa.img will be at the bottom and zz.img will be at the top. Does that makes sense, or should it be in the other order?
I assume your filenaming convention still gives you a chronological order when sorting alphabetically?

from tuiview.

shepjd avatar shepjd commented on July 17, 2024

I think this referred to when I have used month names (eg nz_jan.kea, nz_feb.kea) and then done "tuiview nz_???.kea" or something like that, really my fault for shit names, probably nothing actually needs doing

from tuiview.

gillins avatar gillins commented on July 17, 2024

Yeah month names are a pain because they never sort the way you want (and not keen to hardcode a filenaming convention into tuiview). If you used month numbers then the sorting would make sense (and could be sorted in the shell as a bonus).

from tuiview.

gillins avatar gillins commented on July 17, 2024

I'm wondering if there is still an argument for having sorting of the filenames selected from the file open dialog? Either (1) sort the filenames from the new wildcard expansion (just noticed this doesn't happen) or (2) sort any files selected. ATM files get added to the viewer in the order they were selected (is this always what you want? - not sure).

from tuiview.

shepjd avatar shepjd commented on July 17, 2024

hmmm, I think sorting a wildcard expansion sounds good

from tuiview.

gillins avatar gillins commented on July 17, 2024

Just created a PR here #17 - will merge unless you have any objections?

from tuiview.

shepjd avatar shepjd commented on July 17, 2024

from tuiview.

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.