Add To Do events to calendar sidebar

VERIFIED FIXED

Status

Calendar
General
VERIFIED FIXED
16 years ago
12 years ago

People

(Reporter: Chris Charabaruk, Assigned: Mike Potter)

Tracking

Details

Attachments

(4 attachments)

(Reporter)

Description

16 years ago
With the sidebar tab for To Do, should show name, priority, and a check box for
when it's completed. We could have a pref to hide completed To Do items on the
sidebar, too (perhaps that should be another bug).
(Reporter)

Updated

16 years ago
Blocks: 115023

Comment 1

16 years ago
it should be possible to make subitems of another item. Please see the todo-part
of the Korganizer-screenshot at
http://korganizer.kde.org/screenshots/mainshot_big.png

Is there any code for the TODO list already?

Comment 2

16 years ago
rfe?
(Assignee)

Comment 3

16 years ago
We aren't doing a sidebar to do for calendar, so yes, its an RFE. What I hope it
to be is a an add on application to the calendar itself.
Sending this to nobody@mozilla.org, marking as RFE. Someone, please feel free to
take this on and start it.
Assignee: mikep → nobody
Severity: normal → enhancement
Summary: Add tab for To Do events to calendar sidebar → [RFE] Add tab for To Do events to calendar sidebar
(Reporter)

Updated

16 years ago
No longer blocks: 115023
(Reporter)

Updated

16 years ago
Blocks: 145981
(Reporter)

Comment 4

16 years ago
changing summary; i'm now figuring how to show to-do events in the 'sidebar' at
the left in calendar (with a checkbox instead of an icon). If anyone wants this,
take it, but for now I'm assigning to myself.
Assignee: nobody → coldacid
Summary: [RFE] Add tab for To Do events to calendar sidebar → Add To Do events to calendar sidebar
(Reporter)

Comment 5

16 years ago
Just an idea... I pulled this out with DOM Inspector and tailored it a bit. I'm
thinking this is what should be used for incomplete to-do events:

    <listitem id="search-unifinder-treeitem-..."
ondblclick="unifinderDoubleClickEvent(...)">
      <listcell flex="1" crop="right">
        <hbox flex="1" class="unifinder-treecell-box-class" crop="right"
align="center">
          <image class="unifinder-calendar-todo-incomplete-class"
onclick="todoClickEvent(...)/>
          <vbox crop="right" flex="1">
            <label crop="right" value="Add patches to bug 135896"/>
            <label crop="right" value="Deadline: May 23, 2002 3:00 PM"/>
          </vbox>
        </hbox>
      </listcell>
    </listitem>

and for completed ones:

    <listitem id="search-unifinder-treeitem-..."
ondblclick="unifinderDoubleClickEvent(...)">
      <listcell flex="1" crop="right">
        <hbox flex="1" class="unifinder-treecell-box-class" crop="right"
align="center">
          <image class="unifinder-calendar-todo-complete-class"
onclick="todoClickEvent(...)/>
          <vbox crop="right" flex="1">
            <label crop="right" value="Add patches to bug 135896"/>
            <label crop="right" value="Deadline: May 23, 2002 3:00 PM"/>
          </vbox>
        </hbox>
      </listcell>
    </listitem>

(note the class for the image in each of those)

The task of todoClickEvent() would be to check if an event is complete or not.
When the image is clicked, todoClickEvent checks to see if the the event is
complete. If not, the function sets the event as complete, and changes the image
class to reflect this change. If it is complete, then hey, todoClickEvent just
returns since there's nothing that it has to do. Since a to-do event should
really only needed to be checked as complete once (unlike bugs, items on a to-do
list don't regress), I don't see any problems. And later on if we want to allow
to-do events to be toggleable, we can simply edit todoClickEvent() to reflect
this rather than use a checkbox (which, IMHO, wouldn't fit in with the look of
the images for events at the side).
(Assignee)

Comment 6

16 years ago
To reiterate from IRC, don't change the class of the images, just add an
attribute on them.  Change the list-style-image in CSS based on the attributes
on the image.
(Reporter)

Comment 7

16 years ago
Created attachment 84767 [details] [diff] [review]
add listbox, etc. for to-dos to sidebar
(Reporter)

Comment 8

16 years ago
Created attachment 84769 [details] [diff] [review]
calendar.dtd edits for edited sidebar
(Reporter)

Comment 9

16 years ago
Created attachment 84771 [details] [diff] [review]
skin edit

The three new icons added here don't exist. We'll need todo.png (normal to-do
icon), todo_late.png (for overdue items), and todo_done.png (for completed
items).
(Reporter)

Comment 10

16 years ago
Created attachment 84772 [details] [diff] [review]
skin changes -- classic

Same as last but for Classic.
(Reporter)

Updated

16 years ago
Status: NEW → ASSIGNED
(Reporter)

Comment 11

16 years ago
Bugspam: Transferring to mikep. Good luck with them...
Assignee: ccharabaruk → mikep
Status: ASSIGNED → NEW
(Reporter)

Comment 12

16 years ago
Bugspam: I can't believe I didn't catch this a while ago... :P
Severity: enhancement → normal
(Assignee)

Comment 13

16 years ago
I'm going to mark this as fixed, since To Dos are now in CVS.
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED

Comment 14

16 years ago
verified
Status: RESOLVED → VERIFIED
The bugspam monkeys have been set free and are feeding on Calendar :: General. Be afraid for your sanity!
QA Contact: colint → general
You need to log in before you can comment on or make changes to this bug.