Skip to content

Commit 6b4b92a

Browse files
committed
Update agent.mdc guidelines for clarity, enhance TODO.md with new tasks, and comment out unused components in Dashboard.tsx
1 parent 1b5fcbe commit 6b4b92a

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

.cursor/rules/agent.mdc

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22
alwaysApply: true
33
---
44

5-
## 禁止做以下的行为, 如非被明确要求
5+
## 禁止做以下的行为
66

7-
- 禁止自动跑任何 pnpm 命令
8-
- 禁止自动创建 README.md 文件
9-
- 禁止自动生成 console.log 语句
10-
- 禁止自动跑任何的 linter 命令
11-
- 禁止自动构建任何的 e2e 测试
12-
- 禁止自动使用 tailwindcss
7+
- 禁止自动跑任何 pnpm 命令, 如非被明确要求
8+
- 禁止自动创建/编辑 README.md 文件, 如非被明确要求
9+
- 禁止自动生成 console.log 语句, 如非被明确要求
10+
- 禁止自动跑任何的 linter 命令, 如非被明确要求
11+
- 禁止自动构建任何的 e2e 测试, 如非被明确要求
12+
- 禁止自动使用 tailwindcss, 如非被明确要求
1313

1414
## 建议做以下的行为
1515

1616
- 尽量使用 for 循环, 尽量不实用 forEach
1717
- 在 Typescript 中, 禁止使用 any, 尽量推导出来类型
18+
- 尽量使用 Hook 管理装状态

docs/TODO.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### 高优先级
66

7+
- [ ] 优选翻译排序
78
- [ ] Bundle chrome extension files
89
- [ ] 使用教程
910
- [ ] 演示模式
@@ -13,8 +14,9 @@
1314
- [x] 状态同步
1415
- [x] Test on Windows
1516
- [x] Backend UI
16-
- [ ] 汇报问题按钮, 发送至企业邮箱
17+
- [x] 汇报问题按钮, 发送至企业邮箱
1718
- [ ] Hover 功能
19+
- [ ] 忽略状态
1820

1921
### 中优先级
2022

pages/content-ui/src/Dashboard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ export const Dashboard: FC = () => {
105105
onMouseLeave={handleOthersMouseLeave}>
106106
<RunningStatus style={widgetAnimationStyle} />
107107
<IgnoredStatus style={widgetAnimationStyle} />
108-
<InteractionMode style={widgetAnimationStyle} />
109-
<DemoMode style={widgetAnimationStyle} />
108+
{/* <InteractionMode style={widgetAnimationStyle} />
109+
<DemoMode style={widgetAnimationStyle} /> */}
110110
<DiagnoseMode style={widgetAnimationStyle} />
111111
<BBox style={widgetAnimationStyle} />
112112
<FeedbackButton style={widgetAnimationStyle} />

0 commit comments

Comments
 (0)