dify - ✅(Solved) Fix [Refactor/Chore] migrate workflow node title tooltip [1 pull requests, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
langgenius/dify#35417Fetched 2026-04-20 12:16:02
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
1
Author
Participants
Timeline (top)
closed ×1cross-referenced ×1
<img width="700" height="402" alt="Image" src="https://github.com/user-attachments/assets/e569bdcc-8fdf-4610-8101-dc76ddfec0a9" />
  1. the tooltip always repeated with the node title, so I think it should only has tooltip when the node title is truncated
  2. the tooltip haven't got a clear shadow background, so it mixed with the node item background

Root Cause

<img width="700" height="402" alt="Image" src="https://github.com/user-attachments/assets/e569bdcc-8fdf-4610-8101-dc76ddfec0a9" />
  1. the tooltip always repeated with the node title, so I think it should only has tooltip when the node title is truncated
  2. the tooltip haven't got a clear shadow background, so it mixed with the node item background

Fix Action

Fixed

PR fix notes

PR #35418: chore: migrate workflow node title tooltip

Description (problem / solution / changelog)

[!IMPORTANT]

  1. Make sure you have read our contribution guidelines
  2. Ensure there is an associated issue and you have been assigned to it
  3. Use the correct syntax to link this PR: Fixes #<issue number>.

Summary

<!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. --> <!-- If this PR was created by an automated agent, add `From <Tool Name>` as the final line of the description. Example: `From Codex`. -->

fix https://github.com/langgenius/dify/issues/35417

Screenshots

BeforeAfter
......

Checklist

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran make lint && make type-check (backend) and cd web && pnpm exec vp staged (frontend) to appease the lint gods

Changed files

  • eslint-suppressions.json (modified, +0/-3)
  • web/app/components/workflow/run/node.tsx (modified, +42/-13)
RAW_BUFFERClick to expand / collapse

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for refactors or chores; if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Description

<img width="700" height="402" alt="Image" src="https://github.com/user-attachments/assets/e569bdcc-8fdf-4610-8101-dc76ddfec0a9" />
  1. the tooltip always repeated with the node title, so I think it should only has tooltip when the node title is truncated
  2. the tooltip haven't got a clear shadow background, so it mixed with the node item background

Motivation

No response

Additional Context

No response

extent analysis

TL;DR

Adjust the tooltip display logic to only show when the node title is truncated and add a clear shadow background to differentiate it from the node item background.

Guidance

  • Review the CSS styles applied to the tooltip and node items to ensure sufficient contrast and add a shadow effect to the tooltip.
  • Modify the JavaScript code responsible for displaying tooltips to check if the node title is truncated before showing the tooltip.
  • Inspect the HTML structure of the node items and tooltips to verify that the tooltip is properly positioned and styled.
  • Consider adding a minimum width or ellipsis to the node title to indicate truncation and trigger the tooltip display.

Example

No specific code example can be provided without knowing the exact implementation, but a general approach might involve adding a CSS class to the tooltip with a box-shadow property and modifying the JavaScript logic to check for truncated titles.

Notes

The solution may vary depending on the specific frontend framework, CSS preprocessor, or JavaScript library used in the project. Additional context or code snippets would be necessary to provide a more precise fix.

Recommendation

Apply workaround: Adjust the CSS and JavaScript code as suggested to improve the tooltip display and visibility, as there is no clear indication of a specific version or library issue that can be resolved through an upgrade.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING