TechbeeAT / jtxBoard

jtx Board allows you to manage your Journals (like meeting minutes), Notes and Tasks in one Android app. The app is compatible with the iCal standard (RFC5545) and is integrated with DAVx5 to allow the synchronisation of entries through CalDAV.

Home Page:https://jtx.techbee.at/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature] Enumerate all tasks during sync, not just the next few.

RokeJulianLockhart opened this issue · comments

Is your feature request related to a problem? Please describe.

When I synchronized my tasks, the {synchronized}/{total} count was basically {synchronized}/{synchronized+5} the entire time, because it enumerated merely a few tasks ahead, then synchronized them, rather than the entire count.

Describe the solution you'd like

Instead of synchronously enumerating all tasks before synchronization (which would be a waste of time in many situations) asynchronously enumerate all whilst synchronizing, because the superior speed of enumeration means that the total value shall be enumerated before synchronization completes.

Describe alternatives you've considered

Optional synchronous enumeration before synchronization.

Additional context

I have 4692 tasks, according to JTX Board.

Device and version

Hello @RokeJulianLockhart , the two numbers on the top right don't indicate the number of synchronized tasks vs. the number of total tasks, but rather the number of displayed tasks (with the current filter settings) vs. the number of total tasks.

#1364 (comment)

@patrickunterwegs, in which case, how were both counts increasing, as aforexplained?

@RokeJulianLockhart I don't quite understand your description, what do you actually mean with enumerate here?
I have seen that the counter has a problem when dealing with many recurring tasks, I still need to investigate this.

#1364 (comment)

@patrickunterwegs, I have a lot of recurrent tasks, so that would make sense. In essence, all I mean is that the total shouldn't increase alongside the displayed task counter, otherwise the actual progress rate isn't increasing, which is confusing.