Skip to content

Conversation

@EnxDev
Copy link
Contributor

@EnxDev EnxDev commented Nov 17, 2025

SUMMARY

Adjusted the Pivot Table styling so the sticky header/total areas no longer show underlying rows by zeroing out border-spacing, keeping the header row sticky, and relying on the theme background to cover the frozen cells. Restored sticky positioning on the header row while keeping it fully opaque with themed background colors.Applied the same background treatment to the sticky totals row so columns beneath it remain hidden during scroll.

BEFORE

Screenshot 2025-11-19 at 18 24 54

AFTER

Screenshot 2025-11-19 at 18 25 13

TESTING INSTRUCTIONS

  • Navigate to Charts
  • Create new Pivot chart based on Video Game Sales
  • Set Columns: name
  • Set Rows: genre
  • Set Metrics: COUNT(*)
  • Run
  • When the table is displayed, try scrolling down through the rows
  • The data behind the frozen columns is now entirely hidden

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@korbit-ai
Copy link

korbit-ai bot commented Nov 17, 2025

Based on your review schedule, I'll hold off on reviewing this PR until it's marked as ready for review. If you'd like me to take a look now, comment /korbit-review.

Your admin can change your review schedule in the Korbit Console

@geido geido marked this pull request as ready for review November 19, 2025 16:26
@geido geido added the 🎪 ⚡ showtime-trigger-start Create new ephemeral environment for this PR label Nov 19, 2025
@dosubot dosubot bot added the viz:charts:pivot Related to the Pivot Table charts label Nov 19, 2025
@github-actions github-actions bot added 🎪 4debf25 🚦 building Environment 4debf25 status: building 🎪 4debf25 📅 2025-11-19T16-27 Environment 4debf25 created at 2025-11-19T16-27 🎪 4debf25 ⌛ 48h Environment 4debf25 expires after 48h 🎪 4debf25 🤡 geido Environment 4debf25 requested by geido and removed 🎪 ⚡ showtime-trigger-start Create new ephemeral environment for this PR labels Nov 19, 2025
@github-actions
Copy link
Contributor

🎪 Showtime is building environment on GHA for 4debf25

@github-actions github-actions bot added 🎪 4debf25 🚦 deploying Environment 4debf25 status: deploying 🎪 4debf25 🚦 running Environment 4debf25 status: running 🎪 🎯 4debf25 Active environment pointer - 4debf25 is receiving traffic 🎪 4debf25 🌐 44.247.232.225:8080 Environment 4debf25 URL: http://44.247.232.225:8080 (click to visit) and removed 🎪 4debf25 🚦 building Environment 4debf25 status: building 🎪 4debf25 🚦 deploying Environment 4debf25 status: deploying 🎪 4debf25 🚦 running Environment 4debf25 status: running 🎪 🎯 4debf25 Active environment pointer - 4debf25 is receiving traffic labels Nov 19, 2025
@github-actions
Copy link
Contributor

🎪 Showtime deployed environment on GHA for 4debf25

Environment: http://44.247.232.225:8080 (admin/admin)
Lifetime: 48h auto-cleanup
Updates: New commits create fresh environments automatically

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a visual issue where table content was bleeding through sticky header and total rows in the Pivot Table component. The fix ensures that frozen/sticky elements properly hide underlying content during scrolling.

Key Changes:

  • Set border-spacing: 0 to eliminate gaps between cells that allowed content to show through
  • Applied theme background colors to sticky total row elements to ensure complete coverage of underlying content
  • Added z-index: 1 to total row cells for proper layering

@github-actions github-actions bot removed 🎪 4debf25 🚦 running Environment 4debf25 status: running 🎪 4debf25 🌐 44.247.232.225:8080 Environment 4debf25 URL: http://44.247.232.225:8080 (click to visit) 🎪 4debf25 ⌛ 48h Environment 4debf25 expires after 48h 🎪 4debf25 🤡 geido Environment 4debf25 requested by geido 🎪 4debf25 📅 2025-11-19T16-27 Environment 4debf25 created at 2025-11-19T16-27 labels Nov 21, 2025
Co-authored-by: Geidō <[email protected]>
@geido geido merged commit 062e4a2 into master Nov 25, 2025
76 of 77 checks passed
@geido geido deleted the enxdev/fix/pivot-columns branch November 25, 2025 09:09
@sadpandajoe sadpandajoe added the v6.0 Label added by the release manager to track PRs to be included in the 6.0 branch label Nov 25, 2025
sadpandajoe pushed a commit that referenced this pull request Nov 25, 2025
Co-authored-by: Diego Pucci <[email protected]>
Co-authored-by: Geidō <[email protected]>
(cherry picked from commit 062e4a2)
LuisSanchez pushed a commit to LuisSanchez/superset that referenced this pull request Nov 25, 2025
aminghadersohi pushed a commit to aminghadersohi/superset that referenced this pull request Nov 25, 2025
kshi020302 pushed a commit to jl141/superset that referenced this pull request Nov 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

plugins size/XS v6.0 Label added by the release manager to track PRs to be included in the 6.0 branch viz:charts:pivot Related to the Pivot Table charts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants