[PR #22045] chore(editor): Improve agent builder prompt field tooltips #22010

Open
opened 2025-11-20 06:22:36 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/n8n-io/n8n/pull/22045
Author: @Tuukkaa
Created: 11/19/2025
Status: 🔄 Open

Base: masterHead: ai-1709-improve-agent-builder-prompt-field-tooltips


📝 Commits (3)

  • 34e6866 Add tooltip delay. Hide 'Get more' tooltip on mouse out.
  • a726629 Update tooltip text to explain 1 message = 1 credit
  • c23d202 Remove accidental comment

📊 Changes

2 files changed (+4 additions, -1 deletions)

View changed files

📝 packages/frontend/@n8n/design-system/src/components/N8nPromptInput/N8nPromptInput.vue (+3 -0)
📝 packages/frontend/@n8n/design-system/src/locale/lang/en.ts (+1 -1)

📄 Description

Summary

Updates AI agent builder prompt input tooltips

  • Add delay to the tooltips
  • Hide the 'Get more' tooltip on mouse out
  • Update token count tooltip with info that one message equals to one prompt

https://linear.app/n8n/issue/AI-1709/improve-agent-builder-prompt-field-tooltips

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

Note

Delays prompt input tooltips by 300ms, makes the “Get more” tooltip non-enterable, and updates monthly credits copy to note 1 credit equals 1 message.

  • Design System
    • components/N8nPromptInput/N8nPromptInput.vue:
      • Add :show-after="300" to credits and “Get more” tooltips.
      • Set :enterable="false" on the “Get more” tooltip.
    • locale/lang/en.ts:
      • Update promptInput.monthlyCredits to include “(1 credit = 1 message)”.

Written by Cursor Bugbot for commit 209178d05a. This will update automatically on new commits. Configure here.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/n8n-io/n8n/pull/22045 **Author:** [@Tuukkaa](https://github.com/Tuukkaa) **Created:** 11/19/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `ai-1709-improve-agent-builder-prompt-field-tooltips` --- ### 📝 Commits (3) - [`34e6866`](https://github.com/n8n-io/n8n/commit/34e6866b1736ddb330ca95655c0546390450151f) Add tooltip delay. Hide 'Get more' tooltip on mouse out. - [`a726629`](https://github.com/n8n-io/n8n/commit/a726629d4ec77947031e2f3f07301c2bcd504990) Update tooltip text to explain 1 message = 1 credit - [`c23d202`](https://github.com/n8n-io/n8n/commit/c23d202a7f9f48a5dd2ae89d560079619c696892) Remove accidental comment ### 📊 Changes **2 files changed** (+4 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/frontend/@n8n/design-system/src/components/N8nPromptInput/N8nPromptInput.vue` (+3 -0) 📝 `packages/frontend/@n8n/design-system/src/locale/lang/en.ts` (+1 -1) </details> ### 📄 Description ## Summary Updates AI agent builder prompt input tooltips - Add delay to the tooltips - Hide the 'Get more' tooltip on mouse out - Update token count tooltip with info that one message equals to one prompt <!-- Describe what the PR does and how to test. Photos and videos are recommended. --> ## Related Linear tickets, Github issues, and Community forum posts https://linear.app/n8n/issue/AI-1709/improve-agent-builder-prompt-field-tooltips <!-- Include links to **Linear ticket** or Github issue or Community forum post. Important in order to close *automatically* and provide context to reviewers. https://linear.app/n8n/issue/ --> <!-- Use "closes #<issue-number>", "fixes #<issue-number>", or "resolves #<issue-number>" to automatically close issues when the PR is merged. --> ## Review / Merge checklist - [x] PR title and summary are descriptive. ([conventions](../blob/master/.github/pull_request_title_conventions.md)) <!-- **Remember, the title automatically goes into the changelog. Use `(no-changelog)` otherwise.** --> - [ ] [Docs updated](https://github.com/n8n-io/n8n-docs) or follow-up ticket created. - [ ] Tests included. <!-- A bug is not considered fixed, unless a test is added to prevent it from happening again. A feature is not complete without tests. --> - [ ] PR Labeled with `release/backport` (if the PR is an urgent fix that needs to be backported) <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Delays prompt input tooltips by 300ms, makes the “Get more” tooltip non-enterable, and updates monthly credits copy to note 1 credit equals 1 message. > > - **Design System** > - **`components/N8nPromptInput/N8nPromptInput.vue`**: > - Add `:show-after="300"` to credits and “Get more” tooltips. > - Set `:enterable="false"` on the “Get more” tooltip. > - **`locale/lang/en.ts`**: > - Update `promptInput.monthlyCredits` to include “(1 credit = 1 message)”. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 209178d05aadb35210229bec1798ea5b0b5143b4. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the
pull-request
label 2025-11-20 06:22:36 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/n8n#22010
No description provided.