Skip to content

feat: 添加 AI 图片多群风格同步 - #14

Open
damingishere-coder wants to merge 1 commit into
masterfrom
codex/feat-ai-image-style-batch-ui
Open

feat: 添加 AI 图片多群风格同步#14
damingishere-coder wants to merge 1 commit into
masterfrom
codex/feat-ai-image-style-batch-ui

Conversation

@damingishere-coder

Copy link
Copy Markdown
Owner

改动摘要

  • 将共享 ImageThemePicker 重做为桌面紧凑工作台与移动端全屏面板,修复无色板模式标题/副标题粘连。
  • AI 图片运行记录首次进入默认使用上海当天日期,清空日期后可查询全部历史。
  • 新增可搜索的多群复选列表、共享风格注入预览、部分失败清单与失败群一键重试。
  • 新增 PUT /api/groups/batch/image-theme,按群独立事务,仅更新主题字段与 updated_at

验证结果

  • pytest tests/test_group_image_theme_batch_api.py tests/test_daily_random_theme.py -q:19 passed
  • pytest tests -q --cov=app --cov=scripts --cov-report=xml:coverage.xml:771 passed
  • python -m compileall -q app scripts tests:通过
  • npm test:33 passed
  • npm run build:通过
  • npm run test:e2e:17 passed
  • git diff --check:通过

风险与边界

  • 不修改或重建历史 Prompt、manifest、运行记录和历史图片。
  • 不触发生图,不发送微信或邮件,不连接真实 Provider。
  • 批量接口不走通用群更新路径,不修改 Prompt override、发送时间、发送开关等其他群配置。
  • “每日随机”继续按群标识和上海日期独立、可复现地选择。

回滚

  • Squash 合并后如需回滚,可 revert 合并提交;数据库无迁移,接口仅更新现有群主题字段。

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