cloudinary-community / photocrate

Photo library and interactive editor built with Next.js & Cloudinary
https://www.photobox.dev/
MIT License
123 stars 14 forks source link

feat: now you can press the Escape key to deselect all items in the main gallery view #18

Closed nickytonline closed 2 months ago

nickytonline commented 2 months ago

Now, if you have one or more items selected in the media gallery, they will be deselected if you press the Escape key.

vercel[bot] commented 2 months ago

@nickytonline is attempting to deploy a commit to the Cloudinary DevX Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
photobox-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 17, 2024 5:23pm
photobox-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 17, 2024 5:23pm
colbyfayock commented 2 months ago

looks good and works well! Seeing a build error though thats tripping over the use of document on the server

nickytonline commented 2 months ago

looks good and works well! Seeing a build error though thats tripping over the use of document on the server

I know what that is. I had document.body in useEffect before so no error. Now it's a custom hook, so the useEffect isn't gating the call to document.body on the client-side. I'll put up a small fix shortly

colbyfayock commented 2 months ago

works great! thanks @nickytonline

colbyfayock commented 2 months ago

@all-contributors please add @nickytonline for code

allcontributors[bot] commented 2 months ago

@colbyfayock

I've put up a pull request to add @nickytonline! :tada: