Skip to content

fix(ui): add title tooltips for truncated table cells#49

Merged
gudaoxuri merged 1 commit into
hai-series:mainfrom
akfdwjx:fix/ui-table-cell-tooltips
Jun 15, 2026
Merged

fix(ui): add title tooltips for truncated table cells#49
gudaoxuri merged 1 commit into
hai-series:mainfrom
akfdwjx:fix/ui-table-cell-tooltips

Conversation

@akfdwjx

@akfdwjx akfdwjx commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Add native title tooltips for table content that may be truncated in the UI.

Changes

  • add title attributes to markdown-rendered table header and body cells
  • keep existing text alignment behavior in markdown tables
  • add title to AiTableEditor column headers
  • add title to AiTableEditor input cells so full content is visible on hover
  • add tests for markdown table cell title output, including escaped quotes

Why

In chat-generated tables, long cell content can be visually truncated when the column width is limited.
This change makes the full content visible on hover using the native browser tooltip, with minimal runtime overhead.

Validation

  • pnpm --dir packages/ui test -- markdown-parse
  • pnpm --dir packages/ui check

@gudaoxuri gudaoxuri merged commit cf5783f into hai-series:main Jun 15, 2026
1 check passed
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