Tag lost when editing through TaskManager

Hello @Mr.Red ,

Trying to use your task manager in production.
I'm facing an issue regarding the tagged task: when using the edit window and saving tag of task is removed.
Note : this do not happen you using alt-shif-e shortcut

Before edit Tag present

Editing

After editing -> tag removed

I wonder is this is linked to this :

By the way,

TaskManager table is not rendered trough printing command...
Is it normal (I have slightly tweek css global variable for my theme) ?

Anyway thanks everybody for imporvement in Task handling through SB

i just pushed a fix to use the same logic as the Task Editor: Inline - command.

Please try now after updating.

PS: i hope i didn't break anything else with this fix... Usually it is: fix 1xBug => 2x New Bugs :smiley:

Thanks, Ok for me :slight_smile:

Also suggestion, though selection + copy/paste works well in .xls, what about a short csv export ?

Usually working with tabular data in webbased system often ends with a kind dedicated software handling (presentation, data calculation etc ...), this is very helpfull command for external user that feels safe to export their data in a "classical office world".

edit : Spoken to fast :

Start

editing : removing attribute / Changing attribute

Entire task text removed

1 Like

Need to look into that deeper, it’s worse than I expected. Tried # after task text, tried # after attributes, didn’t’t tried it in front of the text. It’s definitely an issue with the text parsing& & regex.

1 Like

Right now, if I click on Edit button, I get only \ as task description in the dialog and the task is replaces with it.

can you give an example of your task synthax, used special characters etc?

i can't reproduce the issue now:

i tested:

and it works, tags are not deleted.

It's strange


Task description missing -> Deletion when saving

But retested few times witth a new task in a new .md seems ok
--> Not so many time right now but I'll test it deeper and come back if new occurence happen again

Also when testing please note the steps you’ve encountered the bug, so I can reproduce the same. If I can’t reproduce the bug then I also can’t know what’s causing the issue.

Weird how did it happen the task field was empty? Do you have any special characters in the task name? Or edited two different tasks very quick and the last modification didn’t get indexed, so it was conflicted by the sync/index engine?
Also when you manually edit the task by editing the markdown. You must refresh the widget or the page with the widget, so it’s the latest, because the widget doesn’t auto refreshes on every manual change, only if you edit the tas through the edit button.

Got one occurence, but I think there are other failure mode, to be confirmed.
This seems related to multiline task -> Will avoid to do this on these task.

Sb task issue

Forgot to say, multiline tasks are not currently supported :sweat_smile: because I parse the text using regex in current line.

I will follow @mjf advice on using AST to do this, maybe this will solve a lot of issues and will make things easier for multiline support.

But because I don’t have too much time to relogic the whole code I don’t know when I can do it.

Oh I expected this in 2min !
:smile: no pb, just want to keep tagging system in task, I'll take care of multiline tasks

1 Like

[Good News]

I was experimenting with the Kanban Board Integration for tasks and Multiline Tasks and I managed to integrate a simple AST into the Kanban Library (@mjf thanks for pointing me into the right direction).

It is still work in progress and experimental. But after i'll thoroughly tested it, I will migrate the same logic to the Task Manager to support Multiline Task in the future.

Until then please feel free and test the Kanban Board out, maybe it's something you'd like.

gave it a short try --> Seems quite nice but not adapted for long task list (inherent to the tool not to your implementation)

--> Usable for small tasklist update, have to break-down in small group the parent action plan.

But the interest of SB is that you can link them together an have a global plan with one source of truth.
:+1:

You should be able to add some css to cap the height out, and then you can scroll within each column