Skip to content

Conversation

@isaachilly
Copy link
Collaborator

Adjusted TABLEROW_HEIGHT and PAGE_USED_HEIGHT to reflect updated UI dimensions.

Forgot to do when first completing the ticket.

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:

  • N/A

Notable changes for developers:

  • N/A

Changes made to the database:

  • N/A

Adjusted TABLEROW_HEIGHT and PAGE_USED_HEIGHT to reflect updated UI dimensions.
@isaachilly isaachilly self-assigned this Dec 11, 2025
@isaachilly isaachilly requested a review from graduta as a code owner December 11, 2025 15:52
@isaachilly isaachilly added frontend javascript Pull requests that update Javascript code labels Dec 11, 2025
@codecov
Copy link

codecov bot commented Dec 11, 2025

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 45.47%. Comparing base (bff8c8f) to head (de8460e).

Files with missing lines Patch % Lines
...ironments/Overview/environmentOverviewComponent.js 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2042   +/-   ##
=======================================
  Coverage   45.47%   45.47%           
=======================================
  Files        1023     1023           
  Lines       17053    17053           
  Branches     3092     3092           
=======================================
  Hits         7754     7754           
  Misses       9299     9299           

☔ View full report in Codecov by Sentry.
📢 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.

Adjusted test expectations to reflect a change in the row heights and used page height.
import { filtersPanelPopover } from '../../../components/Filters/common/filtersPanelPopover.js';

const TABLEROW_HEIGHT = 58;
const TABLEROW_HEIGHT = 65.3;
Copy link
Member

Choose a reason for hiding this comment

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

To me the browser still displays a size of 57.6 (~58). How did you come to this new value?

const TABLEROW_HEIGHT = 65.3;
// Estimate of the navbar and pagination elements height total; Needs to be updated in case of changes;
const PAGE_USED_HEIGHT = 181;
const PAGE_USED_HEIGHT = 260;
Copy link
Member

Choose a reason for hiding this comment

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

Same here, the browser estimate is around 181, but in my tests an 185 is better as we have paddings in rem values. A 260 is way too big.

@isaachilly
Copy link
Collaborator Author

See ticket: https://its.cern.ch/jira/browse/O2B-1516

@isaachilly isaachilly closed this Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend javascript Pull requests that update Javascript code

Development

Successfully merging this pull request may close these issues.

3 participants