kynikos / outspline

Extensible outliner and personal time organizer to manage todo lists, schedule tasks, remind events.
http://kynikos.github.io/outspline/
GNU General Public License v3.0
47 stars 9 forks source link

Tasklist/DB search: threshold or timeout #302

Closed kynikos closed 10 years ago

kynikos commented 10 years ago

Before listing the found occurrences, check their number against a set threshold and display a warning if it's higher. Alternatively set a timeout when listing the occurrences.

Maybe set a timeout also in the extension algorithm itself?

kynikos commented 10 years ago

Do something similar for the search interface?

kynikos commented 10 years ago

The active alarms must be excluded, otherwise there's no other way to dismiss them in case they exceed the limit

kynikos commented 10 years ago

There are some arguments against doing further checks in the extension algorithm in #313 but they only relate to the problem of old active alarms. Some protection should also be given when searching occurrences in too big ranges with too many items.

kynikos commented 10 years ago

Alternatively just put a progress bar with a button to stop the search. This would however require to search on another thread, so an initial implementation could be just that + #247