Commit Graph

33 Commits

Author SHA1 Message Date
Sam Becker
5f20bbd0f4 Fix recent upload time calculation 2026-01-30 21:54:44 -06:00
Sam Becker
ab0ddeee94 Create top-level cache module 2025-11-19 09:16:23 -06:00
Sam Becker
c5c78e527e Increase cache coverage 2025-11-15 17:03:32 -06: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
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
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
de0fa04ef8 Restore hovers in recipe overlay 2025-09-07 18:00:52 -05:00
Sam Becker
443aba830f Gracefully fail when there are no recents 2025-07-11 23:12:27 -05:00
Sam Becker
d77ad59eb2 Make recents category default 2025-07-11 20:16:24 -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
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
b3972a6032
Date-based photo sets (#276)
* 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
2025-06-28 11:48:48 -05:00
Sam Becker
311d7a77af
Sitemaps (#260)
* Track last modified date for category queries

* Remove unused hidden tags queries

* Add tags to sitemap

* Calculate sitemap validation

* Add remaining categories to sitemap.xml

* Add photos to sitemap.xml

* Finalize sitemap metadata

* Guard against missing dates in sitemap.xml
2025-05-26 12:41:47 -05:00
Sam Becker
2ce07492ed Cache global category queries 2025-04-06 14:48:30 -05:00
Sam Becker
f9db50e41a Generalize film type and labeling strategy 2025-04-01 21:08:36 -05:00
Sam Becker
0dfc12d06e Standardize film types/arguments 2025-03-30 00:51:14 -05:00
Sam Becker
763cc4de14 Rename core film types 2025-03-29 22:58:04 -05:00
Sam Becker
763428547c Rename core film simulation pages 2025-03-29 22:40:44 -05:00
Sam Becker
6ed94c4857 Cache category counts 2025-03-29 16:19:51 -05:00
Sam Becker
69ec607e37 Show category counts on hover 2025-03-29 15:44:53 -05:00
Sam Becker
35b61a79af Sort focal lengths numerically 2025-03-29 13:48:27 -05:00
Sam Becker
29ec8fb530 Enable lenses by default 2025-03-25 11:43:19 -05:00
Sam Becker
896af10ba9 Base expand/collapse on sidebar header count 2025-03-23 17:53:52 -05:00
Sam Becker
cdc83758b2 Sort sidebar content by count 2025-03-23 16:57:55 -05:00
Sam Becker
7c3db85600 Sort categories by count 2025-03-23 12:02:57 -05:00
Sam Becker
4b9077fa9c Move static generation utility file 2025-03-18 21:14:37 -05:00
Sam Becker
1796e0a24f Refactor/standardize core photo static generation 2025-03-18 21:07:21 -05:00
Sam Becker
9b27a0be08 Consolidate static param functions 2025-03-18 19:28:39 -05:00
Sam Becker
c4b1e349e1 Move all sets to new static generation routine 2025-03-18 19:14:52 -05:00
Sam Becker
f0d9ea28b6 Add new static generation routine to cameras with logging 2025-03-18 18:30:19 -05:00
Sam Becker
c6f28616c9 Refactor category-based config for static params 2025-03-18 09:34:12 -05:00
Sam Becker
72ba24690d Set category index file 2025-03-18 09:27:35 -05:00
Sam Becker
e3a39b1a3f Create top-level category directory 2025-03-18 09:26:56 -05:00