Zim

Insert task list due dates using calendar widget

Bug #562578 reported by Morten Nielsen
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zim
Confirmed
Wishlist
Unassigned

Bug Description

When defining new todo items, I always include a due date.

A TODO item looks like this.

TODO:
[ ] [d: 10/04/10] Do laundry.

The date i cumbersome to write.

Suggested improvements
1) A shortcut inserting the current date in the proper format
2) Show a pop-up with a calendar to make selection of a due date
3) Reuse the due date from the TODO item on the previous line.

regards
morten

Tags: usability
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Already did a quick prototype of this - need find some moment to polish it.

Changed in zim:
status: New → Confirmed
importance: Undecided → Wishlist
summary: - Easier due dates
+ Insert task list due dates using calendar widget
tags: added: usability
Revision history for this message
Frank Van Geirt (fvangeirt-deactivatedaccount) wrote :

Is this quick prototype already somewhere available? Next week, I might find some time to help test this feature.

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 562578] Re: Insert task list due dates using calendar widget

On Tue, Apr 5, 2011 at 12:48 PM, Frank Van Geirt
<email address hidden>wrote:

> Is this quick prototype already somewhere available? Next week, I might
> find some time to help test this feature.
>

Afraid the code I used went missing :( If I recall correctly what I did was
hook into the end-of-word signal and pop a window without window border
(similar to a menu popping up) when the word matched "[d:". Should be easy
to reproduce. But nothing ready for direct testing.

On a side note, next release will have more functionality in the "Insert
Date" dialog, including a calendar widget to select the date. This makes it
also more useful to insert dates for tasks.

-- Jaap

Revision history for this message
Frank Van Geirt (fvangeirt-deactivatedaccount) wrote :

I feel more for the "insert date" dialog with due date possibility than an end-of-word signal.

Will the dialog standard show the calendar widget? As with the "link to date" selection box, there might be a "due date" selection box.

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

On Wed, Apr 6, 2011 at 12:55 PM, Frank Van Geirt
<email address hidden>wrote:

> Will the dialog standard show the calendar widget? As with the "link to
> date" selection box, there might be a "due date" selection box.
>

Calendar is in an expander, so you can fold it if not used.

Good suggestion, but don't want to hard code support for the tasklist plugin
in that dialog.

You can add a format "[d: %Y-%m-%d]" in the list with dates and you are all
set.

-- Jaap

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Additional suggestion: allow widget also to input a time, in the tasklist dialog use the time for sorting

Revision history for this message
Vaclav Petras (wenzeslaus) wrote :

In my 0.60 the "[d: %Y-%m-%d]" format is in the ~/.config/zim/dates.list, so this works for me. I'm just not sure who added the lines there, maybe the TaskList plugin or they are there by default? I think, I haven't add them, so for me it seems that the bug can be closed.

The only problem was that I must enlarge the window with the date selection vertically to get at least two rows of date formats, otherwise it seems that there is only one format.

The whole content of the file is:
# List with date-time formats used for the
# "Insert Date eand Time" dialog.
# See man strftime a description of the format.
%x
%c
%A %d/%m/%Y
%A %d/%m/%Y %H:%M
%A %d %B %Y
[d: %Y-%m-%d]
%Y-%m-%d

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.