Files
alert-message-center/todo.md
2026-01-12 15:08:31 +08:00

1.3 KiB

Alert Message Center Project Plan

Phase 1: Core Functionality (Completed)

  • Initialize project structure (Bun, Monorepo)
  • Setup Backend (Hono + Bun)
    • Setup Drizzle (PostgreSQL)
    • Refactor Schema: Switch from Bots/Roles to Topics/Users/Subscriptions
    • Feishu Integration: Implement Tenant Access Token & Private Message sending
    • Implement Webhook API (POST /api/webhook/:slug)
    • Implement Management APIs (CRUD for Topics, Users)
  • Setup Frontend (Vite + React + Tailwind)
    • Topics View: Manage topics and subscriptions
    • Users View: Manage users and Feishu IDs
    • Remove obsolete Bots/Roles views

Phase 2: Enhancements

  • Authentication: Feishu SSO integration and role-based access control.
  • Global Monitoring Dashboard: Real-time System Load metrics (Grafana-style).
  • Message Preview: Preview Feishu card JSON in the UI.
  • History/Logs: Basic tracking for sent alerts (Alert Tasks/Logs).
  • Admin Topic Management: Approve, reject, and delete topics (with audit trail).
  • Personal Inbox: Direct alert delivery bypassing topics.
  • Retry Mechanism: Handle Feishu API failures.
  • Deployment: Dockerfile and CI/CD (GitHub Actions + GHCR).