Commit Graph

785 Commits

Author SHA1 Message Date
Sam Becker
a63f2c3fe3
Select All Photos (1 of 2) (#372)
* Add 'select all photos' to app state

* Create general purpose bulk photo action

* Fix infinite scroll pagination, temporarily hide "select all"

* Refine batch edit behavior

* Add admin endpoints to check storage

* Add missing storage count

* Refine missing file presentation

* Finalize storage status page

* Store image-dependent photo fields when reuploading

* Move storage checks behind flag
2026-02-12 22:28:37 -06:00
Sam Becker
3e3f163aa9 Refine reupload input behavior 2026-02-10 22:46:44 -06:00
Sam Becker
351f8869a6
Replace backing storage (#374)
* Centralize random suffix generation

* Introduce ••• menu in admin photos table

* Finalize re-upload behavior

* Finalize re-upload locales

* Honor resize config when re-uploading files
2026-02-10 21:17:57 -06:00
Sam Becker
3f633787cf Refine app view switcher 2026-01-31 15:22:05 -06:00
Sam Becker
58cbe73909 Refine entity badges 2026-01-31 10:57:45 -06:00
Sam Becker
cee69cd8a6 Refine main navigation toggle 2026-01-31 10:53:20 -06:00
Sam Becker
c9b6c1a122 Fix Next.js icon in dark mode 2026-01-30 21:07:19 -06:00
Sam Becker
545a360068 Debug node version 2026-01-30 20:58:32 -06:00
Sam Becker
c8ea51cdd1
Next.js 16 (#351)
* Upgrade to next.js 16

* Allow static generation on preview

* Add note for disabled ref rule

* Report Next.js version in App Insights

* Link Next.js version
2025-11-02 11:23:52 -06:00
Sam Becker
dbf55badf6
Optimize Next.js 16 behavior (#349)
* Remove unused desktop redirect component

* Tweak useEffect/setState interactions

* Address more next.js 16 linting

* Tweak secret loading

* Finish linting setstate/useeffect interactions

* Disable ref lint warnings
2025-10-27 09:49:16 -05:00
Sam Becker
70abf8178d Remove synchronous setstate call in hover check 2025-10-26 11:00:09 -05:00
Sam Becker
5591635a1e
Next.js 16 (#347)
* Upgrade to Next.js 16, resolve/suppress linting errors

* Update usage of revalidateTag()

* Rename proxy.ts export

* Refactor infinite scroll data handling
2025-10-25 21:35:30 -05:00
Sam Becker
c2a0e1585f
Album location hovers (#345) 2025-10-21 22:46:28 -05:00
Sam Becker
a00e38b395
Add Locations to Albums (#334) 2025-10-15 09:37:16 -05:00
Sam Becker
3b6001602a
Mobile Sidebar (#330)
* Show top entities on mobile

* Add config

* Localize 'more'/'less' text
2025-10-02 21:46:58 -05:00
Sam Becker
64c4b21f75 Add 3-photo split layout to og images 2025-09-27 22:02:19 -05:00
Sam Becker
1d0973bfd1 Create custom layout for hovers with 3 images 2025-09-27 21:33:39 -05:00
Sam Becker
e5a0c6a326 Round UI, tweak sidebar 2025-09-27 20:41:22 -05:00
Sam Becker
47fe1cf383 Add next/script customization 2025-09-21 14:30:29 -05:00
Sam Becker
5140addc8d
PNG/EXIF handling (#328)
* Refactor PNG/EXIF handling
* Increase quality of client-side resizes
2025-09-20 16:13:25 -05:00
Sam Becker
ee9f3f4dc2
Album upgrades (#326)
* Add tag-to-album upgrade, introduce tag/album ••• menus

* Refine entity ••• menus

* Add album tagging to "Select ..." mode

* Finalize batch select/upload add album

* Refine final tag/album interactions

* Refine upgradeTagToAlbum capitalization

* Fix batch album upload, z-index issues

* Refine readonly styles
2025-09-18 22:41:12 -05: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
a5af7c617c Optimize environment variable warning 2025-09-12 17:12:59 -05:00
Sam Becker
ca9cc320ed Optimized outdated env var scroll 2025-09-12 08:54:04 -05:00
Sam Becker
c9f74bd18c Pad progress button 2025-09-11 20:41:15 -05:00
Sam Becker
f539fb08a8 Tweak primary button styles 2025-09-07 19:11:06 -05:00
Sam Becker
7ec8d69b5f Fix admin photo menu hit target 2025-09-07 18:17:13 -05:00
Sam Becker
71434c780b
Merge pull request #306 from sambecker/batch-edit-update
Finalize anywhere batch editing
2025-09-07 16:25:46 -05:00
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
Sam Becker
16e6711f0d Tighten grid margins 2025-08-28 17:25:39 -05:00
Sam Becker
b9b3ddc79f Remove console statements 2025-08-28 09:23:49 -05:00
Sam Becker
1b63f08d26 Adjust experimental badge in dark mode 2025-08-26 20:48:36 -05:00
Sam Becker
25b8d65030
Break up photo form into sections (#298) 2025-08-26 20:36:51 -05:00
Sam Becker
0d02306ba0 Migrate to dedicated indent style line plugin 2025-08-08 23:29:00 -05:00
Sam Becker
3a45838997 Enlarge ••• menu hit target 2025-08-04 21:51:29 -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
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
3263603c25 Choreograph batch edit navigation/action 2025-07-19 23:28:10 -05:00
Sam Becker
6ab49d13e5 Hide admin menu tooltip on dismiss 2025-07-19 16:05:11 -05:00
Sam Becker
fc8cca3f7f Switch more menus to proper links 2025-07-19 13:56:46 -05:00
Sam Becker
c2b1be5fb4 Always fade in images on first load 2025-07-17 17:14:38 -05:00
Sam Becker
2dde902027 Check fallback fade/image load status on mount 2025-07-16 17:35:09 -05:00
Sam Becker
f2db4cf4d0 Add additional image fallback loading checks 2025-07-16 09:37:48 -05:00
Sam Becker
25533f088c Restore image fallback check to 100ms 2025-07-16 08:51:49 -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
2b2bbeb5a5 Adjust config menu styles 2025-07-13 23:06:16 -05:00