[O2B-1575] Separate toolbar rendering from table rendering on runs per data pass and runs per lhc period pages#2119
Conversation
…sPerLhcPeriodOverview page
…sPerDataPassOverview page
…rom-table-rendering-on-RunsPerDataPass-and-RunsPerLhcPeriod-pages
Codecov Report❌ Patch coverage is
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. 🚀 New features to boost your workflow:
|
|
|
||
| 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 }); |
There was a problem hiding this comment.
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}`), |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Typo: necessarily, noticeable, double would
There was a problem hiding this comment.
Taken care of
a190967 to
f525a85
Compare
…rom-table-rendering-on-RunsPerDataPass-and-RunsPerLhcPeriod-pages
I have a JIRA ticket
Notable changes for users:
Notable changes for developers:
Changes made to the database: