Skip to content

Fix/intelligent threshold#40

Merged
thinker8581 merged 3 commits intomainfrom
fix/intelligent-threshold
Dec 16, 2025
Merged

Fix/intelligent threshold#40
thinker8581 merged 3 commits intomainfrom
fix/intelligent-threshold

Conversation

@songyu-bytedance
Copy link
Collaborator

@songyu-bytedance songyu-bytedance commented Dec 16, 2025

Description
This PR improves the display of labels in the Intelligent Threshold Cleaning Result table.
Previously, long labels were not properly truncated, causing layout issues. This change:

Truncates long labels with an ellipsis (...) by limiting the maximum width.
Adds a tooltip that displays the full label content on hover for better readability.
Utilizes Tailwind CSS for styling the tooltip wrapper.
Type of Change
Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
Documentation update
Refactoring (no functional changes, no api changes)
Testing
Verified the changes locally:

Checked the "Cleaning Result" table in the Intelligent Threshold Task Configuration.
Confirmed that long labels are now truncated with an ellipsis.
Confirmed that hovering over a truncated label correctly displays the full text in a tooltip.

- implement polling mechanism for task version table to track async status updates
- replace console.log with logger.info for consistent logging
- auto-refresh every 3 seconds when table is mounted
@thinker8581 thinker8581 merged commit 6ac3369 into main Dec 16, 2025
4 checks passed
@thinker8581 thinker8581 deleted the fix/intelligent-threshold branch December 16, 2025 07:08
weilaaa pushed a commit that referenced this pull request Dec 23, 2025
Description
This PR improves the display of labels in the Intelligent Threshold
Cleaning Result table.
Previously, long labels were not properly truncated, causing layout
issues. This change:

Truncates long labels with an ellipsis (...) by limiting the maximum
width.
Adds a tooltip that displays the full label content on hover for better
readability.
Utilizes Tailwind CSS for styling the tooltip wrapper.
Type of Change
 Bug fix (non-breaking change which fixes an issue)
 New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality
to not work as expected)
 Documentation update
 Refactoring (no functional changes, no api changes)
Testing
Verified the changes locally:

Checked the "Cleaning Result" table in the Intelligent Threshold Task
Configuration.
Confirmed that long labels are now truncated with an ellipsis.
Confirmed that hovering over a truncated label correctly displays the
full text in a tooltip.
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.

2 participants