Add Ongoing to the Panama Daybook

This commit is contained in:
Gabriel Brown
2026-08-17 12:18:04 -04:00
parent 1ce5c732b7
commit a5450fdb6d
12 changed files with 483 additions and 47 deletions
@@ -8,6 +8,8 @@ fail() {
}
cleanup() {
qs ipc call focus end >/dev/null 2>&1 || true
qs ipc call activity clear >/dev/null 2>&1 || true
qs ipc call calendar-agenda reset >/dev/null 2>&1 || true
qs ipc call calendar-agenda close >/dev/null 2>&1 || true
}
@@ -40,6 +42,18 @@ jq -e '.open == true and .page == "notifications"' \
<<<"$(qs ipc call calendar-agenda status)" >/dev/null \
|| fail 'notification open did not route to Notifications'
qs ipc call activity fixture microphone-on >/dev/null
qs ipc call calendar-agenda page ongoing >/dev/null
jq -e '.open == true and .page == "ongoing" and .ongoingCount >= 1' \
<<<"$(qs ipc call calendar-agenda status)" >/dev/null \
|| fail 'persistent activity did not route to Ongoing'
qs ipc call activity fixture all-on >/dev/null
qs ipc call focus start >/dev/null
jq -e '.ongoingCount == 5 and .ongoingFits == true' \
<<<"$(qs ipc call calendar-agenda status)" >/dev/null \
|| fail 'crowded Ongoing activity does not fit the Daybook'
hyprctl layers | rg -q 'namespace: qs-popover-datemenu' \
|| fail 'Daybook layer did not map'
rg -q 'implicitWidth: 760' config/dot/quickshell/modules/datemenu/DateMenu.qml \