Commit Graph

548 Commits

Author SHA1 Message Date
John
86d4f3dfca
Add masonry layout for photo grids (#390)
* add masonry layout for photo grids

- NEXT_PUBLIC_MASONRY_GRID env variable to turn masonry layout on and
off
- added PhotoGridMasonry.tsx to handle masonry layout

* fixed albums showing all photos when masonry grid is enabled

* only render infinite photo scroll for masonry grid when total photo count is greater than loaded photos

* fixed masonry grid lcp warnings

* add NEXT_PUBLIC_MASONRY_GRID description to README

* Use custom icon for masonry layout

* Add masonry to in-app config

* Simplify masonry architecture

---------

Co-authored-by: Sam Becker <sam@sambecker.com>
2026-05-02 16:01:08 -05:00
Sam Becker
58fac5c81b Add 'clear cache' to cmdk menu 2026-03-08 16:22:10 -05:00
Sam Becker
4ab56b603f Stop displaying 0ev exposure compensation by default 2026-03-08 13:03:56 -05:00
Sam Becker
691a39c85c
Fix config flag 2026-03-05 21:38:46 -06:00
Sam Becker
e18af1a07d Update Vercel storage docs 2026-03-05 18:32:07 -08:00
Sam Becker
5940bee86a
Photo Chooser (#383)
* Refactor photo/menu form components

* Fix pre-rendering error

* Incorporate server-side photo chooser data

* Create custom photo chooser grid

* Extract photo query logic to hook

* Make photo chooser searchable

* Create custom photo chooser menu

* Animate query menu, add favs to chooser

* Add photo chooser empty states
2026-03-01 20:55:46 -06:00
Sam Becker
b7f8b9fa15 Sketch out photo chooser component 2026-02-27 20:29:55 -06:00
Sam Becker
5970bfb850
About Page (#378)
* Highlight /about in nav

* Refine full frame icon

* Add timestamp to /about

* Add /about to cmdk menu

* Enrich /about content

* Make /about categories responsive

* Enlarge app nav buttons

* Add /about richer categories

* Widen main nav buttons

* Add more /about category content

* Catch db errors in /about

* Update key /about image

* Add /about avatar

* Add jest TextEncoder polyfill

* Refactor sidebar text configuration

* Show /about hero photo meta

* Hoist about content to server page

* Hide admin email on small screens

* Add basic about page form

* Finalize basic /about upsert functionality

* Make /about/edit safe for blank templates
* Add configuration to hide /about page

* Add default /about title text

* Add interactive photos to /about edit form

* Apply final /about i18n

* Ensure /about static optimization

* Add CTA for admins to add /about descriptions

* Add convenience for accepting full photo urls

* Add photo placeholder icon

* Show /about empty state when there are no photos

* Hide sort control when in app empty state
2026-02-26 09:32:17 -06:00
Sam Becker
e10589b048 Optimize batch selection on mobile 2026-02-22 11:00:17 -06:00
Sam Becker
823476795d Refine git time formatting 2026-02-22 10:05:26 -06:00
Sam Becker
db6694740d Show status when doing an overwrite sync 2026-02-21 18:17:24 -06:00
Sam Becker
51be78e597 Redirect to photo detail after editing 2026-02-21 18:16:17 -06:00
Sam Becker
d2cca5ec9e Offer explicit sync controls 2026-02-21 14:03:44 -06:00
Sam Becker
7b115da8d4 Improve batch edit confirmation text 2026-02-19 17:43:33 -06:00
Sam Becker
922a33354f Make commit age text responsive 2026-02-19 17:24:42 -06:00
Sam Becker
0240bd56d6 Clear batch edit state when selection stops 2026-02-19 17:21:34 -06:00
Sam Becker
2feb4cf088 Add commit age to admin insights 2026-02-19 10:27:34 -06:00
Sam Becker
3607d51c06
Select All Photos (2 of 2) (#375)
* Enable select all toggle

* Extend category path test coverage

* Preview queries when selecting all

* Hoist select all query count to app state

* Refine select photo behavior/presentation

* Refactor batch edit actions

* Refactor limit handling in path-based photo queries

* Show all tags in admin views

* Fix select all z-order
2026-02-16 09:23:28 -06:00
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
b664b8b203 Refine reupload capitalization 2026-02-10 22:50:38 -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
42bf07445c Add Node.js version link 2026-02-01 14:50:34 -06:00
Sam Becker
0b47d9d618 Remove leading v from Node.js debug version 2026-01-31 15:15:45 -06:00
Sam Becker
a0a1ec03a6 Add debug link for react version 2026-01-30 22:03:27 -06:00
Sam Becker
6b4c4970a3 Add react version to debugging 2026-01-30 21:13:34 -06:00
Sam Becker
545a360068 Debug node version 2026-01-30 20:58:32 -06:00
Sam Becker
3edc64d5cf Allow AI model override 2026-01-30 20:42:47 -06:00
Sam Becker
68aaf42990 Refine insight empty state 2026-01-16 18:10:56 -06:00
Sam Becker
95a7cc336e Refine qr code feature 2026-01-11 14:21:46 -06:00
Carlo Bortolan
43c6bceb94
QR page sharing (#368)
* Add QR to ShareModal and update next image hostnames

* Remove unused import

* Add qrcode into socials and update i18n

* Update README to include QR code option to social sharing

* Include qrcode in AdminAppConfigurationClient
2026-01-11 11:11:27 -06:00
Sam Becker
1dd4475ae5 Bust cache on photo add 2025-11-19 09:23:36 -06:00
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
32d39f7e67 Add Next.js version to config export 2025-11-14 12:06:39 -08:00
Sam Becker
667328b166 Conditionally add build identifier to <head /> 2025-11-08 15:22:33 -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
b9c31153f2 Remove db optimization experiment 2025-10-26 10:24:47 -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
71c732e3ff Tweak code note 2025-10-15 20:03:24 -05:00
Sam Becker
0218c07870 Only show <PlaceInput /> when location services are enabled 2025-10-15 19:52:46 -05:00
Sam Becker
362c739b75 Fix location services config reporting 2025-10-15 19:23:18 -05:00
Sam Becker
a00e38b395
Add Locations to Albums (#334) 2025-10-15 09:37:16 -05:00
Sam Becker
5c2dd092e4 Fix album form submission bug 2025-10-05 19:13:59 -05:00
Sam Becker
a2a8538948 Prevent photo selection in lightboxes 2025-10-05 10:41:54 -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
ffe7fe7b3d Refine config list display 2025-09-23 17:37:21 -05:00
Sam Becker
e9d3c19c40 Pre-populate upload form with AI data 2025-09-22 09:18:57 -05:00
Sam Becker
47fe1cf383 Add next/script customization 2025-09-21 14:30:29 -05:00