Skip to content

Conversation

@mike12345567
Copy link
Contributor

Summary

This PR contains a general refresh of the design for the chat experience. It has a few main areas of update:

  1. Text size and colour has been updated across light and dark modes
  2. User messages are contained within a bubble, system messages are left aligned (with padding on right)
  3. User messages that exceed a certain length use a "show more" toggle so that they don't take up the whole chat
  4. Chain of thought is contained under a dropdown that shows the current step (with shimmer animation)
  5. Emojis are no longer used/recommended to be used
  6. The execute and refine message has been updated

This handles the design debt update in ticket: https://linear.app/n8n/issue/AI-1715/design-debt-improve-visual-hierarchy-of-chat-panel

Screenshots

General new look and feel:
image

New execute and refine look:
image

New animations:
thinking

Show more user text bubble:
image

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)

@bundlemon
Copy link

bundlemon bot commented Dec 4, 2025

BundleMon

Unchanged files (2)
Status Path Size Limits
WASM Dependencies
tree-sitter-bash.wasm
181.26KB -
WASM Dependencies
tree-sitter.wasm
74.47KB -

No change in files bundle size

Groups updated (2)
Status Path Size Limits
**/*.js
11.44MB (+149.85KB +1.3%) -
**/*.css
234.03KB (+13.25KB +6%) -

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

@codecov
Copy link

codecov bot commented Dec 4, 2025

Codecov Report

❌ Patch coverage is 99.54128% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...rc/components/AskAssistantChat/messages/helpers.ts 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@n8n-assistant n8n-assistant bot added the n8n team Authored by the n8n team label Dec 4, 2025
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 issues found across 17 files

Prompt for AI agents (all 2 issues)

Check if these issues are valid — if so, understand the root cause of each and fix them.


<file name="packages/frontend/@n8n/design-system/src/components/AskAssistantChat/AskAssistantChat.vue">

<violation number="1" location="packages/frontend/@n8n/design-system/src/components/AskAssistantChat/AskAssistantChat.vue:104">
P2: Rule violated: **Prefer Typeguards over Type casting**

Use the type guard properly for type narrowing instead of `as` cast. Restructure the loop to store the value and use the type guard for narrowing.</violation>
</file>

<file name="packages/@n8n/ai-workflow-builder.ee/src/tools/prompts/main-agent.prompt.ts">

<violation number="1" location="packages/@n8n/ai-workflow-builder.ee/src/tools/prompts/main-agent.prompt.ts:595">
P2: Incomplete emoji removal - the ⚙ character remains in this header while it was properly removed from the identical header on line 585 (`**How to Setup**`). This contradicts the new &quot;NO emojis under any circumstances&quot; rule added in this PR.</violation>
</file>

Reply to cubic to teach it or ask questions. Re-run a review with @cubic-dev-ai review this PR

@currents-bot
Copy link

currents-bot bot commented Dec 4, 2025

E2E Tests: n8n tests passed after 10m 9.7s

🟢 573 · 🔴 0 · ⚪️ 37 · 🟣 5

View Run Details

Run Details

  • Project: n8n

  • Groups: 2

  • Framework: Playwright

  • Run Status: Passed

  • Commit: a92a6c7

  • Spec files: 122

  • Overall tests: 610

  • Duration: 10m 9.7s

  • Parallelization: 9

Groups

GroupId Results Spec Files Progress
multi-main:ui:isolated 🟢 54 · 🔴 0 · ⚪️ 0 8 / 8
multi-main:ui 🟢 519 · 🔴 0 · ⚪️ 37 · 🟣 5 114 / 114


This message was posted automatically by currents.dev | Integration Settings

@mike12345567 mike12345567 requested review from a team and OlegIvaniv and removed request for a team December 5, 2025 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

n8n team Authored by the n8n team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants