Skip to content

Conversation

@kgabryje
Copy link
Member

@kgabryje kgabryje commented Aug 28, 2025

Summary

  • Changed table layout from fixed to auto for better content fitting and improved readability
  • Removed hardcoded column sizes to allow dynamic sizing based on actual content length
  • Added max-width constraint (320px) to prevent excessive column expansion
  • Applied background color hotfix for overflowing cells in antd tables

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before:

image image image image

After:

image image image image

Test plan

  • Verify tables in Chart List and Dashboard List pages display correctly
  • Check that column widths adapt appropriately to content
  • Confirm Actions column maintains proper sizing
  • Test table rendering with various content lengths

🤖 Generated with Claude Code

- Change table layout from fixed to auto for better content fitting
- Remove hardcoded column sizes to allow dynamic sizing based on content
- Add max-width constraint to table cells (320px) to prevent excessive expansion
- Apply background color hotfix for overflowing cells in antd tables
- Retain explicit sizing only for Actions column in ChartList and Dataset column

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@dosubot dosubot bot added the listview Namespace | Anything related to lists, such as Dashboards, Charts, Datasets, etc. label Aug 28, 2025
Copy link

@korbit-ai korbit-ai bot left a comment

Choose a reason for hiding this comment

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

Review by Korbit AI

Korbit automatically attempts to detect when you fix issues in new commits.
Category Issue Status
Functionality Inconsistent Column Width Behavior ▹ view 🧠 Not in scope
Functionality Fixed cell width may truncate important content ▹ view 🧠 Not in standard
Files scanned
File Path Reviewed
superset-frontend/packages/superset-ui-core/src/components/TableCollection/utils.tsx
superset-frontend/packages/superset-ui-core/src/components/TableCollection/index.tsx
superset-frontend/src/pages/DashboardList/index.tsx
superset-frontend/src/pages/ChartList/index.tsx

Explore our documentation to understand the languages and file types we support and the files we ignore.

Check out our docs on how you can make Korbit work best for you and your team.

Loving Korbit!? Share us on LinkedIn Reddit and X

hidden: column.hidden,
key: column.id,
width: column.size ? COLUMN_SIZE_MAP[column.size] : COLUMN_SIZE_MAP.md,
width: column.size ? COLUMN_SIZE_MAP[column.size] : undefined,

This comment was marked as resolved.

}
}
.ant-table-cell {
max-width: 320px;

This comment was marked as resolved.

@pull-request-size pull-request-size bot added size/M and removed size/S labels Aug 28, 2025
@kgabryje kgabryje changed the title fix: Improve table layout and column sizing for better user experience fix: Improve table layout and column sizing Aug 28, 2025
@github-actions
Copy link
Contributor

@sadpandajoe Processing your ephemeral environment request here. Action: up. More information on how to use or configure ephemeral environments

@github-actions
Copy link
Contributor

@sadpandajoe Ephemeral environment spinning up at http://34.220.80.202:8080. Credentials are 'admin'/'admin'. Please allow several minutes for bootstrapping and startup.

@sadpandajoe sadpandajoe added the review:checkpoint Last PR reviewed during the daily review standup label Aug 28, 2025
Copy link
Member

@msyavuz msyavuz left a comment

Choose a reason for hiding this comment

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

LGTM!

@msyavuz msyavuz merged commit 1758351 into master Sep 1, 2025
73 of 74 checks passed
@msyavuz msyavuz deleted the test-feat branch September 1, 2025 08:31
sadpandajoe pushed a commit that referenced this pull request Sep 2, 2025
Co-authored-by: Claude <[email protected]>
(cherry picked from commit 1758351)
@rusackas rusackas removed the review:checkpoint Last PR reviewed during the daily review standup label Sep 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

listview Namespace | Anything related to lists, such as Dashboards, Charts, Datasets, etc. packages preset-io size/M

Projects

Development

Successfully merging this pull request may close these issues.

4 participants