mirror of
https://github.com/bulwarkmail/native.git
synced 2026-10-31 16:06:32 +00:00
The agenda listed 30 days from the current date and the arrows paged through it 30 days at a time. It now keeps a window of days that grows as the user scrolls, like the webmail's agenda (60e05c00): - reaching the end loads further ahead, doubling that side up to a year - "Show earlier events" loads the past without moving what is on screen - "Today" and the arrows scroll to their day while it lies inside the window and start a fresh window there otherwise; the title follows the day in view - the "Today" row only anchors the list when today was actually fetched Growing the window fetches only the new days: `extendRange` in the calendar store loads the missing part and merges it into the loaded window (up to about three years) instead of refetching all of it. Navigation now goes through one focus for every view, so the week view's arrows move the grid (it kept showing the selected day's week) and the month arrows carry the selected day along.