feat: add editable AI prompts to system tasks UI#818
Merged
Conversation
The backend infrastructure was fully built (getPromptDefinitions(), REST API, CLI, storage) but the admin UI never exposed it. Tasks with AI prompts now show an 'Edit Prompts' button that expands an inline editor with auto-save, variable hints, and reset-to-default. Changes: - Move PromptField to @shared/components/ for cross-bundle reuse - Update PipelineStepCard import to use @shared path - Add systemTaskPrompts query hooks (GET/PUT/DELETE) - Add PromptEditor and prompt section to SystemTasksTab TaskCard - Tasks with editable prompts: Alt Text, Meta Description, Internal Linking, Daily Memory (5 prompts total)
Homeboy Results —
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@shared/components/— was siloed in the pipelines webpack bundle. Now reusable across all admin bundles (agent, pipelines, settings, etc.)How it works
Tasks with editable prompts (5 total)
generategenerateinsert_linkdaily_summary,memory_cleanupFiles changed (4)
@shared/components/PromptField.jsxAUTO_SAVE_DELAYdefined locallyPipelineStepCard.jsx@sharedpathsystemTaskPrompts.jsSystemTasksTab.jsxPromptEditor, prompt fetching, save/reset wiring, "Edit Prompts" button per task card