Skip to content

[O2B-1575] Separate toolbar rendering from table rendering on runs per data pass and runs per lhc period pages#2119

Open
NarrowsProjects wants to merge 7 commits intomainfrom
improv/O2B-1575/Separate-toolbar-rendering-from-table-rendering-on-RunsPerDataPass-and-RunsPerLhcPeriod-pages
Open

[O2B-1575] Separate toolbar rendering from table rendering on runs per data pass and runs per lhc period pages#2119
NarrowsProjects wants to merge 7 commits intomainfrom
improv/O2B-1575/Separate-toolbar-rendering-from-table-rendering-on-RunsPerDataPass-and-RunsPerLhcPeriod-pages

Conversation

@NarrowsProjects
Copy link
Collaborator

@NarrowsProjects NarrowsProjects commented Mar 19, 2026

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: action, export and filter panels will no-longer require the user to re-open those panels after every interaction with them

Notable changes for developers:

  • The filter panel doesn't need to be re-opened again every time you interact with them during tests

Changes made to the database:

  • N/A

@NarrowsProjects NarrowsProjects self-assigned this Mar 19, 2026
@NarrowsProjects NarrowsProjects added frontend javascript Pull requests that update Javascript code labels Mar 19, 2026
…rom-table-rendering-on-RunsPerDataPass-and-RunsPerLhcPeriod-pages
@codecov
Copy link

codecov bot commented Mar 19, 2026

Codecov Report

❌ Patch coverage is 0% with 61 lines in your changes missing coverage. Please review.
✅ Project coverage is 45.35%. Comparing base (4903cda) to head (6369c8d).

Files with missing lines Patch % Lines
...Runs/RunPerDataPass/RunsPerDataPassOverviewPage.js 0.00% 51 Missing ⚠️
.../Runs/RunPerPeriod/RunsPerLhcPeriodOverviewPage.js 0.00% 10 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2119      +/-   ##
==========================================
- Coverage   45.53%   45.35%   -0.19%     
==========================================
  Files        1044     1044              
  Lines       17344    17347       +3     
  Branches     3145     3146       +1     
==========================================
- Hits         7897     7867      -30     
- Misses       9447     9480      +33     

☔ 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.


const commonTitle = h('h2#breadcrumb-header', { style: 'white-space: nowrap;' }, 'Physics Runs');
const runDetectorsSelectionIsEmpty = perDataPassOverviewModel.runDetectorsSelectionModel.selectedQueryString.length === 0;
const dataPass = remoteDataPass.match({ Other: () => null, Success: (data) => data });
Copy link
Collaborator

@isaachilly isaachilly Mar 27, 2026

Choose a reason for hiding this comment

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

Could the change also be done to the RunsPerSimulationPassOverviewPage?

Maybe look at QcFlagsForDataPass and SimulationPass too and check maybe these breadcrumbs could be separated just to keep consistent.

h('.flex-row.justify-between.items-center.g2', [
filtersPanelPopover(perLhcPeriodOverviewModel, activeColumns, { profile: 'runsPerLhcPeriod' }),
h('.pl2#runOverviewFilter', runNumbersFilter(perLhcPeriodOverviewModel.filteringModel.get('runNumbers'))),
h('h2', `Good, physics runs of ${lhcPeriodName}`),
Copy link
Collaborator

Choose a reason for hiding this comment

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

This could momentarily say "Good, physics runs of null" when remoteLhcPeriodStatistics hasn't loaded yet. It would be better to show a placeholder or omit the name until loading has finished.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Taken care of

/*
* The table drawing can be done without using mergeRemoteData, but that will redraw it
* each independent update to dataPass, detectors, or qcSummary.
* While this wouldn't necessarly be noticable for users, it would would detach nodes from
Copy link
Collaborator

Choose a reason for hiding this comment

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

Typo: necessarily, noticeable, double would

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Taken care of

@NarrowsProjects NarrowsProjects force-pushed the improv/O2B-1575/Separate-toolbar-rendering-from-table-rendering-on-RunsPerDataPass-and-RunsPerLhcPeriod-pages branch from a190967 to f525a85 Compare March 27, 2026 12:09
NarrowsProjects and others added 2 commits March 27, 2026 13:17
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.

2 participants