Skip to content

Server: Dashboard UI#30

Merged
ggondim merged 2 commits intometa/17from
claude/17-issue-13-20260410-2321
Apr 10, 2026
Merged

Server: Dashboard UI#30
ggondim merged 2 commits intometa/17from
claude/17-issue-13-20260410-2321

Conversation

@github-actions
Copy link
Copy Markdown

fixes #13

github-actions Bot and others added 2 commits April 10, 2026 23:33
Implements the full management dashboard UI for the OpenThreads server.

## Dashboard pages (/dashboard/*)
- Overview: live stats (channel/route/thread counts)
- Channels: list + add wizard (platform → credentials → test → save),
  edit/delete, masked API key with eye/copy toggle
- Routes: ReactFlow visual flow (channel → route → recipient nodes),
  drag-to-create edges, criteria drawer, priority list, test route matching
- Threads: searchable + filterable table, click-to-detail
- Thread Detail: chronological turn timeline, A2H intent rendering,
  raw envelope collapsible
- Settings: global TTL/trust-layer config + per-channel overrides

## New API endpoints
- POST /api/routes/test — simulate inbound criteria → matching route IDs
- GET /api/settings — read global settings from MongoDB
- PUT /api/settings — update global settings

## Updated
- GET /api/threads — channelId now optional; added search query param
- lib/db.ts — listThreads(), AppSettings/ChannelOverride types,
  getSettings(), updateSettings()
- Root page redirects to /dashboard
- Root layout wraps with AntdRegistry for Next.js SSR CSS handling
- lib/api-client.ts — new typed API client for dashboard pages

fixes #13

Co-authored-by: Gustavo Gondim <ggondim@users.noreply.github.com>
@ggondim ggondim merged commit 361af4b into meta/17 Apr 10, 2026
@claude claude Bot mentioned this pull request Apr 10, 2026
16 tasks
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