semohr opened a new pull request, #37396: URL: https://github.com/apache/superset/pull/37396
### SUMMARY Added support for user-friendly column labels in table headers. * Introduced `DataTableHeaderCell` to show a label if provided, falling back to the column name. * Updated `useTableColumns` to accept and use `collabels`. * Propagated `collabels` through `SamplesPane`, `SingleQueryResultPane`, and `useResultsPane`. * Updated `QueryResultInterface` and query actions to include `collabels`. * Added `extract_display_labels` utility to generate display labels from label maps and datasource. * Updated tests to cover header labels while preserving existing behavior. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF Before: <img width="861" height="200" alt="image" src="https://github.com/user-attachments/assets/8d108626-b326-48a6-b87c-07cae8fedd46" /> <img width="860" height="201" alt="image" src="https://github.com/user-attachments/assets/75882c9c-956a-41f0-b90f-96dbe75f5da0" /> ### ADDITIONAL INFORMATION * [x] Changes UI (table headers) * [x] Introduces new feature or API (column labels) Note: This is my first PR to Superset. I tried to follow the contribution guidelines and add/fix the existing tests, but please feel free to point out anything I might have missed or any improvements I could make. I really appreciate your guidance! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
