Skip to content

fix: 优化部分架构问题和特性问题#63

Merged
ZhengZhenyu merged 4 commits intoopensourceways:mainfrom
ZhengZhenyu:main
Feb 23, 2026
Merged

fix: 优化部分架构问题和特性问题#63
ZhengZhenyu merged 4 commits intoopensourceways:mainfrom
ZhengZhenyu:main

Conversation

@ZhengZhenyu
Copy link
Collaborator

变更说明

关联 Issue:#

Checklist

  • 功能实现正确,无明显 Bug
  • 测试通过(新增/修改功能已补充测试,覆盖率 ≥ 80%)
  • 无敏感信息硬编码(密钥、密码、Token)
  • 数据库有变更时迁移文件已生成并测试
  • 必要的文档已同步更新

- 会议模型/Schema 新增 online_url 字段,支持 online/hybrid 类型独立存储线上链接
- 新增 alembic 迁移 011:为 meetings 表添加 online_url 列
- 内容 Schema 新增 community_ids 字段,支持一篇内容关联多个社区
- ContentEdit 页面增加「关联社区」多选控件,编辑/新建时自动预填当前社区
- ContentList/CommunitySandbox 展示 work_status 工作状态标签及图标优化
- MeetingCalendar 新增 hybrid(线上线下混合)类型及 online_url 表单项
- MeetingDetail 展示 hybrid 类型的线上链接和线下地址
- 修复 campaign.ts / event.ts API 路径多余 /api 前缀(Vite proxy 已代理)
- 新增需求文档:新模块需求分析、开发实施方案
- 新增 test_wechat_stats_service.py(32个测试用例),覆盖工具方法和趋势数据逻辑
- wechat_stats.py 覆盖率从 64.61% 提升至 96.91%,总覆盖率从 81.63% 提升至 83.57%
- 拆分 ContentCalendar.vue:提取 UnscheduledPanel 和 ContentDetailDialog 组件
- 修复 ContentCalendar.vue 的 TypeScript 类型错误(移除未定义变量引用)
- 审查所有 db.execute() 调用,确认无 SQL 注入风险
- 确认关键查询已使用 joinedload/selectinload 优化,无 N+1 问题
- 确认全局异常处理器已配置完善
@opensourceways-bot
Copy link
Contributor

Linking Issue Notice

@ZhengZhenyu , the pull request must be linked to at least one issue.
If an issue has already been linked, but the needs-issue label remains, you can remove the label by commenting /check-issue .

@opensourceways-bot
Copy link
Contributor

CLA Signature Guide

@ZhengZhenyu , thanks for your pull request.

The following commit(s) are not associated with a signed Contributor License Agreement (CLA).

Commit Reason
cf5d3d01 feat: 会议新增 online_url ��... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.

To sign CLA, click here.

To check if your email is configured correctly, refer to the FAQs.

Once you've signed the CLA or updating your email, please comment /check-cla to revalidate CLA status.

- 移除 ContentCalendar.vue 中错误的 SCSS 代码(未排期面板样式)
- 修复 ContentDetailDialog.vue 中的 v-model 绑定(使用 :model-value 和 @update:model-value)
- 前端构建成功
@opensourceways-bot
Copy link
Contributor

CLA Signature Guide

@ZhengZhenyu , thanks for your pull request.

The following commit(s) are not associated with a signed Contributor License Agreement (CLA).

Commit Reason
cf5d3d01 feat: 会议新增 online_url ��... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.

To sign CLA, click here.

To check if your email is configured correctly, refer to the FAQs.

Once you've signed the CLA or updating your email, please comment /check-cla to revalidate CLA status.

- 修复 emit 类型定义,添加 'update:visible' 事件
- 使用显式函数处理 update:model-value 事件
- TypeScript 类型检查通过
@opensourceways-bot
Copy link
Contributor

CLA Signature Guide

@ZhengZhenyu , thanks for your pull request.

The following commit(s) are not associated with a signed Contributor License Agreement (CLA).

Commit Reason
cf5d3d01 feat: 会议新增 online_url ��... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.

To sign CLA, click here.

To check if your email is configured correctly, refer to the FAQs.

Once you've signed the CLA or updating your email, please comment /check-cla to revalidate CLA status.

@ZhengZhenyu ZhengZhenyu merged commit 00e0fea into opensourceways:main Feb 23, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants