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
Add lightbox to timeline images with PhotoSwipe #5170
Conversation
20488ba
to
45076d6
Compare
Hi @cconard96 , I rebased your branch on 9.5/bugfixes, and add some commits to:
I did not reviewed all code yet, but I will do it in order to put this feature into 9.5/bugfixes (if other core devs are OK for this). Regards |
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.
OK for me.
I added some commits, so do not hesitate to tell me if I have done something wrong.
Good for me with one minor change. The figures were incorrectly sized so clicking to the right of the thumbnail would still trigger the lightbox. |
One issue, it seems to be ok only for attached documents. It's disturbing on my side, because we have different behaviors for same objets (but with different contexts) |
I can't get the images to open at all when embedded in followups or tasks. It is just a static img element. Am I missing something? Adding as a document or attachment (under a followup or task) seems to work OK. |
I added a commit to handle this. |
279680b
to
ae8cbdb
Compare
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.
OK for me :)
fc8b510
to
8101c1e
Compare
closes #3139
Currently uses single-image galleries in timelines of ITIL Objects. Looking into possibly grouping images and documents in the timeline, but seems like a big task.
UserEcho for document groups idea