Skip to content

feat(schedules): Output/Create/Items tabs + PWA parity (Phase 1/3)#24

Merged
SecureCloudGroup merged 1 commit into
mainfrom
feat/schedules-tabs-pwa
Jul 12, 2026
Merged

feat(schedules): Output/Create/Items tabs + PWA parity (Phase 1/3)#24
SecureCloudGroup merged 1 commit into
mainfrom
feat/schedules-tabs-pwa

Conversation

@SecureCloudGroup

Copy link
Copy Markdown
Owner

First of three PRs for the Schedules redesign + Chat integration + PWA parity.

This PR (Phase 1):

  • Tabs — the Schedules page is now Output / Create / Items:
    • Output — all run results across every schedule, newest-first, each headed Scheduled Item: {name} (handles the 'awaiting approval' empty-output case). Backed by a new GET /api/schedules/runs/recent + ScheduleStore.recent_runs() (JOIN supplies the encrypted title; deleted-schedule orphans excluded).
    • Create — the add form (with quick-start presets).
    • Items — manage schedules (enable toggle / edit / run-now / delete). 'Run now' jumps to Output.
  • PWA parity — Schedules now shows on a paired phone (nav remote:true). No backend change needed: the route + all 7 endpoints already work over the WebRTC bridge with no Desktop-local fence (full create/edit/run from the phone, as requested).

Verified: ruff clean, full suite 601 passed / 1 skipped (+3 new tests), svelte-check 0/0, build OK, bundle rebuilt.

Next: Phase 2 — Chat agent tools to read/create/manage schedules. Phase 3 — fired output → a dedicated 'Scheduled updates' chat (### Scheduled Item {name} ###) + unseen tracking + background poll + nav badge.

…tput feed

Redesign the Schedules page into three tabs — Output (all run results across schedules,
newest-first, each headed by its schedule), Create (the add form), Items (manage: toggle/
edit/run-now/delete). Add GET /api/schedules/runs/recent + ScheduleStore.recent_runs(),
which JOINs runs to schedules to supply the (encrypted) title and drops deleted-schedule
orphans. Show Schedules on the phone/PWA (nav remote:true) — the route + all endpoints
already work over the WebRTC bridge with no Desktop-local fence, so parity is a nav flip.

Phase 1 of 3 (Chat agent schedule tools + fired-output-in-chat to follow). +3 backend
tests (aggregate/delete-exclusion/unlock-gate); full suite 601 pass, svelte-check 0/0.
@SecureCloudGroup SecureCloudGroup merged commit 211dd56 into main Jul 12, 2026
7 checks passed
@SecureCloudGroup SecureCloudGroup deleted the feat/schedules-tabs-pwa branch July 12, 2026 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant