-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New image viewer #6035
base: 6.2
Are you sure you want to change the base?
New image viewer #6035
Conversation
# Conflicts: # package-lock.json # package.json
…ancyBox groups automatically
…the default config.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new library should be added to
WCF/.github/workflows/javascript.yml
Line 39 in 35e8777
name: "Check that npm dependencies are in sync" |
Note: This is blocked while we’re discussing the licensing terms with the vendor. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You forgot to update files/js/.buildOrder
, it still includes WCF.ImageViewer
.
Also, are we somehow able to dynamically group images that exist in the same message? Currently the image viewer spans all images on one page which also means that, for example, attachments from multiple posts are mixed together.
Co-authored-by: Alexander Ebert <[email protected]>
…ey are not grouped together with those from the content
# Conflicts: # package-lock.json # package.json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good so far.
Please do not merge it yet, I will have to make some adjustments and conduct some further tests first.
Closes #5966
TODO
wcf.imageViewer.*
.jsImageViewer
is no longer useddata-caption
and nottitle
is usedshared_imageViewer
instead ofimageViewer
WCF.Combined.min.js
andWCF.Combined.tiny.min.js