Commit Graph

15 Commits

Author SHA1 Message Date
758ed73f9d fix: 渠道账号群聊同步缓存 key 及成员名称兜底;统一 Docker/Maven 项目约定 2026-07-10 15:55:30 +08:00
78a46977ba fix(channel-conversation): address code review issues for Task 5
- Make frontend account filter case-insensitive in Conversation.vue
- Warn when bind dialog is submitted without selecting an account
- Reuse AccountSelector.isHealthy in resolvePersonTarget
- Expand ConversationService.bindAccount unit tests
- Update channel mismatch assertion in SendServiceResolveTargetTest
- Move currentConversationId declaration near tag binding state
2026-07-08 17:58:35 +08:00
2cdbc662f3 feat(send-record): support tag and rule targets in test send
- Add tag/rule options to the target type selector.
- Show tag selector + scope selector (all/conversation/person) for tag targets.
- Show rule JSON textarea for rule targets.
- Load tag list on mount.
- Update buildTargetValue to build tag_id/scope and parsed rule payloads.
2026-07-08 17:48:53 +08:00
ec0733cb28 feat(ui): conversation account binding for send/receive primary/backup
- Filter account selector by conversation channelType
- Add sortOrder priority input
- Use currentBindConversation ref for binding context
2026-07-08 17:48:31 +08:00
1298a558e8 wip: baseline changes before channel-conversation-task boundary implementation 2026-07-08 16:23:09 +08:00
24a70eb530 fix(task12): 修复前端登录租户编码透传、补充 tenant_admin 角色迁移与外部 API 测试脚本
- admin-web/api/client.ts: 请求拦截器仅在未显式传入 X-Tenant-Code 时使用 localStorage 默认值
- admin-web/api/account.ts: login 显式携带租户编码请求头,解决浏览器登录 401
- db/migration/V10: 新增 tenant_admin 平台角色,供外部 API 测试创建租户管理员
- scripts/test-external-api.sh: 创建租户后自动创建管理员并登录,后续接口使用 Bearer Token
- docs/superpowers/plans: 提交总体规划与 Task 12 测试计划
2026-07-07 16:08:20 +08:00
cc4e5bcc2f feat(web): add message test module 2026-07-07 15:42:14 +08:00
2180fc4354 feat(web): add Vue Flow editor and flow trace viewer 2026-07-07 15:39:14 +08:00
6921f0d3e4 feat(web): improve send record UX with dropdowns 2026-07-07 15:36:56 +08:00
9a1565dd8d feat(web): load real data in dashboard and list pages 2026-07-07 15:34:35 +08:00
d0e9f5fb42 feat(web): add tenant and user management pages 2026-07-07 15:30:20 +08:00
e731ee7a2e feat(web): add login, auth store and router guard 2026-07-07 15:25:47 +08:00
bcef04a8cc feat(web): add pinia/vue-flow deps and update API layer 2026-07-07 15:22:05 +08:00
51a373e06c chore: consolidate docker-compose and add integration tests
- Merge infrastructure/docker-compose.yml + docker-compose.app.yml into root docker-compose.yml with profiles (infra/app).
- Add healthchecks for mysql/redis/rabbitmq/mci-server/channel-service and depends_on conditions.
- Rewrite scripts/local-up.sh to use profiles and wait for healthy states.
- Add curl to mci-server and channel-service Docker images for healthchecks.
- Add npm test script to admin-web (type-check + build smoke test).
- Add scripts/test-external-api.sh covering 11 API endpoints.
- Verify Java (7/7), Python (6/6), npm build, external API (11/11), and UI flows.
2026-07-07 13:35:41 +08:00
91d5c29f23 feat(admin-web): add Vue 3 admin console and deployment configs
- Add admin-web/ with Vite + Vue 3 + Element Plus + Vue Router
- Add 8 management pages: dashboard, channel subject/account, conversation,
  person, tag, send record (with test send), inbound flow
- Add API client modules for account/channel/crm/send/flow
- Add Dockerfile and nginx config for admin-web
- Add Dockerfile for mci-server
- Add docker-compose.app.yml for one-command app deployment
- Add K8s deployment manifests for backend/admin-web/channel-service
- Update scripts/local-up.sh with shared network and --with-apps option
2026-07-07 12:42:17 +08:00