mjamry / WorkReportReminder

Application which can be used to remind about reporting current work.
0 stars 1 forks source link

Change in report file details - comment. #4

Closed mjamry closed 11 years ago

mjamry commented 11 years ago

At the moment every time user save work item details it is added to file as new item. It is reasonable to change it. New way of saving items will be to check if item with id and title specified by user already exists in file. If not just add it. If yes, update element adding new < Comment > tag. Recommended is to add also a time stamp to each comment, so it could be possible to locate each one in time (when user is working on a specified part of implementation).

In short, new structure of file should look like this: < WorkItem> < ID>xxx< /ID > < Title>yyy< /Title > < Comment time="2012-12-21T21:58:04.7981026+01:00">zzz< /Comment > < Time>2012-12-21T11:58:04.7981026+01:00< /Time > < /WorkItem >

mjamry commented 11 years ago

Resolved.