- Monorepo: NestJS API (Fastify) + React web (antd/ProComponents) + shared packages - PostgreSQL/Prisma (unified resources, relations graph, audit, events, jobs) - Auth/RBAC/workspace isolation, credential vault (AES-256-GCM) - Servers/SSH, Docker discovery & lifecycle, Job Center - Websites & deployments (git provider credential clone, env, health verification) - Domains/DNS (Cloudflare adapter), certificates (TLS probe), monitoring - Automation (cron/event/webhook HMAC + notifications), AI Gateway, MCP (29 tools) - AI chat window (LLM function-calling + rules fallback, SSE streaming, approvals) - Notes: Vditor WYSIWYG markdown editor, non-blocking autosave - Tests: 35 unit/security tests; UI audit clean (desktop+mobile, deep links)
51 lines
944 B
Markdown
51 lines
944 B
Markdown
# 09 — Unified Workspace UX
|
||
|
||
## Global shell
|
||
ProLayout + workspace switcher + global search + notifications + AI entry。
|
||
|
||
## Command Palette
|
||
支持:
|
||
- search resource
|
||
- go to project
|
||
- create task
|
||
- deploy website
|
||
- open server
|
||
- run automation
|
||
- ask AI
|
||
|
||
## Global Search
|
||
搜索:
|
||
- projects
|
||
- resources
|
||
- repositories
|
||
- websites
|
||
- domains
|
||
- tasks
|
||
- notes
|
||
- deployments
|
||
|
||
结果显示 resource type + status + project。
|
||
|
||
## Activity
|
||
统一 Activity Feed,至少包括:
|
||
- deployment
|
||
- server command
|
||
- automation execution
|
||
- credential access
|
||
- task changes
|
||
- AI tool call
|
||
|
||
## Dashboard
|
||
Dashboard 不以数字 KPI 为核心,而以“今天我要处理什么”为核心:
|
||
- infrastructure incidents
|
||
- failed deployments
|
||
- pending approvals
|
||
- tasks due
|
||
- recent projects
|
||
- recent activity
|
||
- AI recommendations
|
||
|
||
## Resource detail
|
||
统一 tabs:Overview / Relations / Activity / Logs / Actions。
|
||
按资源类型隐藏不适用 tab。
|