-
-
Notifications
You must be signed in to change notification settings - Fork 316
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
feat: Calendar Events implemented. #174
base: release/v0.7.0
Are you sure you want to change the base?
Conversation
Hello @svilenmarkov. Will this PR be merged in the near future? |
@develoopeer Hey, yeah sorry, calendar events were planned for v0.7.0 so I'll get it merged before that comes out, just wanted to make a couple of changes that I haven't had the chance to work on yet. |
Ooh i got it. I will resolve emerging conflicts in this PR in near future. Hope v0.7.0 will be coming out soon. |
- Bug with ics events, from another years fixed
Can we make displaying all events optional? I dont know how useful it will be to show the first event, when I have a ton of events every day. Also how trivial is adding caldav support? (As in I set up my login details and it pulls all events from a collection) Thanks for the work so far! :) |
Hello @Anachron. Thanks for mentioning caldav support. I briefly tried to implement some caldav support, and was able to make it without any custom libraries. i will say that caldav integration will not be that hard. And about your questions:
|
That's a better answer than I expected. Thank you and take care! 👍 |
Ics files widely used format to represent calendar info parsed via https://github.com/arran4/golang-ical library. It is super lightweight and can parse ics files from different sources. Google calendar, Trello and local files were tested by me.
Events in calendar will be highlighted with color-primary color, and have hover text.
If you have more than 1 event at the same day for one day, only first one will be displayed.
Complete version looks like this:
Icsurl option added to yaml configuration
For example to grab url from google calendar you need to make your calendar public, click on calendar settings and get url from ics field. Instruction. Same goes for Trello
withCacheOnTheHour()
function. This time can be increased or decreased, but i don`t think it is necessary.icsurl
option can be replaced withicsurls
option, to allow you gather events from different sources. This behavior can be simply implemented, but i don`t know is it really useful. I need your opinion for that.