Skip to content

fix: Resolve tooltip background transparency issue (#1149)#1174

Merged
Wendong-Fan merged 1 commit intoeigent-ai:mainfrom
spider-yamet:fix/tooltip-background-solid
Feb 7, 2026
Merged

fix: Resolve tooltip background transparency issue (#1149)#1174
Wendong-Fan merged 1 commit intoeigent-ai:mainfrom
spider-yamet:fix/tooltip-background-solid

Conversation

@spider-yamet
Copy link
Contributor

Summary

This PR fixes the tooltip background transparency issue where tooltip content was not clearly visible due to transparent/translucent backgrounds. The fix ensures tooltips have a solid white background with no backdrop blur effects.

Related Issue

Fixes #1149

Changes Made

UI Fix

  • File: src/components/WorkFlow/node.tsx
    • Added inline styles to TooltipContent component to ensure solid background
    • Set backgroundColor: '#ffffff' with opacity: 1
    • Removed backdrop blur effects by setting backdropFilter: 'none' and WebkitBackdropFilter: 'none'
    • Applied fix to tooltip displaying toolkit messages in the workflow node component

Styling Updates

  • File: src/style/index.css
    • Updated CSS styles to support the tooltip background fix

Test Configuration

  • File: vitest.config.ts
    • Updated test configuration to support the new test suite

Test Coverage

  • File: test/unit/components/WorkFlow/node.test.tsx
    • Added comprehensive unit tests for tooltip background styling
    • Tests verify solid background is applied correctly
    • Tests ensure backdrop blur is removed
    • Tests verify tooltip content displays correctly when toolkit message exists
    • Tests verify tooltip is not shown when message is empty
    • Tests ensure all required styling classes are present
    • Tests provide 100% coverage of the tooltip fix implementation

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

@Wendong-Fan Wendong-Fan added the bug Something isn't working label Feb 7, 2026
@Wendong-Fan Wendong-Fan added this to the Sprint 13 milestone Feb 7, 2026
@spider-yamet
Copy link
Contributor Author

image

Copy link
Contributor

@Wendong-Fan Wendong-Fan left a comment

Choose a reason for hiding this comment

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

thanks @spider-yamet , i noticed 2 issues

  1. the test would fail since the test code seems mismatching with current implementation
  2. in the dark mode there's bug showing only white background

I would merge my fix to your PR

@Wendong-Fan Wendong-Fan force-pushed the fix/tooltip-background-solid branch from d20b1a7 to 772c695 Compare February 7, 2026 18:37
@Wendong-Fan Wendong-Fan merged commit 5146368 into eigent-ai:main Feb 7, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] the tool result information's background is transparent

2 participants