Calendar:The Great Refactoring

From MozillaWiki
Jump to: navigation, search

UI refactoring

  • XBLification of widgets
    • event-box (monthview, multiweekview, dayview, weekview)
      • should automatically render correctly for allday, timed, overflow (dots)
      • may need cooperation from:
    • day-view (probably specialized from a range-view container?)
    • week-view (ditto)
  • Clean up/tighten up UI that won't be immediately replaced
    • Removal of similar/duplicate UI elements
      • ie: localCalDialog.xul/serverDialog.xul
    • Fix confusing and crowded UI elements

ical format handling

  • XPCOM service for simple ICS (de)serialization
    • calIMutable* -> string, and vice versa for single items
    • string and calICalendar to fill with multiple item types
    • array(calIMutable*) to/from string for set-of-items serialization

backend/frontend split

  • mvl wants to move a lot of the FE logic (esp. webcal) to the back end, likely in the webcal provider (if I always use backend when I use provider, dmose and I don't have to fight)

Mostafa's comment

XBLification is great, though debugging it is hard. I'm wondering if it would leave enough time for all the other things to be done which looks like plenty.