jhanarato / uposatha-inky

Display the uposatha on a Pimoroni Inky display
MIT License
0 stars 0 forks source link

Uposatha is today #12

Closed jhanarato closed 1 year ago

jhanarato commented 1 year ago

When today is the uposatha, we should display:

jhanarato commented 1 year ago

Well, here we are 2 months later and the upcoming uposatha view is done and dusted. Now to approach the today-is-uposatha view. How to approach this?

jhanarato commented 1 year ago

Another 3 weeks goes by. Performance improvements have been made and we're back here.

I think the next step to take is to move the "in between uposathas" view from compose.py to it's own view class in views.py

jhanarato commented 1 year ago

Code from compose.py now converted to views.BetweenUposathaView

jhanarato commented 1 year ago

All views should be constructed via a Context instance. The next_uposatha code in content.py can me merged into BetweenUposathasView.

jhanarato commented 1 year ago

We've untangled a lot today. Next steps:

jhanarato commented 1 year ago

We have a Pane class now. We can start by making a heading pane and information pane. Then we need a special pane to show a large moon.

jhanarato commented 1 year ago

Implemented!