n8n/packages/editor-ui/src
oleg dcf12867b3
feat: AI nodes usability fixes + Summarization Chain V2 (#7949)
Fixes:
- Refactor connection snapping when dragging and enable it also for
non-main connection types
- Fix propagation of errors from sub-nodes
- Fix chat scrolling when sending/receiving messages
- Prevent empty chat messages
- Fix sub-node selected styles
- Fix output names text overflow

Usability improvements:
- Auto-add manual chat trigger for agents & chain nodes
- Various labels and description updates
- Make the output parser input optional for Basic LLM Chain
- Summarization Chain V2 with a simplified document loader & text
chunking mode

#### How to test the change:
Example workflow showcasing different operation mode of the new
summarization chain:

[Summarization_V2.json](https://github.com/n8n-io/n8n/files/13599901/Summarization_V2.json)


## Issues fixed
Include links to Github issue or Community forum post or **Linear
ticket**:
> Important in order to close automatically and provide context to
reviewers
-
https://www.notion.so/n8n/David-Langchain-Posthog-notes-7a9294938420403095f4508f1a21d31d
- https://linear.app/n8n/issue/N8N-7070/ux-fixes-batch
- https://linear.app/n8n/issue/N8N-7071/ai-sub-node-bugs


## Review / Merge checklist
- [x] PR title and summary are descriptive. **Remember, the title
automatically goes into the changelog. Use `(no-changelog)` otherwise.**
([conventions](https://github.com/n8n-io/n8n/blob/master/.github/pull_request_title_conventions.md))
- [x] [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.
  >
> *(internal)* You can use Slack commands to trigger [e2e
tests](https://www.notion.so/n8n/How-to-use-Test-Instances-d65f49dfc51f441ea44367fb6f67eb0a?pvs=4#a39f9e5ba64a48b58a71d81c837e8227)
or [deploy test
instance](https://www.notion.so/n8n/How-to-use-Test-Instances-d65f49dfc51f441ea44367fb6f67eb0a?pvs=4#f6a177d32bde4b57ae2da0b8e454bfce)
or [deploy early access version on
Cloud](https://www.notion.so/n8n/Cloudbot-3dbe779836004972b7057bc989526998?pvs=4#fef2d36ab02247e1a0f65a74f6fb534e).

---------

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: Elias Meire <elias@meire.dev>
2023-12-08 13:42:32 +01:00
..
__tests__ feat: AI nodes usability fixes + Summarization Chain V2 (#7949) 2023-12-08 13:42:32 +01:00
api feat: Introduce advanced permissions (#7844) 2023-12-08 12:52:25 +01:00
assets/images feat: External Secrets storage for credentials (#6477) 2023-08-25 10:33:46 +02:00
components feat: AI nodes usability fixes + Summarization Chain V2 (#7949) 2023-12-08 13:42:32 +01:00
composables feat: AI nodes usability fixes + Summarization Chain V2 (#7949) 2023-12-08 13:42:32 +01:00
event-bus feat(core): Add support for building LLM applications (#7235) 2023-10-02 17:33:43 +02:00
hooks refactor: Migrate externalHooks mixin to composables (no-changelog) (#7930) 2023-12-06 17:28:09 +02:00
mixins feat: AI nodes usability fixes + Summarization Chain V2 (#7949) 2023-12-08 13:42:32 +01:00
models refactor: Run lintfix (no-changelog) (#7537) 2023-10-27 14:15:02 +02:00
plugins feat: AI nodes usability fixes + Summarization Chain V2 (#7949) 2023-12-08 13:42:32 +01:00
rbac fix(editor): Replace isInstanceOwner checks with scopes where applicable (#7858) 2023-12-04 10:02:54 +01:00
stores feat: Introduce advanced permissions (#7844) 2023-12-08 12:52:25 +01:00
styles refactor(editor): Color palette updates, introduce dark mode (#6980) 2023-11-01 13:33:36 +01:00
types fix(editor): Replace isInstanceOwner checks with scopes where applicable (#7858) 2023-12-04 10:02:54 +01:00
utils feat: AI nodes usability fixes + Summarization Chain V2 (#7949) 2023-12-08 13:42:32 +01:00
views feat: AI nodes usability fixes + Summarization Chain V2 (#7949) 2023-12-08 13:42:32 +01:00
App.vue refactor: Migrate externalHooks mixin to composables (no-changelog) (#7930) 2023-12-06 17:28:09 +02:00
constants.ts feat: AI nodes usability fixes + Summarization Chain V2 (#7949) 2023-12-08 13:42:32 +01:00
init.ts fix(editor): Fix cloud plan data loading on instance (#7841) 2023-11-29 10:51:15 +01:00
Interface.ts feat: AI nodes usability fixes + Summarization Chain V2 (#7949) 2023-12-08 13:42:32 +01:00
main.ts fix(editor): Remove n8nHooksNext flag (no-changelog) (#7733) 2023-11-17 14:44:28 +01:00
n8n-theme-variables.scss refactor(editor): Color palette updates, introduce dark mode (#6980) 2023-11-01 13:33:36 +01:00
n8n-theme.scss fix(editor): Dark mode switch style fix and other tweaks (no-changelog) (#7599) 2023-11-14 17:13:30 +01:00
permissions.ts feat: Introduce advanced permissions (#7844) 2023-12-08 12:52:25 +01:00
router.ts refactor: Migrate externalHooks mixin to composables (no-changelog) (#7930) 2023-12-06 17:28:09 +02:00
shims-vue.d.ts feat(editor): Migrate Design System and Editor UI to Vue 3 (#6476) 2023-07-28 09:51:07 +02:00
shims.d.ts fix(editor): Remove n8nHooksNext flag (no-changelog) (#7733) 2023-11-17 14:44:28 +01:00