r2 - 20 Jun 2007 - 09:01:39 - VeraSheinmanYou are here: OSAF >  Journal Web  >  TWikiUsers > VeraSheinman > VeraSheinmanNotes > WorkingMeetingNotesJeffrey

Done Last Week

  • Basic code for report created as a handler to the quick entry event. The design is based on discussion with Mimi.
  • Example for a test set of items:
    Report from 2007-06-08 07:55:53.150786+09:00
    Newly received
    7 items
    garden plans
    vacation ideas
    Dinner
    Meeting
    Report
    reading list
    gift ideas
    Achievements
    2 items
    Dinner
    reading list
    Focus Transition Out
    1 items
    Meeting
    Focus Transition In
    4 items
    garden plans
    gift ideas
    vacation ideas
    Report
    Persistent items (NOW)
    0 items
    Persistent items (LATER)
    0 items
    

Questions and Answers

  • Q: If Timezone is changed in the middle of the week, how do we define how long is a week? A: This is an edge case. Also, soon we'll allow users to ask for a report from a given date, which will make it even less important

  • Q: Should we report the user on items that he deleted during the last week? It may be viewed as transition out of focus. A: Seems important. Accessing deleted items is possible, ask Andi Vajda and dev-list for references.

  • Q: Are there any guidelines on working with dates and times representation? A: There are two main formats, float number of seconds since the epoch and Python's datetime. parcels/osaf/pim/calendar/TimeZone.py should be advised. ShortFormat? for formatting. It is better to format the title of the report in this way.

  • Q: How do I run unit-tests? A: Similarly to other tests, add the
     if __name__ == "__main__":
    and run as main

  • Q: How can I generate items from a file? A: Look into importing from EIML format

  • Q: Can I access information about all the history of modifications of items? Specially, in what triage status an item was created is important. A: Yes. Andi Vajda and the dev-list for references.

  • Q: Internalization of strings and avoiding concatenation. A: In general, names of sections in the report are better internationalized
    _(u"string") 
    , the data itself in the report (such as Items titles) may remain in the format of strings. Concatenation of small pieces of strings is heavy and better avoided. Using templates is preferrable. Concatenating whole lines of titles is fine.

To Do next week

  • Ask the developers list (Andi) about accessing history information in the repository - DONE
    • add the knowledge about triage status upon creation to the reports' logic upon reply - TBD
    • add deleted items to the items in "Transition out of focus" section upon reply - TBD
  • Write and run some unit-tests - TBD
  • Change the time formatting according to the short format available in Calendar - DONE
  • Follow the upcoming comments about the code and the format of the report, and plan to update the code accordingly. - DONE
  • Write a summary of what's done on Wednesday (20 of June) - DONE

-- VeraSheinman - 15 Jun 2007

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.