yourTinyTodo icon indicating copy to clipboard operation
yourTinyTodo copied to clipboard

Task arrows show even if there is no note or comment content.

Open electricmessiah opened this issue 11 years ago • 6 comments

Tasks with no note/comment content have the left arrows to expand while other tasks without content display correctly without the arrow. In the old versions of MTT a task would only have the expansion arrow if there was a note attached.

electricmessiah avatar Apr 23 '13 13:04 electricmessiah

This is because the note field in ytt_todolist table is filled with NULL. If you manually update this to "", the arrows disappear.

Personally, I don't like to work with NULL fields at all. One option is to change the database and change the field note to NOT NULL or fill the field null with "" in the code when inserting a new task.

jeangld avatar Apr 23 '13 21:04 jeangld

If that's the case, we should be able to check for a null in the field to make proper use of the dropdown arrow.

electricmessiah avatar Apr 24 '13 13:04 electricmessiah

If we disable the arrow there will be no option to create a comment

alex-LE avatar Oct 10 '13 18:10 alex-LE

I thought the arrow denoted that there was content in the Note field. You can click the title of the entry to add notes and comments.

electricmessiah avatar Oct 14 '13 13:10 electricmessiah

You are right, it makes sense. I will change this. I currently work on changing the theme to use bootstrap, so i can modify that also.

alex-LE avatar Oct 14 '13 14:10 alex-LE

I've been working with bootstrap a lot lately, so that's a welcome addition. ;)

electricmessiah avatar Oct 14 '13 22:10 electricmessiah