-
Notifications
You must be signed in to change notification settings - Fork 10
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
feat(plugin-image-gallery): Image Grid (PE-53, PE-54) #4040
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
4a7debf
to
617cfa0
Compare
822f1ac
to
220873c
Compare
11c2adf
to
b457092
Compare
…ks on photo in grid
b457092
to
e031918
Compare
…eModal, based on whether an image was uploaded or set
Thanks for the demo Links, really helpful here. Some initial feedback: Lightbox
![]() ![]() Bundle size The bundle size increase comes from the gallery plugin I guess? I think especially for the static view this is a lot of js just for the layout. I'm aware that there will be sorting later and that can be tricky to implement. ![]() Personally I'd love a simple css based solution for the grid and then using some library or code based on react-dnd only inside the editing view for sorting. (e.g. like react-easy-sort might be worth a look). But I can also not say with confidence how much work this way would actually be. At least we should load the component dynamically. |
I have a branch with the sorting functionality done with react-dnd. Can look at a css only solution for the grid
This is in another issue: https://linear.app/serlo/issue/PE-57/lightbox-desktop |
Linear Issues:
Demo Links:
To do: