Use unoptimized next/image with pre-sized R2 URLs (-sm/-md/-lg) when a public R2 domain is configured. Falls back to the original file if a sized variant is missing.
Co-authored-by: Cursor <cursoragent@cursor.com>
Remove avatar/hero photos and gallery stats from the public About view and admin editor, and add env-backed defaults for ABOUT_TITLE and ABOUT_SUBHEAD.
Co-authored-by: Cursor <cursoragent@cursor.com>
* 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>
* 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
* 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
* 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
* 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
* 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
* Add 'recents' and 'years' categories
* Add recents and years visibility config
* Add fundamental recent/year queries
* Display initial date-based data in sidebar
* Adjust recents data type
* Remove date rage from sidebar footer
* Reformat recents/years in sidebar
* Organize years in grid
* Rename date -> year
* Add year-based views
* Split sidebar years into rows
* Add years to cmdk menu
* Localize 'years'
* Create /recents views
* Enable recents share modals
* Fix recents og image
* Statically optimize /recents image
* Don't statically optimize /recents page
* Update i18n
* Add recents to cmdk
* Suppress spinner for year badges
* Refactor sidebar height calculation
* Add recents to sitemap
* 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