Commit Graph

485 Commits

Author SHA1 Message Date
Sam Becker
bd9b33422f Refine bulk updating experience 2025-09-11 09:31:02 -05:00
Sam Becker
7c9ce0d26c
Expand social networks (#308)
* Create utility for managing env var-based key lists

* Add expanded social content

* Finalize content for social networks additions

* Add social network config to README
2025-09-10 23:22:26 -05:00
Sam Becker
25a8a473ab Fix select photo ... navigation quirks 2025-09-08 17:55:36 -05:00
Sam Becker
861aa101d0 Update outdated sync text 2025-09-07 18:59:14 -05:00
Sam Becker
b56c852e58 Remove console logging 2025-09-07 16:34:40 -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
57879706a2 Scroll photo grid into view when selecting photos 2025-09-07 16:15:55 -05:00
Sam Becker
2d72f12ddd Rename batch edit language 2025-09-07 12:52:30 -05:00
Sam Becker
db5f9ceb3a Finalize batch select core behavior 2025-09-07 12:18:51 -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
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
Christopher Jeffrey
363354d797
feat: add minio support (#297) 2025-08-27 19:20:56 -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
4890b17868 Update color-based sort language 2025-08-04 09:35:04 -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
2a2ffeba3c Edit batch icon 2025-07-20 12:04:34 -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
Sam Becker
6ab49d13e5 Hide admin menu tooltip on dismiss 2025-07-19 16:05:11 -05:00
Sam Becker
8c6e406904 Skip nav animation in empty state 2025-07-19 16:02:43 -05:00
Sam Becker
fc8cca3f7f Switch more menus to proper links 2025-07-19 13:56:46 -05:00
Sam Becker
6f677ec906 Fix admin visibility icon spacing 2025-07-17 09:30:10 -05:00
Sam Becker
76621b965b Rationalize admin photo icon layout 2025-07-17 09:25:41 -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
622fbda79f Clean up indentation 2025-07-13 23:18:45 -05:00
Sam Becker
2b2bbeb5a5 Adjust config menu styles 2025-07-13 23:06:16 -05:00
Sam Becker
ac7506a1bc Adjust admin photos table spacing 2025-07-13 22:59:34 -05:00
Sam Becker
aefda2db19 Add section menu to admin app config 2025-07-13 18:38:33 -05:00
Sam Becker
781ff098b1 Improve masked scroll in form controls 2025-07-11 17:19:36 -05:00
Sam Becker
94af65c045 Remove tag order admin insight 2025-07-10 21:19:14 -05:00
Sam Becker
5987ab9bdb Restore FieldsetWithStatus location 2025-07-10 17:12:41 -05:00
Sam Becker
d2ba985328 Temporarily move FieldsetWithStatus due to case insensitivity bug 2025-07-10 17:04:42 -05:00
Sam Becker
217baba066 Revert FieldSetWithStatus case change on imports 2025-07-10 10:01:49 -05:00
Sam Becker
c9484a5658 Revert FieldSetWithStatus case change 2025-07-10 10:00:18 -05:00
Sam Becker
9cea328386
Combine visibility setting into single dropdown (#281) 2025-07-10 09:58:27 -05:00
Sam Becker
a0e20f10a6 Lower upload tooltips 2025-07-06 11:37:25 -05:00
Sam Becker
e50ecbf798 Accept titles for uploads, fix duplicate full images 2025-07-06 11:20:57 -05:00
Sam Becker
70f6f48044
Exclude photo from feeds (#280)
* Add tooltip to 'hidden' checkbox

* Refine checkbox UI

* Allow photos to be excluded from main feeds

* Fix footer grid in photos excluded from feed

* Apply feed exclusion from batch upload

* Scrub final hidden/private language

* Add visibility icons to admin photo menu
2025-07-05 23:40:58 -05:00
Sam Becker
b7cb6715b7
Speed up category hovers (#279)
* Extract out ShareHover components
* Refactor hover/category state
* Rename photo query options types
* Restore category count slice of app state
* Streamline entity hover headers
* Standardize swr keys
* Suppress hover counts to years
* Refine entity hover design
* Make image hovers opt out
2025-07-04 12:19:45 -05:00
Sam Becker
724fce656c Simplify sort config language 2025-07-01 17:43:19 -05:00
Sam Becker
d7fbc8bd68
Configurable photo sort order (#277)
* Introduce configurable photo sort order

* Fix recents image pre-rendering

* Refine sort order config

* Store sort order in client state

* Add core views to support sort

* Separate sort and priority preferences

* Consolidate imports, add lint rule

* Refine photo sorting documentation

* Update README sort text

* Finalize sort config
2025-06-29 21:05:13 -05:00
Sam Becker
4698c5fe64 Refine configuration design 2025-06-25 17:41:46 -05:00
Sam Becker
21d465c1ec Offer config for showing only tags with multiple photos 2025-06-25 09:29:05 -05:00
Sam Becker
c73c36951d Create dedicated categories config section 2025-06-25 08:44:44 -05:00
Sam Becker
4b341348e5 Reorder config sections 2025-06-25 08:36:16 -05:00