Skip to content

fix(datagrid): show column comments in headers#1842

Merged
datlechin merged 5 commits into
TableProApp:mainfrom
andiahmads:fix/data-grid-header-comments
Jul 10, 2026
Merged

fix(datagrid): show column comments in headers#1842
datlechin merged 5 commits into
TableProApp:mainfrom
andiahmads:fix/data-grid-header-comments

Conversation

@andiahmads

Copy link
Copy Markdown
Contributor

Summary

Data grid columns with database comments now show those comments directly in the column header when object comments are enabled, so users do not have to hover each header to discover the extra context. Headers expand to a two-line layout only when a visible column has a comment, and return to the compact height when comments are disabled or the commented column is hidden.

This also renames the command-output password resolver test file/type to avoid the duplicate Swift test filename that currently prevents the test target from compiling on fresh branches from main.

Fixes #1789

Validation

  • swiftlint --strict TablePro/Views/Results/DataGridColumnPool.swift TablePro/Views/Results/SortableHeaderCell.swift TableProTests/Views/Results/DataGridColumnPoolTests.swift TableProTests/Views/Results/SortableHeaderCellTests.swift TableProTests/Core/Utilities/Connection/PasswordSourceResolverCommandOutputTests.swift
  • xcodebuild -project TablePro.xcodeproj -scheme TablePro -destination 'platform=macOS' -skipPackagePluginValidation -only-testing:TableProTests/SortableHeaderCellTests -only-testing:TableProTests/DataGridColumnPoolTests -only-testing:TableProTests/PasswordSourceResolverCommandOutputTests CODE_SIGNING_ALLOWED=NO test

Compound Engineering
GPT_5

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@datlechin datlechin merged commit e4784e6 into TableProApp:main Jul 10, 2026
1 of 2 checks 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