Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ai
/
ai-workflow
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 89df2a76
authored
May 24, 2026
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
docs(岗位标签删除引用修复): 标记任务清单中的已完成任务
1 parent
0a548a88
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
workspace/agent-admin/web/openspec/changes/fix-position-tag-delete-references/tasks.md
workspace/agent-admin/web/openspec/changes/fix-position-tag-delete-references/tasks.md
View file @
89df2a7
## 1. 契约与测试
## 1. 契约与测试
-
[
]
1.1 更新岗位标签引用检查 API 类型和 mock fixture 为
`agent_references`
、
`qrcode_references`
、
`official_tab_references`
。
-
[
x
]
1.1 更新岗位标签引用检查 API 类型和 mock fixture 为
`agent_references`
、
`qrcode_references`
、
`official_tab_references`
。
-
[
]
1.2 先写失败测试覆盖引用检查新契约。
-
[
x
]
1.2 先写失败测试覆盖引用检查新契约。
-
[
]
1.3 先写失败测试覆盖无引用、仅 Agent 引用、渠道活码引用、官网 Tab 引用、多类引用同时存在的删除弹窗行为。
-
[
x
]
1.3 先写失败测试覆盖无引用、仅 Agent 引用、渠道活码引用、官网 Tab 引用、多类引用同时存在的删除弹窗行为。
## 2. 页面实现
## 2. 页面实现
-
[
]
2.1 更新岗位标签列表页删除前引用检查解析逻辑。
-
[
x
]
2.1 更新岗位标签列表页删除前引用检查解析逻辑。
-
[
]
2.2 将删除前检查结果统一展示在二次弹窗中,并同时展示所有存在的引用提示。
-
[
x
]
2.2 将删除前检查结果统一展示在二次弹窗中,并同时展示所有存在的引用提示。
-
[
]
2.3 实现按钮文案与行为:仅 Agent 引用或无引用显示
`确定`
并调用删除接口;存在渠道活码或官网 Tab 引用显示
`知道了`
并只关闭弹窗。
-
[
x
]
2.3 实现按钮文案与行为:仅 Agent 引用或无引用显示
`确定`
并调用删除接口;存在渠道活码或官网 Tab 引用显示
`知道了`
并只关闭弹窗。
-
[
]
2.4 保持删除失败、引用检查失败和取消删除的现有可恢复反馈。
-
[
x
]
2.4 保持删除失败、引用检查失败和取消删除的现有可恢复反馈。
## 3. 验证
## 3. 验证
-
[
]
3.1 运行相关 API 和页面单元测试,确认先失败后通过。
-
[
x
]
3.1 运行相关 API 和页面单元测试,确认先失败后通过。
-
[
]
3.2 运行
`npm run typecheck`
、
`npm test`
、
`npm run build`
,记录结果。
-
[
x
]
3.2 运行
`npm run typecheck`
、
`npm test`
、
`npm run build`
,记录结果。
-
[
]
3.3 完成必要的浏览器交互验证:检查多类引用同时存在时三条提示均展示,且
`知道了`
不触发删除接口。
-
[
]
3.3 完成必要的浏览器交互验证:检查多类引用同时存在时三条提示均展示,且
`知道了`
不触发删除接口。
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment