Skip to content

Revert "feat(automations): click-to-edit prompt arguments in instructions" - #3338

Merged
viniciusventura29 merged 1 commit into
mainfrom
revert-3323-viniciusventura29/edit-automation-tool-modal
May 12, 2026
Merged

viniciusventura29 merged 1 commit into
mainfrom
revert-3323-viniciusventura29/edit-automation-tool-modal

Conversation

@viniciusventura29

@viniciusventura29 viniciusventura29 commented May 12, 2026 •

Copy link
Copy Markdown
Contributor

Reverts #3323


Summary by cubic

Reverts the click-to-edit prompt arguments feature in the chat editor. Slash-prompt mentions are insert-only again; to change arguments, re-insert the prompt.

  • Refactors
    • Removed edit flow and event wiring from mention-slash.tsx (position tracker, update path, MENTION_EDIT_EVENT listener).
    • Dropped values from MentionNode/MentionAttrs and removed click handler and data-values parsing/rendering in mention/node.tsx.
    • Simplified PromptArgsDialog: removed defaultValues; button now always shows "Use prompt".
    • Updated exports in mention/index.ts to remove MENTION_EDIT_EVENT and related types.

Written for commit 7dff7c4. Summary will update on new commits.

@viniciusventura29
viniciusventura29 merged commit c2ed401 into main May 12, 2026
16 checks passed
@viniciusventura29
viniciusventura29 deleted the revert-3323-viniciusventura29/edit-automation-tool-modal branch May 12, 2026 02:21
@github-actions

Copy link
Copy Markdown
Contributor

🧪 Benchmark

Should we run the Virtual MCP strategy benchmark for this PR?

React with 👍 to run the benchmark.

Reaction Action
👍 Run quick benchmark (10 & 128 tools)

Benchmark will run on the next push after you react.

@github-actions

Copy link
Copy Markdown
Contributor

Release Options

Suggested: Patch (2.313.1) — default (no conventional commit prefix detected)

React with an emoji to override the release type:

Reaction Type Next Version
👍 Prerelease 2.313.1-alpha.1
🎉 Patch 2.313.1
❤️ Minor 2.314.0
🚀 Major 3.0.0

Current version: 2.313.0

Note: If multiple reactions exist, the smallest bump wins. If no reactions, the suggested bump is used (default: patch).

pedrofrxncx pushed a commit that referenced this pull request May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant