Commit Graph

548 Commits

Author SHA1 Message Date
Sam Becker
8482a76dd6 Fix social network key display 2025-09-21 11:04:56 -05:00
Sam Becker
1a592aca26 Stop categorizing database as Vercel 2025-09-21 09:48:04 -05:00
Sam Becker
272d57bec5 Clarify env var insight recommendations 2025-09-20 19:35:07 -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
62e8392900 Update config footer text 2025-09-13 17:07:48 -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
9ed389f31f Update deprecated env var styles 2025-09-11 21:20:52 -05:00
Sam Becker
0de8087fb4 Flag deprecated environment variables 2025-09-11 21:14:06 -05:00
Sam Becker
9c1c924f20 Update breadcrumb when updating photos 2025-09-11 20:38:04 -05:00
Sam Becker
379228cc03 Avoid unnecessary color collection when syncing outdated photos 2025-09-11 20:31:22 -05:00
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
Sam Becker
e1af77d40c
OG image hovers (#268)
* Create og tooltip component

* Refactor og image handling

* Introduce category hover configuration

* Add og hovers to all categories

* Move category labels to client

* Disable og tooltips in headers

* Prevent og tooltips on accessory/loader hovers
2025-06-19 18:19:59 -05:00
Sam Becker
7236e5adf3 Remove domain from configuration footer 2025-06-19 08:42:33 -05:00
Sam Becker
df9fa060b0 Refine app menu positioning 2025-06-19 08:40:02 -05:00
Sam Becker
49bfff5fbd Refine upload rows on mobile 2025-06-18 23:38:42 -05:00
Sam Becker
f6bc865225 Improve upload state management 2025-06-18 21:35:24 -05:00
Sam Becker
144e68b965 Improve add/edit upload functionality 2025-06-18 18:35:10 -05:00
Sam Becker
5704597a4f Extract common upload add routine 2025-06-18 09:54:30 -05:00
Sam Becker
b115b98ea5 Change upload responsive buttons 2025-06-18 09:27:45 -05:00
Sam Becker
6ac797d5ac Refine uploads layout 2025-06-18 09:23:20 -05:00
Sam Becker
3bd6b20e76 Refine upload row styles 2025-06-17 19:02:46 -05:00
Sam Becker
63fafb87af Accept titles when adding uploads 2025-06-17 09:33:07 -05:00
Sam Becker
4dc9149931 Remove public api endpoint 2025-06-12 18:54:50 -05:00
Tadej Novak
559f61fa68
Add public feed configuration 2025-06-08 13:42:25 +02:00
Sam Becker
6d3fdfdcb5 Full-bleed config layout on mobile 2025-06-03 21:59:27 -05:00
Sam Becker
01223f6be0 Increase hidden icon in admin photo menu 2025-06-03 19:10:07 -05:00
Sam Becker
34e6fdb6c2 Refine site meta observability 2025-06-03 18:30:25 -05:00
Sam Becker
a063d0d29b Add meta content to admin config page 2025-06-03 09:35:51 -05:00
Sam Becker
b6d5f2ebb2 Add hide/unhide to admin photo menu 2025-05-26 23:59:51 -05:00
Sam Becker
6d2e9ea04c Crisp up modals and dropdowns 2025-05-25 13:01:10 -05:00
Sam Becker
79bd96ac13 Improve admin photo view on mobile 2025-05-24 18:35:07 -05:00
Sam Becker
bc7fc198c0 Adjust html lang attribute, standard i18n capitalization 2025-05-24 16:18:19 -05:00
Sam Becker
2888fd9318 Clarify photo matte color config 2025-05-23 17:15:54 -05:00
Sam Becker
87915875c7 Add OpenAI base url override to app config 2025-05-22 09:38:56 -05:00
Sam Becker
8caa2b9245 Scroll photo into view when bulk adding 2025-05-14 00:21:31 -05:00
Sam Becker
d971a71c5d Reduce upload batch size 2025-05-13 09:20:11 -05:00
Sam Becker
526ba1a43b Lazy load language data 2025-05-12 09:10:28 -05:00
Sam Becker
a596476e12 Fix locale links/language 2025-05-10 18:01:17 -05:00
Sam Becker
def1091ee9 Refine admin update language/presentation 2025-05-10 17:55:37 -05:00
Sam Becker
6115c5952f Make admin menu sync color blue 2025-05-10 17:50:21 -05:00
Sam Becker
f4fea9dd7f Mark i18n config optional 2025-05-10 17:49:18 -05:00
Sam Becker
c3e34ea629 Refine i18n 2025-05-10 17:17:18 -05:00
Sam Becker
6ab7b2089f Standardize locale language 2025-05-10 16:47:25 -05:00
Sam Becker
cfcff69b95 Finalize first i18n implementation 2025-05-10 16:31:57 -05:00
Sam Becker
927b4b85b5 Enrich language cms 2025-05-10 15:20:46 -05:00
Sam Becker
5279250e8c Fix sync all tooltip text 2025-05-03 12:36:02 -05:00
Sam Becker
61d5456b29 Fix insight tooltip placement 2025-05-03 12:24:41 -05:00
Sam Becker
8a214f7190 Manage focus when batch editing 2025-05-03 11:38:33 -05:00