Skip to content

[O2B-1633] Fix shadow of tables with scroll not being displayed - #2257

Merged
graduta merged 1 commit into
mainfrom
bug/O2B-1633/shadow-not-displayed-on-table-with-scroll
Oct 20, 2026
Merged

graduta merged 1 commit into
mainfrom
bug/O2B-1633/shadow-not-displayed-on-table-with-scroll

Conversation

@graduta

@graduta graduta commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

I have a JIRA ticket

  • branch and/or PR name(s) include(s) JIRA ID
  • issue has "Fix version" assigned
  • issue "Status" is set to "In review"
  • PR labels are selected

Notable changes for users:

  • The shadow around tables displayed with scroll (for example on the runs per data pass and runs per simulation pass pages) is now visible. It was clipped by the scrollable wrappers.

Notable changes for developers:

  • The table component adds a table-shadow-room class to the first wrapper of tables with scroll enabled, which adds padding (left, right and bottom, not top to keep the sticky header in place) so the table shadow is not clipped.
  • UI tests added on the runs per data pass and runs per simulation pass pages.

Changes made to the database:

  • None

…displayed

Tables displayed with horizontal and/or vertical scroll (for example on
the runs per data pass and runs per simulation pass pages) are wrapped in
`overflow: auto` containers, which clip the table box-shadow.

Add a `table-shadow-room` class to the first wrapper of scrollable tables,
leaving 6px on the sides and at the bottom (not at the top, to keep the
sticky header in place) so that the shadow is visible. Add UI tests on
the runs per data pass and runs per simulation pass pages.
@graduta
graduta requested a review from isaachilly as a code owner October 20, 2026 10:43
@graduta graduta added bug Something isn't working frontend labels Oct 20, 2026
@codecov

codecov Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 46.46%. Comparing base (9022c99) to head (fb36041).

Files with missing lines Patch % Lines
lib/public/components/common/table/table.js 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2257      +/-   ##
==========================================
- Coverage   46.47%   46.46%   -0.01%     
==========================================
  Files        1052     1052              
  Lines       17357    17358       +1     
  Branches     3163     3164       +1     
==========================================
  Hits         8066     8066              
- Misses       9291     9292       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@graduta
graduta requested a lite review from Copilot October 20, 2026 10:47
@graduta graduta self-assigned this Oct 20, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No unresolved issues were identified.

No open issues 🎉

What changed in this PR

Fixes clipped shadows on scrollable tables by adding spacing around their wrappers and covering affected pages with UI tests.

Changes:

  • Adds table-shadow-room to scroll-enabled table wrappers.
  • Adds padding to preserve table shadows.
  • Adds UI coverage for data-pass and simulation-pass tables.
File Description
test/​public/​runsPerPeriodOrPass/​runsPerSimulationPass.overview.test.js Tests simulation-pass table shadow spacing.
test/​public/​runsPerPeriodOrPass/​runsPerDataPass.overview.test.js Tests data-pass table shadow spacing.
lib/​public/​components/​common/​table/​table.js Applies the shadow-room wrapper class.
lib/​public/​app.css Defines wrapper padding for shadow visibility.

Review effort: Lite

@graduta
graduta merged commit 21fe6fd into main Oct 20, 2026
25 of 26 checks passed
@graduta
graduta deleted the bug/O2B-1633/shadow-not-displayed-on-table-with-scroll branch October 20, 2026 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working frontend

Development

Successfully merging this pull request may close these issues.

2 participants