dakrauth / django-swingtime

📆 Event and occurrence scheduling application for Django
https://dakrauth.github.io/django-swingtime/
MIT License
313 stars 99 forks source link

Dict or List format of daily events for more sophisticated monthly calendar layouts #22

Open rcooke opened 7 years ago

rcooke commented 7 years ago

I'm helping a non-profit with their main event calendar. As you might imagine, its a bit busy!

I need to improve the day-cell layout. For example, they would like morning events to appear in the top half of the cell, mid-day (or all day) events in the middle, and evening events in the bottom half. With a white space gap between the three.

I also added the option of displaying an icon in place of (or with) the event name. So things like Remembrance day (Nov 11) is the Poppy icon. Christmas is a decorated Xmas tree, etc.

Before I start making changes to my fork, I wanted to check and see if any work or thoughts in this direction already exist.

Thanks in advance!

dakrauth commented 7 years ago

Richard, thank you for your feedback. I've been busy both making modifications to swingtime to meet a great number of requests for enhancements to the app, many along similar lines as you've mentioned. Rather than over-complicating the existing models and basic simplicity of the existing code base, I've opted to approach the problem by allowing all existing swingtime models to concrete models of underlying abstract models. My work is being conducted in a feature branch which I hope to release soon (1-3 weeks), and as an example of how to better satisfy the pseudo-infinite nature of rrule generations, I'll point you to https://github.com/dakrauth/django-swingtime/tree/feature/abstract_models to give a chance to review and comment on the progress therein. Sincerely, David