AnotherKamila / tasksched

An opinionated Taskwarrior web UI. Great for scheduling when to do your tasks.
MIT License
37 stars 3 forks source link

Add search / filter to make it easier to find tasks #27

Closed AnotherKamila closed 5 years ago

AnotherKamila commented 6 years ago

Add a search field that filters tasks.

Do not try to re-implement taskwarrior's filtering -- just take the text in the search field and send a request to the server every time. It's not worth it to do it locally.

This needs support in the server -- it should accept the search (e.g. as a query string parameter) and add it to its filter.

evilham commented 6 years ago

I think the server doesn't need changes :). If I recall correctly: when I modified the thing, I made the assumption that this would come :-D. https://github.com/AnotherKamila/tasksched/blob/master/server.js#L21

AnotherKamila commented 6 years ago

@evilham yay, you're awesome :D I was too lazy to check when typing that :D great, so it's just a client-side change!

evilham commented 6 years ago

BTW, a couple things that came to mind:

Basically, it should be easy to know what one is seeing :-D What do you think? :)

AnotherKamila commented 6 years ago

Am I right to think that pretty much all of these requirements are fulfilled by stuffing the filter into the URL? :-)

On Sun, Mar 25, 2018 at 2:58 PM Evilham notifications@github.com wrote:

BTW, a couple things that came to mind:

  • refresh shouldn't lose filters
  • maybe we want to allow for multiple saved (locally) saved filters
  • there's also the thing of synchronisation (of that hypothetical list) across tabs
  • it should be possible to have different filters on different tabs though
  • that would mean that any custom filters should be visible on the UI
  • maybe it'd be a time to show the name of the current context if one is active?

Basically, it should be easy to know what one is seeing :-D What do you think? :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AnotherKamila/tasksched/issues/27#issuecomment-375968691, or mute the thread https://github.com/notifications/unsubscribe-auth/AA6y8fF_wNItOO7w0_rsZmMjmaljNl7Gks5th5RugaJpZM4SvJx6 .

evilham commented 5 years ago

@AnotherKamila ping :-D