HWComputerScience / iHW-iOS

iHW iOS App
4 stars 4 forks source link

Export to Calendar #15

Open jononon opened 8 years ago

jononon commented 8 years ago

Mr. Snapp has voiced that we should be able to export to a local calendar app. I agree - but this is something that in no way shape or form needs to be done.

dwoldenberg1 commented 8 years ago

the schedule data isn't stored in a calendar form (predominantly .ics ), it is instead stored as formatted plain text in the database. I'm not really sure how you would export it to something like google calendar, unless there is some master schedule that already is in google calendar or iCalendar or something.

jononon commented 8 years ago

I would just iterate through every day and store it in a calendar format that is widely supported - most likely .ics but if I’m iterating through every day I can have multiple options for the format.

On Jan 11, 2016, at 4:32 PM, dwoldenberg1 notifications@github.com wrote:

the schedule data isn't stored in a calendar form (predominantly .ics ), it is instead stored as formatted plain text in the database. I'm not really sure how you would export it to something like google calendar, unless there is some master schedule that already is in google calendar or iCalendar or something.

— Reply to this email directly or view it on GitHub https://github.com/HWComputerScience/iHW-iOS/issues/15#issuecomment-170742732.

lbagdasarian1 commented 8 years ago

Sounds kind of tedious but if you think students will appreciate that, it could be helpful. Do you have in mind for the notes that users add to different periods to be exported to a calendar or just the different period start and end times?

jononon commented 8 years ago

I would imagine that it’s not hard to add notes - that is if you’re already adding all the other data.

On Jan 11, 2016, at 5:26 PM, lbagdasarian1 notifications@github.com wrote:

Sounds kind of tedious but if you think students will appreciate that, it could be helpful. Do you have in mind for the notes that users add to different periods to be exported to a calendar or just the different period start and end times?

— Reply to this email directly or view it on GitHub https://github.com/HWComputerScience/iHW-iOS/issues/15#issuecomment-170752102.

lbagdasarian1 commented 8 years ago

What kind of data do you envision exporting to a calendar? Like what do you think it would look like?

jononon commented 8 years ago

I think it would fill their calendar in with classes they have - it would also put any notes about the class into the notes section of the calendar entry. I wouldn't add any X periods.

jburns20 commented 8 years ago

I didn't originally decide to do a calendar export feature for two reasons. First, the cycle schedule at Harvard-Westlake makes it difficult to use repeating events on a conventional calendar system, so all the events would have to be listed individually. Second, it is common for schedules to be changed frequently without much advance notice, making the exported calendar events out-of-date with no way of fixing them aside from telling the user to manually delete all the events (individually, since we can't use repeating events) and re-exporting them from the app. These problems would need to be solved before a calendar export feature would be feasible.