magpie by Circuit Forge LLC — Cross-product data gathering and collection tool (reserved)
Find a file
Alan Weinstock a863960266 feat: structured logging, frontend error toasts, stats bar (#14 #15 #16)
#14 — Structured logging
- app/core/logging_config.py: configure_logging() sets stdout handler
  with timestamped format; called at import time in main.py
- Global FastAPI exception_handler logs 500s with full traceback
- opportunities.py: logger added; create/approve/mark-posted/dismiss
  each emit an info line so failures are traceable

#15 — Frontend error handling
- frontend/src/composables/useToast.ts: shared toast composable
  (error/success/info, auto-dismiss, module-level singleton)
- frontend/src/components/ToastList.vue: fixed-position overlay,
  theme-aware, accessible (role=alert, aria-live=polite)
- OpportunitiesView: all 6 async actions have catch + toast.error()
- CampaignDetail: onMounted + all 6 mutation functions wrapped

#16 — Aggregate stats
- app/api/endpoints/stats.py: GET /api/v1/stats — single DB pass
  via GROUP BY; returns posts totals, 7-day count, top communities,
  platform breakdown, and opportunity queue counts
- frontend/src/components/StatsBar.vue: slim header bar above
  router-view; chips for posts ok/failed/week, queue pending/approved/
  posted, top community; hides gracefully on API error
2026-05-25 15:02:15 -07:00
app feat: structured logging, frontend error toasts, stats bar (#14 #15 #16) 2026-05-25 15:02:15 -07:00
frontend feat: structured logging, frontend error toasts, stats bar (#14 #15 #16) 2026-05-25 15:02:15 -07:00
mcp feat: opportunities UI improvements, MCP tools, session refresh, migrations 013-014 2026-04-27 07:49:34 -07:00
scripts feat: seed example blog campaign + fix solarpunk sub_rules to banned 2026-04-27 16:12:33 -07:00
tests feat: register BlogPostStrategy in platform registry 2026-04-27 16:10:15 -07:00
.env.example feat: scaffold Magpie — campaign scheduler + social posting platform 2026-04-21 16:51:33 -07:00
.gitignore feat(#7,#10): signal crawler -- Reddit + Lemmy community monitoring 2026-04-22 11:00:14 -07:00
docker-compose.yml feat: scaffold Magpie — campaign scheduler + social posting platform 2026-04-21 16:51:33 -07:00
Dockerfile feat: scaffold Magpie — campaign scheduler + social posting platform 2026-04-21 16:51:33 -07:00
LICENSE Initial commit 2026-03-10 20:52:31 -07:00
manage.sh feat(#7,#10): signal crawler -- Reddit + Lemmy community monitoring 2026-04-22 11:00:14 -07:00
pyproject.toml feat: scaffold Magpie — campaign scheduler + social posting platform 2026-04-21 16:51:33 -07:00
README.md Initial commit 2026-03-10 20:52:31 -07:00

magpie

magpie by Circuit Forge LLC — Cross-product data gathering and collection tool (reserved)