feat: enhance issue management with edit functionality and UI improvements

- Added Edit Issue dialog to allow users to modify existing issues with fields for title, context, priority, and status.
- Integrated form validation and state management for the edit dialog.
- Updated the IssueManagerPage to handle opening and closing of the edit dialog, as well as submitting updates.
- Improved UI components in SolutionDrawer and ExplorationSection for better user experience.
- Refactored file path input with a browse dialog for selecting files and directories in SettingsPage.
- Adjusted layout and styling in LeftSidebar and OrchestratorPage for better responsiveness and usability.
- Updated localization files to include new strings for the edit dialog and task management.
This commit is contained in:
catlog22
2026-02-07 22:50:36 +08:00
parent dc9a1a1efb
commit 13c4dd0032
13 changed files with 636 additions and 255 deletions

View File

@@ -971,13 +971,12 @@ if (autoYes) {
userSelection = {
confirmation: "Allow",
execution_method: "Auto",
code_review_tool: "Skip"
executionMethod: "Auto",
codeReviewTool: "Skip"
}
} else {
// Interactive mode: Ask user
// Note: Execution "Other" option allows specifying CLI tools from ~/.claude/cli-tools.json
userSelection = ASK_USER([
const rawSelection = ASK_USER([
{
id: "confirm",
type: "select",
@@ -1013,6 +1012,12 @@ if (autoYes) {
default: "Skip"
}
]) // BLOCKS (wait for user response)
userSelection = {
confirmation: rawSelection.confirm,
executionMethod: rawSelection.execution,
codeReviewTool: rawSelection.review
}
}
```
@@ -1043,11 +1048,12 @@ executionContext = {
explorationAngles: manifest.explorations.map(e => e.angle),
explorationManifest: manifest,
clarificationContext: clarificationContext || null,
executionMethod: userSelection.execution_method, // 全局默认,可被 executorAssignments 覆盖
codeReviewTool: userSelection.code_review_tool,
userSelection: userSelection,
executionMethod: userSelection.executionMethod, // Global default; may be overridden by executorAssignments
codeReviewTool: userSelection.codeReviewTool,
originalUserInput: task_description,
// 任务级 executor 分配(优先于全局 executionMethod
// Task-level executor assignments (priority over global executionMethod)
executorAssignments: executorAssignments, // { taskId: { executor, reason } }
session: {

View File

@@ -146,10 +146,10 @@ If `isPlanJson === false`:
Input Parsing:
└─ Decision (mode detection):
├─ --in-memory flag → Mode 1: Load executionContext → Skip user selection
├─ Ends with .md/.json/.txt → Mode 3: Read file → Detect format
├─ Existing file path (path exists) → Mode 3: Read file → Detect format
│ ├─ Valid plan.json → Use planObject → User selects method + review
│ └─ Not plan.json → Treat as prompt → User selects method + review
└─ Other → Mode 2: Prompt description → User selects method + review
└─ Otherwise → Mode 2: Prompt description → User selects method + review
Execution:
├─ Step 1: Initialize result tracking (previousExecutionResults = [])