Skip to content

Conversation

Blankll
Copy link
Member

@Blankll Blankll commented May 2, 2025

fix: use tooltip to hides table content that exceeds the table length

Refs: #184

Signed-off-by: seven <zilisheng1996@gmail.com>
@Blankll Blankll requested a review from Copilot May 2, 2025 15:39
@Blankll Blankll marked this pull request as ready for review May 2, 2025 15:40
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR addresses the issue of overflowing table content by enabling tooltip display when content exceeds the table length.

  • Added ellipsis configurations with tooltip support for the "aliases", "index_patterns", and "composed_of" columns.
  • Updated icon properties in the "aliases" column, modifying icon placement and size for improved UI consistency.
Comments suppressed due to low confidence (3)

src/views/manage/components/index-manage.vue:196

  • Ensure that the added ellipsis tooltip configuration for the 'aliases' column integrates well with existing styling and does not introduce conflicts with other render properties.
ellipsis: { tooltip: true },

src/views/manage/components/index-manage.vue:205

  • [nitpick] The update from 'iconPlacement: "right"' with a style adjustment to 'size: "small"' and 'iconPlacement: "left"' changes the UI layout; please confirm that this shift aligns with the design requirements and overall UI consistency.
size: 'small',

src/views/manage/components/index-manage.vue:335

  • [nitpick] Verify that the tooltip ellipsis behavior for the 'composed_of' column is consistent with how it is implemented in other similar table columns and meets the intended user interaction.
ellipsis: { tooltip: true },

Copy link

codecov bot commented May 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 52.77%. Comparing base (c0165dc) to head (6a57c82).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #199   +/-   ##
=======================================
  Coverage   52.77%   52.77%           
=======================================
  Files          10       10           
  Lines         108      108           
  Branches       14       14           
=======================================
  Hits           57       57           
  Misses         49       49           
  Partials        2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Blankll Blankll merged commit 70539b6 into master May 3, 2025
6 checks passed
@Blankll Blankll deleted the fix/tooltip-exceeds-table-item branch May 3, 2025 10:17
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