fix: bug fixes and UX improvements (v0.3.5)

- Fix clipboard copy error in HTTP environment with execCommand fallback
- Fix team invite page not loading user groups, always showing "join group first"
- Fix JoinGroupPage isMember check using group object instead of user ID
- Fix cancelRSVP deleting all users' RSVP records instead of current user's
- Fix event detail not loading event data itself
- Fix event comment avatar URL missing PocketBase baseUrl prefix
- Fix event creation missing endTime > startTime validation
- Fix event manage/delete permission split (creator+owner vs creator+owner)
- Fix event create button only visible to admins, now all members can create
- Fix event expand not subscribing to comments/RSVP realtime updates
- Fix event relative time not using status field
- Remove duplicate create/join group buttons from header and welcome bar
- Refactor team invite link to use API function

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
congsh
2026-04-21 22:19:18 +08:00
parent 2fec2108ca
commit a062889a11
13 changed files with 125 additions and 52 deletions
+20
View File
@@ -10,6 +10,26 @@ interface LogEntry {
}
const logs = ref<LogEntry[]>([
{
version: 'v0.3.5',
date: '2026-04-21',
title: 'Bug 修复与体验优化',
items: [
{ type: 'fix', text: '修复邀请链接复制在 HTTP 环境下报错的问题,添加 execCommand 降级方案' },
{ type: 'fix', text: '修复小队邀请链接页面未加载用户群组数据,导致始终提示"需要先加入群组"' },
{ type: 'fix', text: '修复加入群组页面 isMember 判断错误,使用了群组对象而非用户 ID' },
{ type: 'fix', text: '修复取消 RSVP 时误删所有用户 RSVP 记录的问题' },
{ type: 'fix', text: '修复活动详情加载时未获取活动本身数据的问题' },
{ type: 'fix', text: '修复活动评论头像 URL 未拼接 PocketBase baseUrl 导致图片加载失败' },
{ type: 'fix', text: '修复活动创建未校验结束时间必须晚于开始时间' },
{ type: 'fix', text: '修复活动管理权限判断,拆分编辑权限(创建者+群主)和删除权限(创建者+群主)' },
{ type: 'fix', text: '修复活动发起按钮仅管理员可见,改为所有群组成员可发起' },
{ type: 'fix', text: '修复活动展开详情后未订阅评论和 RSVP 实时更新' },
{ type: 'fix', text: '修复活动相对时间未使用 status 字段判断状态的问题' },
{ type: 'refactor', text: '移除顶部 Header 和首页欢迎条中重复的"创建群组""加入群组"按钮' },
{ type: 'refactor', text: '小队邀请链接改用 API 函数替代原始 PocketBase 调用' },
]
},
{
version: 'v0.3.4',
date: '2026-04-21',