feat(web): add shared team projects workbench - #148
Merged
realchendahuang merged 2 commits intoSep 29, 2026
Merged
realchendahuang merged 2 commits into
realchendahuang merged 2 commits into
Conversation
Jasper-Wei1
marked this pull request as draft
September 28, 2026 15:41
Jasper-Wei1
marked this pull request as ready for review
September 29, 2026 01:48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更
在 FlareMo 原生工作区内新增「团队项目」入口
/team-projects,让团队能集中查看项目、负责人、状态、当前进展、下一步和跟进日期,并进入完整页面维护概况、记录进展/会议结论、上传和查看资料。原有/projects个人任务看板保留。kosx-pm元数据块(kosx.pm/1),普通笔记不进入项目列表。can_manage。指定业务负责人不会授予主记录编辑权限;其他可发布成员可添加自己的进展和附件。docs/team-projects-workbench.md。Issue 关系:本次为用户明确请求的外部集成贡献,暂无关联 issue。
本期范围与后续边界
本期交付为 FlareMo 内置的全团队共享项目工作台。默认团队中有有效成员资格的用户(包含只读成员)可查看正常状态的团队共享项目、进展和资料;原有记录生命周期权限继续生效。
影响范围
/api/app/*服务端实现/api/v1/*服务端实现前端调用现有 API 和附件能力;不新增后端服务、数据库表、依赖或云资源。移植的 JavaScript 通过局部
checkJs配置纳入 web 检查,宿主 strict TypeScript 配置保持不变;本次不是完整 strict TypeScript 重写。验证
在最终提交上独立复核通过:
pnpm exec vitest run tests/team-projects/workbench.test.ts apps/web/src/features/team-projects/navigation.test.ts pnpm --filter @flaremo/web check pnpm --filter @flaremo/web build pnpm format:check git diff --check origin/mainnoDescendingSpecificity警告。构建也仍有 chunk 大小及混合动态/静态导入提示。/projects入口独立可用。tests/e2e/team-projects.spec.ts的登录守卫和导航回归用例;按AGENTS.md的 opt-in 规则,未运行仓库 Playwright E2E 套件,也未运行pnpm verify。GitHub Actions 当前存在
action_required运行状态,需要维护者处理后才会得到远端检查结果;不将本地通过等同于远端 CI 已通过。升级说明
不需要 D1 migration、Access policy 调整或新增 Cloudflare 资源;本 PR 不部署任何站点。维护者审查合并后,仍需按自己的发布流程部署,才会出现在已部署实例中。
当前边界:
flaremo.kosx.ai的生产配置。