|
@@ -38,7 +38,26 @@ Automate the Git commit and push process by intelligently analyzing file changes
|
|
|
- `docs: update README.md with installation instructions`
|
|
|
|
|
|
3. Ensure the commit message is descriptive and includes relevant file paths for clarity.
|
|
|
-
|
|
|
+4. Ensure the commit message contains modified files which are changed or new added files . the commit message should be in Chinese . the files list locates below the commit message and contribute to the commit messsage. Examplse :
|
|
|
+ `feat: 实现曝光模式切换功能并集成设备API下发
|
|
|
+
|
|
|
+ - 在 APRActions.ts 中导出 setExposureModeFromAction API
|
|
|
+ - 在 aprSlice.ts 中添加 setExposureModeThunk 异步thunk和状态处理
|
|
|
+ - 在 ParaSettingCoordinator 中实现 setExposureMode 方法和MQTT事件监听
|
|
|
+ - 在 mqttServiceForDevice.ts 中添加NEW_EXPOSURE_MODE事件触发
|
|
|
+ - 更新三个UI组件使用受控组件模式,确保只在设备确认后才更新显示
|
|
|
+ - 利用React受控组件特性实现优雅的API-first更新流程
|
|
|
+
|
|
|
+ 改动文件:
|
|
|
+ - src/API/exam/APRActions.ts
|
|
|
+ - src/states/exam/aprSlice.ts
|
|
|
+ - src/domain/exam/paraSettingCoordinator.ts
|
|
|
+ - src/domain/mqttServiceForDevice.ts
|
|
|
+ - src/pages/exam/ContentAreaLarge.tsx
|
|
|
+ - src/pages/exam/ContentAreaMedium.tsx
|
|
|
+ - src/pages/exam/ContentAreaSmall.tsx
|
|
|
+ `
|
|
|
+5. when analyzing modified files , ignore the dev.ts file unless the user tell to include the file . This is really important.
|
|
|
## 3. Present Command List for User Review
|
|
|
|
|
|
1. Generate the complete list of Git commands to be executed:
|