Replies: 9 comments 2 replies
-
Foreground by default will only display tasks that are not completed - currently there's no way to show completed tasks. |
Beta Was this translation helpful? Give feedback.
-
I am using now 1.5.5, and have syncing enabled. It is showing me only completed tasks. What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
-
I wonder if their last message is related to how inthe.am web UI can have different data from what inthe.am's Taskserver will provide to clients. Maybe @duckunix could check with another client outside of inthe.am's web UI, such as CLI Taskwarrior, and compare result. @duckunix, can you clarify if you're mostly comparing Foreground's list view to the list view from inthe.am's web UI? @bgregos, is Foreground's default report basically |
Beta Was this translation helpful? Give feedback.
-
Once a task is completed Foreground will save that info to be sent on the
next sync and then delete the task internally, so this is pretty perplexing
to me.
@bradyt - Correct, Foreground's default report shows only pending tasks.
The default (and only) sort is by due date.
…On Thu, Dec 29, 2022, 9:06 PM Brady Trainor ***@***.***> wrote:
I wonder if their last message is related to how inthe.am web UI can have
different data from what inthe.am's Taskserver will provide to clients.
Maybe @duckunix <https://github.com/duckunix> could check with another
client outside of inthe.am's web UI, such as CLI Taskwarrior, and compare
result.
@duckunix <https://github.com/duckunix>, can you clarify if you're mostly
comparing Foreground's list view to the list view from inthe.am's web UI?
@bgregos <https://github.com/bgregos>, is Foreground's default report
basically filter=status:pending? And what is the sorting in Foreground
most similar to from CLI Taskwarrior? Approximately by id+ or entry+
date? Maybe @duckunix <https://github.com/duckunix> could check task
oldest limit:10 at a PC.
—
Reply to this email directly, view it on GitHub
<#144 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABM2MFLS5J2A336A3ZMBIYLWPY7RBANCNFSM5XL5QLNA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Okay, so I would wonder if Foreground has some implicit sort, to handle when tasks do not have a due date to compare by. I would guess that that would be the order by which they arrive from the server, which is approximately what But this all makes assumptions about how you handle responses from Taskserver, and how you store the responses (tasks) on device. If I understand correctly, Taskwarrior simply appends tasks as a newline, to a plain text file, or modifies a preexisting line by uuid. And that contributes to the pseudo-stable id. Which actually I think goes back to its todo.txt roots. I'm not sure what implicit sort your app might be using, after due date. For example, if I query task like |
Beta Was this translation helpful? Give feedback.
-
@bradyt the implicit order appears to be by when the task was added to
Foreground. Specifically this is when Foreground first saw the task, either
by sync or by the user adding the task locally. This is different from the
"created" timestamp.
I'm not sure how sort order would affect completed task visibility however.
…On Thu, Dec 29, 2022, 9:36 PM Brady Trainor ***@***.***> wrote:
Okay, so I would wonder if Foreground has some implicit sort, to handle
when tasks do not have a due date to compare by. I would guess that that
would be the order by which they arrive from the server, which is
approximately what id+ will be on each client (clients need not agree on
map from uuid to id), which may often roughly correlate with entry+ date,
ignoring that some tasks may be moved to completed and back again to
pending, which would put them back at the end of id+ sort.
But this all makes assumptions about how you handle responses from
Taskserver, and how you store the responses (tasks) on device. If I
understand correctly, Taskwarrior simply appends tasks as a newline, to a
plain text file, or modifies a preexisting line by uuid. And that
contributes to the pseudo-stable id. Which actually I think goes back to
its todo.txt roots. I'm not sure what implicit sort your app might be
using, after due date. For example, if I query task like task all
rc.report.all.sort='' , removing all's default sort, I would wager that
it sorts tasks by line number, first from pending.data, then from
complete.data. The first group has ids so we can say it's sorted by id. But
the completed tasks will have the special id "0", so I think the most
precise claim there is that it sorts by line number.
—
Reply to this email directly, view it on GitHub
<#144 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABM2MFPVGZFAQIFP7T7CHJ3WPZDEXANCNFSM5XL5QLNA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
In checking which tasks are listed in Foreground, all are tasks which have due dates, even if they are done. |
Beta Was this translation helpful? Give feedback.
-
My best guess is there's some attribute about the tasks that's causing them
to get detected as pending and not completed.
Could you post a few lines of `task all`, specifically some of the pending
tasks and some of the completed ones? Redacting personal information is
fine, I'm just interested in the attributes.
…On Thu, Dec 29, 2022, 10:01 PM Don Harper ***@***.***> wrote:
In checking which tasks are listed in Foreground, all are tasks which have
due dates, even if they are done.
—
Reply to this email directly, view it on GitHub
<#144 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABM2MFI634SW2LD2GRPLMJ3WPZGBFANCNFSM5XL5QLNA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Below are 4 tasks. The first two are two pending tasks near the top of my priority list. The other two are the first two showing up in Foreground for me even though they have been completed for a while:
For completeness, the output of
|
Beta Was this translation helpful? Give feedback.
-
So, I have syncing working between Foreground 1.5.4 which is good, but how I do I only display items which are not completed?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions