MozillaZine

New extensions for Lightning and Sunbird

For discussing the Mozilla Calendar, Sunbird and Lightning projects.
EndersGame
 
Posts: 357
Joined: November 27th, 2004, 6:58 am

Post Posted November 2nd, 2006, 3:45 pm

I've just released 2 new extensions:
<ul>
<li><a href="https://addons.mozilla.org/thunderbird/3738">Lightning Multiweek View</a> does just what you'd expect. It gives you Sunbird's multiweek view in Lightning.
<li><a href="https://addons.mozilla.org/sunbird/3736/">Event-to-Task Conversion Activator</a> enables that little menuitem in the top right of the Event Dialog. This allows you to switch an item from being a task to being an event, and vice versa.
</ul>

Comments welcome!

petenz
 
Posts: 27
Joined: March 24th, 2006, 9:37 pm
Location: New Zealand

Post Posted November 2nd, 2006, 4:54 pm

Good job on the Event to Task converter - thanks!

There's a little bit of strange behaviour though - I toggled an Event into a Task and it appeared in the Todo list, as it should. I then opened it by double clicking on it in the Todo list, and changed it back into an Event. It stayed visible in the Todo list though, and opening it from the Todo list opens it as a task whereas opening it from the Calendar opens it as an event...

As long as turning a Task into an Event made it disappear from the Todo list, it should all be fine.

Come to think of it - should the Todo be renamed 'Tasks'? Todo isn't really a word - as the FF spellchecker points out. And 'Tasks' could be clearer for users.....

EndersGame
 
Posts: 357
Joined: November 27th, 2004, 6:58 am

Post Posted November 2nd, 2006, 5:59 pm

peterz:
There are some bugs in various parts of the UI, which previously assumed that conversion like this couldn't happen. I'll look into hacking in fixes, but modifying these assumptions isn't trivial. Thanks for the feedback!

nanobrain

User avatar
 
Posts: 53
Joined: April 11th, 2006, 6:42 pm
Location: Between Washington,DC and Baltimore

Post Posted November 2nd, 2006, 7:09 pm

Thanks for your efforts. Just FYI: the Multiweek View didn't work for me on 0.3 (it only showed a gray window). I had to update to 0.4a1 for it to work.

1E-9

EndersGame
 
Posts: 357
Joined: November 27th, 2004, 6:58 am

Post Posted November 2nd, 2006, 9:11 pm

nanobrain: were there any errors in the Error Console when it failed to work? Thanks for the feedback.

nanobrain

User avatar
 
Posts: 53
Joined: April 11th, 2006, 6:42 pm
Location: Between Washington,DC and Baltimore

Post Posted November 2nd, 2006, 9:25 pm

I downgraded to 0.3 again and here are the 3 errors I get:

Error: no element found
Source File: jar:file:///C:/Documents%20and%20Settings/<Username>/Application%20Data/Thunderbird/Profiles/p05zwvpm.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/chrome/calendar.jar!/content/calendar/calendar-decorated-multiweek-view.xml
Line: 1, Column: 1
Source Code:
^

XML Parsing Error: no element found
Location: jar:file:///C:/Documents%20and%20Settings/<username>/Application%20Data/Thunderbird/Profiles/p05zwvpm.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/chrome/calendar.jar!/content/calendar/calendar-decorated-multiweek-view.xml
Line Number 1, Column 1:

Error: view.goToDay is not a function
Source File: chrome://calendar/content/calendar-views.js
Line: 165

No errors are thrown on 0.4a1

HTH,

1E-9

EndersGame
 
Posts: 357
Joined: November 27th, 2004, 6:58 am

Post Posted November 3rd, 2006, 2:30 pm

nanobrain: Thanks for the help! I forgot that there were packaging changes between 0.3 and 0.4a1. There is a new version that has this problem fixed, waiting for approval from AMO. It should be available shortly.

nanobrain

User avatar
 
Posts: 53
Joined: April 11th, 2006, 6:42 pm
Location: Between Washington,DC and Baltimore

Post Posted November 6th, 2006, 7:08 pm

EndersGame: I just updated to 0.0.2 and now color of each calendar won't show up anymore in any view.

1E-9

Return to Calendar


Who is online

Users browsing this forum: No registered users and 0 guests