feat(agenda): bottom-left pill to override the range for the session
Translations / check (pull_request) Successful in 5s
CI / ci (pull_request) Successful in 9m4s

Add a tonal pill in the agenda's bottom-left corner showing the current
range; tapping it opens the existing AgendaRangePicker as a session-only
override. The override lives in AgendaViewModel (in-memory), so it survives
view switches and rotation but resets to the saved default when the app is
relaunched. The pill fills with the primary container while an override is
active, and a hint in the picker spells out the temporary nature.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
makiolajandClaude Opus 4.8 committed 2026-06-27 15:50:18 +02:00
1 parent b2bfdc0f42
commit 3cf1439850
5 files changed
+136 -14

No files matched your search

+1
View File
@@ -286,6 +286,7 @@
<string name="agenda_range_month">Next 30 days</string>
<string name="agenda_range_custom">Custom…</string>
<string name="agenda_range_custom_hint">Days</string>
<string name="agenda_range_override_hint">Just for now — resets to your saved range when you reopen Calendula.</string>
<plurals name="agenda_range_days">
<item quantity="one">%d day</item>
<item quantity="other">%d days</item>