taskwarrior-flutter icon indicating copy to clipboard operation
taskwarrior-flutter copied to clipboard

UI: Filter/ Sort Dialog enhancement ideas - mockup

Open linuxcaffe opened this issue 11 months ago • 16 comments

Describe your improvement idea or feature request

First of all, I can see that a lot of good work has gone into the Filter/ Sort dialog, so I'm not knocking that..

but it could use a little love! ;-)

see the mockup below, as I try to illustrate possible enhancements.

How would you like to see it implemented?

Major Filter Dialog revamping!

Put here any screenshots or videos (optional)

filter_dialog

How can we contact you (optional)

No response

Would you like to work on this issue?

None

By submitting this issue, I have confirmed that:

  • [X] I have starred the repo ⭐ and watched 👀 it on GitHub and followed the contribution guidelines.

linuxcaffe avatar Dec 26 '24 19:12 linuxcaffe

Hey I would like to work on this one, With some changes like,

  1. Have a drop-downs instead of chips for sorting.
  2. The command line feature I think should be implemented in searchbar (Which will be a temporary view)

What do you think @linuxcaffe and @Pavel401

SGI-CAPP-AT2 avatar Dec 27 '24 07:12 SGI-CAPP-AT2

@SGI-CAPP-AT2 Ok! Dropdowns for sort?, much better! Command line in the search box? I was thinking INSTEAD of search box, but I think I know where you're going with that.. Maybe command line in filter dialog AND search bar? Best part is YOU working on it! ;-)

Maybe consider this one a "filter bar" containing only task CLI filter elements, and put a real "command line", where commands might be issued, in the search bar?

Personally, I like seeing the filter built as I select elements, before hitting [Apply] with the option to then go in and edit that string. Also, just firing in a filter from the keyboard, is a great option.

This is a rare occasion where using the app might help you learn the CLI !

linuxcaffe avatar Dec 27 '24 15:12 linuxcaffe

Hey @Pavel401, the TaskWarrior project setup is cool, but I don't see this one in a swimlane yet ;-)

linuxcaffe avatar Jan 03 '25 19:01 linuxcaffe

I am also waiting for confirmation so I can work on this

SGI-CAPP-AT2 avatar Jan 04 '25 03:01 SGI-CAPP-AT2

Since it's a non-trivial change we probably should chat about it over slack for a minute :-)

cfsmp3 avatar Jan 04 '25 17:01 cfsmp3

Great to see movement on this. It might be no surprise that I have several enhancements to this enhancement ;-) closely related to #418

srt-1sgi

linuxcaffe avatar Jan 04 '25 19:01 linuxcaffe

some more bad animated .gif action, this one to show sort ideas

list_03

linuxcaffe avatar Jan 05 '25 08:01 linuxcaffe

hey, what will multiple sorts do?

SGI-CAPP-AT2 avatar Jan 05 '25 08:01 SGI-CAPP-AT2

Sort, sub-sort, sub-sort.

Several task reports use multiple sort fields. One could theoretically use as many as you like, but there's a limit to effectiveness. Yes, supporting multiple sort fields is logical and required, if we want to support task reports

linuxcaffe avatar Jan 05 '25 08:01 linuxcaffe

@linuxcaffe can you assign this issue to me

arjav1528 avatar Jan 09 '25 13:01 arjav1528

Well @arjav1528 you picked a big one, very exciting! Because the Filter dialog and the Report dialog are so interconnected, maybe start on this dialog assuming NEXT is the default report (which is the tw default) before #418 has been implemented?

AND/OR compare notes with @Saurabhsing21 ?

linuxcaffe avatar Jan 13 '25 15:01 linuxcaffe

Here's my current thinking on the Filter Dialog, with some goood suggestions from @SGI-CAPP-AT2, and a fancy new date filter! FilterDialog_4

  • the status bar moved up, as the coarsest filter
  • the filter bar is the same, for direct input AND echoing changes in the dialog
  • the new date filter has
    • expanded (more than Add) datetype dropdown, could even include "creat, done, due, mod, sched, start, until, wait", with "due" as the default
    • button cycles through "on, <, >"
    • enter date directly (someday supporting things like "eom", but for now, calendar selector)
    • calendar date picker
  • project field exactly the same as Add dialog, with vertical dropdown
  • priority picker, unlike Add, has no default and multiple select, which assumes operator OR
  • tags field is similar to Add dialog, with direct auto-complete entry, and box-of-chips dropdown, but one important difference;
    • Add chips cycle "select, deselect"
    • Filter chips cycle "+select, -select, deselect"
  • sort field seen here as next-report default

linuxcaffe avatar Jan 14 '25 17:01 linuxcaffe

@arjav1528 I'm imagining how this filter could work, and it's mostly about the filter bar. Let's say a user could start building a filter query by entering some text directly;

ClientName

then uses the tag filter function to select a couple of tags

Clientname +car +bus

clicks back into the filter bar to modify it

ClientName +car OR +bus

and back to the project filter function

ClentName +car OR +bus pro:foobar

and finally hits the Apply button and the filter query is parsed entirely from the contents of the filter bar, NOT directly from the actions of the other filter functions, which only really serve to put correctly formatted elements into the filter bar. That's the only way I can think of to have a fusion of direct entry and filter-buttons. Does that make sense?

linuxcaffe avatar Jan 15 '25 19:01 linuxcaffe

@linuxcaffe I am not able to understand what are you saying.... The main issue is basically the UI right??

arjav1528 avatar Jan 20 '25 16:01 arjav1528

Sorry if my mock-ups and rambling description were unclear. The important thing, to me, is what can be done with The UI, not how it looks. I'm coming at it from The perspective of a long time taskwarrior user (I'm actually the original taskwarrior Designer) and I'm hoping to help you guys achieve as much of the core functionality in this app, as possible.

linuxcaffe avatar Jan 21 '25 01:01 linuxcaffe

@SGI-CAPP-AT2 is this issue open to work?

harikrishna-au avatar Sep 02 '25 09:09 harikrishna-au