Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions FlowVision/ToolConfigForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 52 additions & 0 deletions FlowVision/ToolConfigForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,58 @@ private void chkPluginStatus_CheckedChanged(object sender, EventArgs e)
// Update status indicators when any plugin checkbox changes
UpdateStatusIndicators();
}

// Reset button event handlers
private void btnResetActioner_Click(object sender, EventArgs e)
{
if (MessageBox.Show(
"Are you sure you want to reset the Actioner system prompt to default?\n\nThis will overwrite your current prompt.",
"Reset to Default",
MessageBoxButtons.YesNo,
MessageBoxIcon.Question) == DialogResult.Yes)
{
txtActionerSystemPrompt.Text = ToolConfig.GetDefaultActionerPrompt();
MessageBox.Show(
"Actioner system prompt has been reset to default.\n\nDon't forget to click 'Save' to apply the changes!",
"Reset Complete",
MessageBoxButtons.OK,
MessageBoxIcon.Information);
}
}

private void btnResetPlanner_Click(object sender, EventArgs e)
{
if (MessageBox.Show(
"Are you sure you want to reset the Planner system prompt to default?\n\nThis will overwrite your current prompt.",
"Reset to Default",
MessageBoxButtons.YesNo,
MessageBoxIcon.Question) == DialogResult.Yes)
{
txtPlannerSystemPrompt.Text = ToolConfig.GetDefaultPlannerPrompt();
MessageBox.Show(
"Planner system prompt has been reset to default.\n\nDon't forget to click 'Save' to apply the changes!",
"Reset Complete",
MessageBoxButtons.OK,
MessageBoxIcon.Information);
}
}

private void btnResetCoordinator_Click(object sender, EventArgs e)
{
if (MessageBox.Show(
"Are you sure you want to reset the Coordinator system prompt to default?\n\nThis will overwrite your current prompt.",
"Reset to Default",
MessageBoxButtons.YesNo,
MessageBoxIcon.Question) == DialogResult.Yes)
{
txtCoordinatorSystemPrompt.Text = ToolConfig.GetDefaultCoordinatorPrompt();
MessageBox.Show(
"Coordinator system prompt has been reset to default.\n\nDon't forget to click 'Save' to apply the changes!",
"Reset Complete",
MessageBoxButtons.OK,
MessageBoxIcon.Information);
}
}
}

// Simple input dialog for profile name entry
Expand Down
Loading