dlang.org
dlang.org copied to clipboard
Use the FullCalendar widget instead of the embedded Google widget
See also:
- https://github.com/dlang/dlang.org/pull/2222#issuecomment-367156497
- https://fullcalendar.io/
FullCalendar allows a lot of customization and also comes with a few themes:
https://fullcalendar.io/js/fullcalendar-3.8.2/demos/themes.html
Thanks for your pull request, @wilzbach!
Bugzilla references
Your PR doesn't reference any Bugzilla issue.
If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.
CC @CyberShadow - are you okay with this too? The only downside here is that a Google calendar API key needs to be exposed, but I restricted the domain to localhost, dlang.org and dlang.io which should make abuse harder. And if this ever becomes a problem we can easily revert back to the old widget.
For some reason some of the CDNs used on this page and dlang.org are timing out for me. Is it just me?
When it does load, the calendar I see is completely blank. I see some events currently on https://dlang.org/calendar , but here there's nothing.
Is it just me?
I think so. Does https://fullcalendar.io/js/fullcalendar-3.8.2/demos/themes.html work for you?
Yep, that works fine.
Interesting it works fine in my Chrome and Firefox:

What error do you get in your Firefox?
No error, it's just blank.
