Code Monkey home page Code Monkey logo

Comments (9)

rivaldi8 avatar rivaldi8 commented on July 19, 2024

This has been also a problem for me. I've identified part of the sorting here:

https://github.com/getting-things-gnome/gtg/blob/master/GTG/gtk/browser/treeview_factory.py#L191

It sorts first by tag and then by title, although I don't see any advantage in doing so.

After removing those lines some of the ordering problems disappear. However, there are some cases were the subtask are still not listed correctly. For example, if you add some subtasks and then one in between those.

I don't see GTG keeping track of the order of subtasks, so I guess the only way to fix this would be by storing this information somewhere.

from gtg.

nekohayo avatar nekohayo commented on July 19, 2024

I suppose it has been an issue for some, but not the majority, of GTG users, due to the way parent tasks are hidden in Workview mode, and I suspect many people work almost exclusively in workview mode.

This issue here is up for grabs for anyone wanting to see it happen. Please contribute code (or bring in someone who can) to the project for this purpose.

from gtg.

digitalethics avatar digitalethics commented on July 19, 2024

Would you consider setting up bounty integration or sponsorships for particular issues and pin the issues to the repo?

from gtg.

nekohayo avatar nekohayo commented on July 19, 2024

Would you consider setting up bounty integration or sponsorships for particular issues and pin the issues to the repo?

That would need to be discussed in a separate issue. My experience / thoughts on the matter is that I've rarely (never) seen bounties work for desktop applications (because the amounts typically are insignificant), and that it would need to not be BountySource, because they've got questionable practices.

from gtg.

digitalethics avatar digitalethics commented on July 19, 2024

@nekohayo Would you consider adding this issue to 0.5?

from gtg.

nekohayo avatar nekohayo commented on July 19, 2024

As this project is powered and driven by the willingness of contributors to join and provide patches/MRs, and as it seems to me that existing contributors are already busy with other things, setting a milestone on this means nothing if nobody has shown up to work on it ;) I typically only set a target milestone onto an issue while work is already underway or completed.

from gtg.

digitalethics avatar digitalethics commented on July 19, 2024

It sorts first by tag and then by title, although I don't see any advantage in doing so.

This still seems to be the case and doesn't make much sense to me either. @rivaldi8

Basically there are three sortable areas here: tasks, subtasks and tags. My original request actually referred to tasks (for sake of clarity it may as well be re-opened if @nekohayo agrees but maybe it is actually better to tackle these three related issues together), the present one to subtasks and the latest one to tags.

Then, there seem to be three basic expectations as to how items are sorted: chronological (bottom), reverse chronological (top) and alphabetical.

Lastly, it would be good to have a discussion on what is regarded as a sane default for new users interacting with GTG for the first time and it may not necessarily be what is the current default. Implementing new sorting features should also not limit existing users in their accustomed workflows but instead provide more flexibility in how to interact with GTG as a user. Linking to JMoerman/Go-For-It#21 for a related discussion.

Tagging @Neui and @zeddo123 for conceptual (and maybe code) ideas as both of you are very active at the moment.

from gtg.

Neui avatar Neui commented on July 19, 2024

It sorts first by tag and then by title, although I don't see any advantage in doing so.

This still seems to be the case and doesn't make much sense to me either.

AFAIK yes, this is still the case. I think it considers tags to group similar tasks together, but I haven't really checked or tested.

Then, there seem to be three basic expectations as to how items are sorted: chronological (bottom), reverse chronological (top) and alphabetical.

Also AFAIK you can click on the columns to sort (reverse) alphabetical and by dates, but if I remember correctly not "together" (like first by start date then reverse alphabetical).

(Warning, some random thoughts incoming; Note that I primarily use the Open-view not the Actionable-view, since I don't really follow GTD)

However, using that system how should we display tasks in "their order"? I guess you could have a "no sorting" mode where none of the columns are sorted, but that'll only allow sorting in one direction (no reverse). A new column would allow this, but that'll add clutter to the user interface, since it doesn't really provide some (useful) information to the user.

So I think it could make sense to separate sorting top-level tasks from sub-tasks. But then how should we "target" the top-level tasks and sub-tasks sorting? Like how would the user go about changing the sorting?

Maybe a good compromise could be sort the top-level tasks like currently, and use the column sorting for the subtasks, but that would put users in disadvantage who mainly create top-level tasks. Same the other way around.

Another idea I just thought of could be to force-sort subtasks by for example the right-click menu for an task (have a sort-submenu with checkboxes (or numbers?)), that would allow such control. This would allow certain "style" of subtasks be in certain sorting mode, and use non-forced tasks use the columns order.

from gtg.

nekohayo avatar nekohayo commented on July 19, 2024

It sorts first by tag and then by title, although I don't see any advantage in doing so.

This still seems to be the case and doesn't make much sense to me either.

AFAIK yes, this is still the case. I think it considers tags to group similar tasks together, but I haven't really checked or tested.

I have observed this (per-tag soft grouping behavior before per-title alpha sorting) as well, and I have to say that personally I like it, as a user I thought it was a "nice touch" that it tended to group similar colors and emblems together, it feels cleaner to me that way, and it helps preserve the "shape" of the tags column as well, I think.

Just saying that for the record, I would prefer to keep that ability, even if you folks end up implementing something that offers configurability for manual sorting and whatnot.

In any case this is still a "patch or it won't happen" issue, or maybe could be plugin material (?) depending on the complexity, and the user interaction design aspect of this is some significant work to be done. This sounds tricky/hard to handle especially if you still want to be able to have priority sorting by due dates and such...

from gtg.

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.