VanessaGiannoni opened a new pull request, #37140: URL: https://github.com/apache/superset/pull/37140
<!--- Please write the PR title following the conventions at https://www.conventionalcommits.org/en/v1.0.0/ Example: fix(dashboard): load charts correctly --> ### SUMMARY <!--- Describe the change below, including rationale and design decisions --> This feature updates the “View as table” option in dashboard chart overflow menus to display dataset column labels (verbose names) when available, instead of raw column names. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF <!--- Skip this if not applicable --> #### BEFORE #### AFTER ### TESTING INSTRUCTIONS <!--- Required! What steps can be taken to manually verify the changes? --> 1. Open a dashboard with charts using a dataset that has column labels. 2. From a chart’s overflow menu, select “View as table.” <img width="720" height="573" alt="Screenshot 2026-01-14 at 16 32 07" src="https://github.com/user-attachments/assets/b834d503-26ba-4dd8-ae3f-0505f7025ec8" /> 3. Verify that the table headers display the dataset’s column labels (verbose names) where defined, and fall back to column names otherwise. 4. Confirm that temporal columns still support formatting controls and display the label. 5. Run frontend tests to ensure coverage: ```bash npm run test -- src/explore/components/DataTableControl/useTableColumns.test.ts ``` ### ADDITIONAL INFORMATION <!--- Check any relevant boxes with "x" --> <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue --> - [ ] Has associated issue: - [ ] Required feature flags: - [X] Changes UI - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351)) - [ ] Migration is atomic, supports rollback & is backwards-compatible - [ ] Confirm DB migration upgrade and downgrade tested - [ ] Runtime estimates and downtime expectations provided - [x] Introduces new feature or API - [ ] Removes existing feature or API -- 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]
