New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ICS events show as 'free' in calendar clients #113
Comments
Nvm. We have the lib locally within the project. I think it is fine to to extend the One additional idea. Add a |
One more thing. The |
* Introduce an enumerator to represent calendar status. Afaik, only two exist, but should make the code more readable as the notion of status will be used in multiple places (extractors, ics.js, options page, ...) * Add the atribute to the class CalendarEvent
the 'structure' object. Make events status configurable per extractor. (#113) * Every event extractor has configurable title and descriptions formats, as well as the flag for 'isHTML' and default event status. As an attempt to ensure all 'EventExtractor' implementations have these properties, an auxiliar function is added to generate the common part, while enabling different defaults per extractor * This commit also makes the event status configurable per extractor, so that some extractors set events as busy, but others can set it as free
visibility should default to the client calendar settings (#113)
* Introduce an enumerator to represent calendar status. Afaik, only two exist, but should make the code more readable as the notion of status will be used in multiple places (extractors, ics.js, options page, ...) * Add the atribute to the class CalendarEvent
the 'structure' object. Make events status configurable per extractor. (#113) * Every event extractor has configurable title and descriptions formats, as well as the flag for 'isHTML' and default event status. As an attempt to ensure all 'EventExtractor' implementations have these properties, an auxiliar function is added to generate the common part, while enabling different defaults per extractor * This commit also makes the event status configurable per extractor, so that some extractors set events as busy, but others can set it as free
visibility should default to the client calendar settings (#113)
* Introduce an enumerator to represent calendar status. Afaik, only two exist, but should make the code more readable as the notion of status will be used in multiple places (extractors, ics.js, options page, ...) * Add the atribute to the class CalendarEvent
the 'structure' object. Make events status configurable per extractor. (#113) * Every event extractor has configurable title and descriptions formats, as well as the flag for 'isHTML' and default event status. As an attempt to ensure all 'EventExtractor' implementations have these properties, an auxiliar function is added to generate the common part, while enabling different defaults per extractor * This commit also makes the event status configurable per extractor, so that some extractors set events as busy, but others can set it as free
visibility should default to the client calendar settings (#113)
All events generated via
ics.js
show as 'Free' in calendar clients and I think it is quite correct. It could be a configurable option of course, but I think by default all events associated to timetables and exams should appear as 'Busy'. A bill deadline is more a reminder, thus that should be fine to show as 'Free' (in my opinion). I guess it would be nice to tweak the default per extractor-basis and let the user customise if he needs to.After reading the standard and inspecting the code, the problem is the lib adding a
TRANSP
field onVEVENT
: https://github.com/nwcell/ics.js/blob/dfec67f37a3c267b3f97dd229c9b6a3521222794/ics.js#L187.I guess we cannot easily override this behaviour... The lib is no longer maintained either. Should we fork it? Consider using another lib?
The text was updated successfully, but these errors were encountered: