daybook/tests/views
peter cae414c307 v0.4.0: live feed updates (auto-insert new posts)
New artifacts appear at the top of the feed without a manual refresh.

- GET /feed/updates (session-authed): new artifacts since a timestamp marker,
  owner-scoped and filter-aware (source/label/kind/q), returned as row HTML.
- Feed JS polls every 5s, paused while the tab is hidden (immediate poll on
  refocus). Prepends new rows into today's group without touching the selected
  row or the preview iframe — what you're reading stays put and selected.
- Fresh rows show "now", aging into their real time after ~3 min; brief
  highlight on arrival.
- Extracted _artifact_rows.html partial, shared by the day-group render and the
  updates endpoint, so live rows match exactly.
- Polling chosen over SSE/WebSockets: zero infra on sync-WSGI + SQLite (see
  planning/next_steps for the SSE upgrade path). 142 tests pass; feed page +
  endpoint verified.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-04 23:02:07 +01:00
..
__init__.py Add admin-only Settings -> Users page for creating accounts 2026-09-02 12:33:38 +01:00
test_feed_updates.py v0.4.0: live feed updates (auto-insert new posts) 2026-09-04 23:02:07 +01:00
test_settings_api_keys.py Release v0.2.0: multiple named API keys per user 2026-09-04 10:52:43 +01:00
test_settings_users.py Release v0.2.0: multiple named API keys per user 2026-09-04 10:52:43 +01:00
test_sharing.py v0.3.0: rename app Daybook -> AgentFeed 2026-09-04 13:10:28 +01:00