Skip to content

fix(components): Improve layout handling in Markdown and ChatMessage components #4771

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fpmirabile
Copy link

Description

This PR addresses #4766 by fixing the rendering logic of connection lines between nodes in the visual flow editor.

Previously, some connector lines appeared to:

  • Extend vertically without being properly anchored to nodes.
  • Show phantom connections that did not reflect actual logical links.
  • Overlap or stack unnecessarily, reducing readability.

Changes Introduced

  • Removed at ChatMessage parent (I.E .messagelist) to be capable of overflow
  • Added overflowX on the accordion content. To enable it to contain its own scrollable and do not disturb the entire chat window until the user opens it

How to Test

  1. Create a new agent flow v2 add multiple nodes and then check that the chat is able to show the buttons in each node.

IMPORTANT
Haven't totally check other flows. I'm quite new coding flowise, so probably I will miss some scenarios. Open to receive improves or if you think you can add them go ahead.

Screenshots (Before/After)

Before
image

After
image

This PR focuses solely on improving the visual consistency of the flow editor. No changes were made to the core execution or logic of node interaction.

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