Closed jhanarato closed 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?
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
Code from compose.py
now converted to views.BetweenUposathaView
All views should be constructed via a Context
instance. The next_uposatha
code in content.py
can me merged into BetweenUposathasView
.
We've untangled a lot today. Next steps:
UposathaView.show()
and HolidayView.show()
using the existing code in uposatha()
and holiday()
.update()
calls select_view()
and passes the view to DrawingViewer
.next_uposatha_content()
and uposatha_details()
in BetweenUposathaView
. 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.
Implemented!
When today is the uposatha, we should display: