Conversation
Test results 27 files 27 suites 44m 23s ⏱️ Results for commit e40d990. ♻️ This comment has been updated with latest results. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3530 +/- ##
==========================================
+ Coverage 62.08% 62.09% +0.01%
==========================================
Files 611 611
Lines 44865 44865
Branches 43 43
==========================================
+ Hits 27856 27861 +5
+ Misses 16999 16994 -5
Partials 10 10 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Sonarqube is complaining about using the |
I marked it as false positive on Sonarqube :) |
@johannaengland You are correct that the thumbnails are different, and this was an intentional choice. The "Clearing lightbox" thumbnails don't really have a max width, so the thumbnails grow larger than they need to be in order to show a small preview of the image. Adding limitations to height/width makes the images more consistent with each other. However, I modified the styles slightly to allow images to grow wider to a maximum ratio of 16/9.
|
a5eb683 to
e40d990
Compare
|









Scope and purpose
Resolves #3474.
This PR replaces the Clearing Lightbox component from Foundation with a custom implementation, using:
plugins/lightbox.js) for handling the lightbox gallery.[data-lightbox]attribute)._clearing.scss, but replaces it entirely.The Clearing Lightbox is one of the last Foundation JS plugins in use in the codebase, and as such had to be replaced by bespoke code.
This pull request
[data-clearing]from the codebase_clearing.scssstylesheetFeatures
How to test
The Lightbox has been added to both Rooms and Locations.
Screenshots
Before
After
Contributor Checklist
Every pull request should have this checklist filled out, no matter how small it is.
More information about contributing to NAV can be found in the
Hacker's guide to NAV.
<major>.<minor>.x). For a new feature or other additions, it should be based onmaster.