Commit Graph

18 Commits

Author SHA1 Message Date
Sam Becker
c5c78e527e Increase cache coverage 2025-11-15 17:03:32 -06:00
Sam Becker
7662465248 Cache album queries 2025-11-15 16:31:46 -06:00
Sam Becker
1e66815a3d
Albums (#315)
* Make /db top-level module

* Create Album type

* Pin pnpm version

* Generalize query modules

* Finalize album postgres data type

* Remove temp albums prop

* Create basic album primitives

* Fix temporary album bugs

* Add albums to sidebar

* Disambiguate string date utilities

* Localize album language

* Add album join option to core photo queries

* Tweak album icon placement

* Add album photo detail page

* Refine Album data model

* Display album subhead when available

* Generate album og images

* Finalize album share modal

* Add albums to sitemap

* Statically pre-render albums

* Display tags on albums

* Add albums to cmd-k menu

* Handle album tag overflow

* Stop truncating album subheads

* Create core admin album views

* Make albums editable

* Create/edit albums on photo save, add delete album
2025-09-16 21:47:22 -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
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
646f32e642
Rich sort controls (#283)
* Generalize app switcher menus

* Organize sort module

* Build configuration for nav sort control

* Refine sort menu styles

* Upgrade next.js

* Reset custom sort when clicking grid/full a second time

* Light up sort button when overridden
2025-07-15 22:43:36 -05:00
Sam Becker
61f358b73b Rename photo 'sync' to 'updates' 2025-04-20 22:41:35 -05:00
Sam Becker
6910ccbbcd Remove last 'outdated' references 2025-04-20 17:06:39 -05:00
Sam Becker
f22d5f85a8 Consolidate outdated/needs AI text sync statuses 2025-04-19 15:00:24 -05:00
Sam Becker
00932b6687 Rename 'outdated' to 'sync,' change path 2025-04-19 11:23:32 -05:00
Sam Becker
c94e641627 Optimize photo edit network request 2025-03-31 00:27:54 -05:00
Sam Becker
5f992788f2 Switch film chooser to tag input 2025-03-31 00:25:25 -05:00
Sam Becker
21ed815cba Add guidance around sync buttons 2025-03-07 08:39:40 -08:00
Sam Becker
b114bca43e Create recipe auto-chooser in photo form 2025-03-05 22:00:42 -08:00
Sam Becker
1a273625a9 Finalize base multi-origin upload approach 2025-02-27 22:05:45 -06:00
Sam Becker
ee6aed896c Flag photos without recipes as 'outdated' 2025-02-23 23:41:05 -06:00
Sam Becker
1508a9718c Rename src/app-core to src/app 2025-02-17 17:54:00 -06:00
Sam Becker
2d6d8fccaa Move /app to root 2025-02-17 17:52:18 -06:00