Commit Graph

2826 Commits

Author SHA1 Message Date
Sam Becker
1f499e697e Move batch editing to pure url-based state 2025-09-06 23:49:10 -05:00
Sam Becker
b8c01492b8
Store optimized assets for all photos (#304)
* Begin storing optimized photo files

* Increase optimized image size to 1080

* Refactor photo/storage modules

* Refine storage file naming api

* Simplify photo storage api

* Finalize photo storage api

* Start storing/serving optimized photos

* Finalize optimized photo asset generation

* Temporarily allow static optimization on PREVIEW branches

* Restore static optimization as production-only

* Remove og image inline-flex class

* Tweak convert upload signature

* Refactor optimized file storage

* Display optimized files when they exist in photo form

* Create small disclosure component

* Report photo storage files more accurately

* Sort optimized files

* Generate optimized storage files when updating/syncing photos

* Include source bucket when copying files with MinIO

* Make deleting files more resilient
2025-09-06 23:20:20 -05:00
Aonan Li
91f99508f7
Start batch editing from the current page (#303)
* Batch edit from the current page

* Redirect to grid when batch editing a page without grid

* Always clear selected ids on path change

* Only clear ids when selecting

* Use data-photo-grid to find grid

* Update batch edit from command K

* Not mount batch edit panel when not needed

* Not clear selecting state when go to /grid

* Use search param to force batch editing
2025-09-06 18:11:35 -05:00
Sam Becker
784c641174 Add next/image compatibility quality 2025-09-01 21:44:32 -05:00
Sam Becker
1a72a84497 Bump deps 2025-09-01 21:03:25 -05:00
Sam Becker
4dc3a976b7 Refining photo form floating thumbnail 2025-08-28 17:47:52 -05:00
Sam Becker
16e6711f0d Tighten grid margins 2025-08-28 17:25:39 -05:00
Sam Becker
de868ef859 Bump deps 2025-08-28 14:11:25 -05:00
Sam Becker
b9b3ddc79f Remove console statements 2025-08-28 09:23:49 -05:00
Sam Becker
ac9326c249 Bump deps 2025-08-28 09:22:20 -05:00
Sam Becker
200f73a5ca Warm redis store once per client session 2025-08-28 09:20:10 -05:00
Sam Becker
f7de56a7b9 Refine storage config 2025-08-27 20:46:57 -05:00
Christopher Jeffrey
363354d797
feat: add minio support (#297) 2025-08-27 19:20:56 -05:00
Sam Becker
6f3136c16e Whitelist user-configured next/image quality 2025-08-26 21:03:49 -05:00
Sam Becker
1b63f08d26 Adjust experimental badge in dark mode 2025-08-26 20:48:36 -05:00
Sam Becker
7c5630e8c1 Prevent thumbnail blocking form actions 2025-08-26 20:45:44 -05:00
Sam Becker
0a17eaa7d0 Bump deps 2025-08-26 20:41:10 -05:00
Sam Becker
25b8d65030
Break up photo form into sections (#298) 2025-08-26 20:36:51 -05:00
Sam Becker
a85d5091a8 Tweak tag of image layout 2025-08-18 12:57:36 -05:00
Sam Becker
69471dacdf Update README FAQ 2025-08-18 12:50:19 -05:00
Sam Becker
320f562cbc
EXIF title/caption capture (#294) 2025-08-17 17:18:16 -05:00
Sam Becker
56a989afe6 Alphabetize locales 2025-08-14 16:55:31 +02:00
Simon
19acbddef5
Add en-GB localisation (#289) 2025-08-14 16:53:52 +02:00
Simon
ba7af69592
Fix html lang (#291) 2025-08-14 16:50:40 +02:00
Sam Becker
a3319b2fa7 Bump deps 2025-08-08 23:31:12 -05:00
Sam Becker
0d02306ba0 Migrate to dedicated indent style line plugin 2025-08-08 23:29:00 -05:00
Sam Becker
b0072429d4 Improve color sort order symmetry 2025-08-06 09:10:06 -05:00
Sam Becker
0dc899cf80 Add self-hosting issue to README 2025-08-06 08:33:23 -05:00
Sam Becker
8727fc18ac Refactor image response url checks 2025-08-05 10:03:53 -05:00
Sam Becker
af4b7574c3 Check urls for pre-rendered og image /recents 2025-08-05 09:12:47 -05:00
Sam Becker
3a45838997 Enlarge ••• menu hit target 2025-08-04 21:51:29 -05:00
Sam Becker
e3cf228c44 Add color sort to cmdk menu 2025-08-04 21:46:42 -05:00
Sam Becker
7f4fc2176c Bump deps 2025-08-04 21:22:57 -05:00
Sam Becker
0d5038bb56 Make caching resilient to missing update status 2025-08-04 09:59:45 -05:00
Sam Becker
bde87c2542 Fix non-deterministic color sort order 2025-08-04 09:48:18 -05:00
Sam Becker
4890b17868 Update color-based sort language 2025-08-04 09:35:04 -05:00
Sam Becker
6b888d7f81 Disable color hover for thumbnails 2025-08-03 19:46:21 -05:00
Sam Becker
59f5c74269
Chromatic sorting (#284)
* Test color palette extraction

* Fix import

* Add hex <> oklch conversions

* Add 'hue' storage to photos

* Consolidate color modules

* Add chromatic config, track missing color data

* Bump deps

* Fix lens text test

* Finalize color storage

* Refactor color imports

* Hide form color data when disabled

* Store all average oklch color components

* Finalize color-config language

* Optimize photo syncing for color data

* Only update color data when syncing if possible

* Build out all color sorts

* Debug image colors

* Improve color debugging

* Improve color logging

* Simplify color sorting

* Bump deps

* Fix color sync logic

* Switch to sort params: ascending, descending

* Fix commandk sort menu

* Update tr-tr sorting language

* Add color capture to all photo extractions

* Add color visualization to photo form

* Standardize photo update language

* Create global debug color update function

* Improve color data capture logging

* Update maximum function duration for admin photos

* Add note to remove maxDuration

* Use AI to generate sorting color

* Conditionally use AI to analyze colors

* Manage AI color analysis batched requests

* Fix color reporting in admin photo table

* Only update color where AI fields are missing

* Temporarily upgrade admin/photos timeout

* Fix pro-based max duration

* Standardize color sorting foundations

* Update color sorting language

* Refactor color calculations

* Restore max duration time

* Update color-based sort menu labels

* Finalize color documentation

* Clean up color test actions

* Round color sort values before submitting to db

* Consolidate color server actions
2025-08-03 19:31:02 -05:00
Sam Becker
8ba32c5549 Add tr-tr type + lint 2025-07-31 09:06:21 -05:00
Mehmet Abak
2cf0a1b840
Added Turkish language support (#285)
* Create tr-tr.ts

* Update index.ts

* Update README.md
2025-07-31 09:04:36 -05:00
Sam Becker
2a2ffeba3c Edit batch icon 2025-07-20 12:04:34 -05:00
Sam Becker
bf3de54797 Restore link primitive cleanup 2025-07-20 11:43:38 -05:00
Sam Becker
a5efb8a964 Refactor link actions 2025-07-20 11:37:06 -05:00
Sam Becker
f6e167bd04 Debug linkwithstatus cleanup 2025-07-20 10:43:19 -05:00
Sam Becker
2425287544 Add temporary logging to LinkWithStatus 2025-07-20 00:25:11 -05:00
Sam Becker
e1ba3d84b4 Update selectedPhotoIds dependency array 2025-07-20 00:16:09 -05:00
Sam Becker
a24d4460d9 Refine batch id clearing 2025-07-20 00:08:53 -05:00
Sam Becker
730708b0db Refactor batch id clearing 2025-07-19 23:50:56 -05:00
Sam Becker
4d2cb31819 Always delay batch edit action 2025-07-19 23:32:37 -05:00
Sam Becker
3263603c25 Choreograph batch edit navigation/action 2025-07-19 23:28:10 -05:00