Fix sticky header on vulnerability reports
What does this MR do and why?
Fix sticky th on pipeline and instance vuln report
This commit fixes the sticky positioning of the table hader on both the pipeline- and instance-level vulnerability reports.
Changelog: fixed EE: true
Screenshots or screen recordings
Pipeline
Before | After |
---|---|
Screen_Recording_2023-12-11_at_8.46.52_am | Screen_Recording_2023-12-11_at_8.45.28_am |
Instance
Before | After |
---|---|
Screen_Recording_2023-12-11_at_8.48.02_am | Screen_Recording_2023-12-11_at_9.04.01_am |
How to set up and validate locally
- Navigate to your instance's vulnerability report (e.g.: http://gdk.test:3000/-/security/vulnerabilities)
- Select one or more vulnerabilities via the checkbox
- Scroll down and verify that the sticky header is positioned correctly
- Enable FF:
echo "Feature.enable(:pipeline_security_dashboard_graphql)" | rails c
- Navigate to a pipeline's vulnerability report
- Repeat steps
2
and3
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #431951 (closed)
Merge request reports
Activity
changed milestone to %Backlog
assigned to @dpisek
1 Warning You've made some app changes, but didn't add any tests.
That's OK as long as you're refactoring existing code,
but please consider adding any of the maintenancepipelines, maintenancerefactor, maintenanceworkflow, documentation, QA labels.Reviewer roulette
Changes that require review have been detected!
Please refer to the table below for assigning reviewers and maintainers suggested by Danger in the specified category:
Category Reviewer Maintainer frontend @jmontal
(UTC-7, 8 hours behind author)
@mrincon
(UTC+1, same timezone as author)
Please check reviewer's status!
Feel free to override these selections if you think someone else would be better-suited or use the GitLab Review Workload Dashboard to find other available reviewers.
To read more on how to use the reviewer roulette, please take a look at the Engineering workflow and code review guidelines. Please consider assigning a reviewer or maintainer who is a domain expert in the area of the merge request.
Once you've decided who will review this merge request, assign them as a reviewer! Danger does not automatically notify them for you.
If needed, you can retry the
danger-review
job that generated this comment.Generated by
DangerEdited by Ghost User- Resolved by Savas Vedova
Bundle size analysis [beta]
This compares changes in bundle size for entry points between the commits 3667fc4e and 5ffee589
Special assetsEntrypoint / Name Size before Size after Diff Diff in percent average 4.09 MB 4.09 MB - 0.0 % mainChunk 3.05 MB 3.05 MB - 0.0 %
Note: We do not have exact data for 3667fc4e. So we have used data from: 9562ebbb.
The intended commit has no webpack pipeline, so we chose the last commit with one before it.Please look at the full report for more details
Read more about how this report works.
Generated by
DangerEdited by Ghost User89 90 // The checkboxes use z-index: 1, so we need to place the headers higher so that the checkboxes 90 91 // don't show on top of the headers when scrolling down. 91 92 @include gl-z-index-2; 92 top: calc(#{$calc-application-header-height} + var(--security-filter-height)); 93 top: calc(#{$calc-application-header-height} + var(--security-filter-height) + var(--group-by-selection-height)); 93 94 // Need to use an inset box-shadow here for the bottom border because position: sticky will hide 94 95 // any borders once the table headers become sticky. 95 96 box-shadow: inset 0 -1px $gray-100; 96 97 } 97 98 98 99 thead.below-selection-summary th { 99 top: calc(#{$calc-application-header-height} + var(--security-filter-height) + #{$selection-summary-height}); 100 top: calc(#{$calc-application-header-height} + var(--security-filter-height) + #{$selection-summary-height} + var(--group-by-selection-height) ); changed this line in version 2 of the diff
added 1 commit
- 76cc28c0 - Fix sticky th on pipeline and instance vuln report
added 1 commit
- cb52ff47 - Fix sticky th on pipeline and instance vuln report
- Resolved by Lorenz van Herwaarden
- Resolved by Savas Vedova
- Resolved by Savas Vedova
Allure report
allure-report-publisher
generated test report!e2e-test-on-gdk:
test report for 5ffee589expand test summary
+-----------------------------------------------------------------------+ | suites summary | +------------------+--------+--------+---------+-------+-------+--------+ | | passed | failed | skipped | flaky | total | result | +------------------+--------+--------+---------+-------+-------+--------+ | Plan | 55 | 0 | 0 | 0 | 55 | ✅ | | Data Stores | 23 | 0 | 0 | 0 | 23 | ✅ | | Verify | 31 | 0 | 0 | 0 | 31 | ✅ | | Govern | 57 | 0 | 0 | 0 | 57 | ✅ | | Create | 54 | 0 | 7 | 0 | 61 | ✅ | | Release | 5 | 0 | 0 | 0 | 5 | ✅ | | Analytics | 2 | 0 | 0 | 0 | 2 | ✅ | | Monitor | 8 | 0 | 0 | 0 | 8 | ✅ | | Manage | 0 | 0 | 1 | 0 | 1 | ➖ | | Package | 0 | 0 | 1 | 0 | 1 | ➖ | | Framework sanity | 0 | 0 | 1 | 0 | 1 | ➖ | +------------------+--------+--------+---------+-------+-------+--------+ | Total | 235 | 0 | 10 | 0 | 245 | ✅ | +------------------+--------+--------+---------+-------+-------+--------+
e2e-package-and-test:
test report for 5ffee589expand test summary
+-----------------------------------------------------------------------+ | suites summary | +------------------+--------+--------+---------+-------+-------+--------+ | | passed | failed | skipped | flaky | total | result | +------------------+--------+--------+---------+-------+-------+--------+ | Govern | 292 | 0 | 23 | 3 | 315 | ❗ | | Create | 140 | 1 | 14 | 0 | 155 | ❌ | | Plan | 4 | 0 | 0 | 0 | 4 | ✅ | | Package | 0 | 0 | 1 | 0 | 1 | ➖ | | Framework sanity | 0 | 0 | 1 | 0 | 1 | ➖ | | Monitor | 4 | 0 | 0 | 0 | 4 | ✅ | | Data Stores | 2 | 0 | 0 | 0 | 2 | ✅ | +------------------+--------+--------+---------+-------+-------+--------+ | Total | 442 | 1 | 39 | 3 | 482 | ❌ | +------------------+--------+--------+---------+-------+-------+--------+
e2e-review-qa:
test report for 5ffee589expand test summary
+-----------------------------------------------------------------------+ | suites summary | +------------------+--------+--------+---------+-------+-------+--------+ | | passed | failed | skipped | flaky | total | result | +------------------+--------+--------+---------+-------+-------+--------+ | Govern | 51 | 0 | 2 | 0 | 53 | ✅ | | Create | 6 | 0 | 4 | 0 | 10 | ✅ | | Plan | 3 | 0 | 1 | 0 | 4 | ✅ | | Monitor | 4 | 0 | 0 | 0 | 4 | ✅ | | Package | 0 | 0 | 1 | 0 | 1 | ➖ | | Framework sanity | 0 | 0 | 1 | 0 | 1 | ➖ | | Data Stores | 2 | 0 | 0 | 0 | 2 | ✅ | +------------------+--------+--------+---------+-------+-------+--------+ | Total | 66 | 0 | 9 | 0 | 75 | ✅ | +------------------+--------+--------+---------+-------+-------+--------+
Edited by Ghost Useradded 489 commits
-
cb52ff47...df17bd0c - 488 commits from branch
master
- 84ae151a - Fix sticky th on pipeline and instance vuln report
-
cb52ff47...df17bd0c - 488 commits from branch