Low-Fi Finder Image Grid View πΌοΈ #237
zzeleznick
started this conversation in
Share
Replies: 1 comment
-
Speaking of iMessage, did you know your messages are stored in a sqlite database? There are some npm packages built around accessing them. Would make for some fun scripts π |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Low-Fi Finder Image Grid View πΌοΈ
While list views are nice, sometimes you just want a grid π. Here, I played around with displaying images in a grid layout.
I'd even say that grids feel like a natural extension to the layouts in #231 π€
I started this project a little while back, and am currently using the html panel as opposed to
choice.html
. To support custom actions on selection (e.g. copy image filepath to clipboard on choice selection) within a grid context, I think that there is at least one missing piece.In my example, I'm doing a self-described css injection to add new styles (e.g.
.grid-cols-3 {grid-template-columns: repeat(3, minmax(0, 1fr))}
), but the styles probably could be done in-line.Demo
Code
lib/image-grid.js
view-desktop.js
view-attachments.js
view-downloads.js
Reference
Here are a few screenshots of the native Finder window on macOS 10.14 that I intended to recreate in low-fidelity.
Beta Was this translation helpful? Give feedback.
All reactions