Phase 1, part 2: Inbox, scheduled publishing and UTM tags

- Inbox: a top-level page, with a count in the menu, for everything
  waiting for approval; Content's drafts are reviewed there. /drafts
  redirects to it.
- Scheduling: publish a draft now or at a time (migration 3 adds
  publish_at). A scheduler in the app publishes due drafts every 30
  seconds. Posts more than 12 hours overdue, or refused before posting,
  go back to the Inbox with the reason. Content gets Scheduled and
  Published tabs.
- UTM tags on links to the company's own websites and product pages,
  added when publishing; drafts stay untagged.
- The container runs in the computer's time zone, so times are shown
  and read correctly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-20 13:17:38 -07:00
co-authored by Claude Opus 5.5
parent 13bf18facc
commit f275f039f9
24 changed files with 873 additions and 184 deletions
+2
View File
@@ -21,6 +21,8 @@ services:
SUPERMARKET_PUBLIC_URL: http://localhost:8470
# Where the data folder (and the MCP socket Hermes uses) is on the host
SUPERMARKET_HOST_DATA: ${SUPERMARKET_DATA:?}
# Your time zone, so times and schedules are shown and read in it
TZ: ${SUPERMARKET_TZ:-UTC}
volumes:
- ${SUPERMARKET_DATA:?}:/data
# LLM servers on this computer are at host.docker.internal.