Make recents category default

This commit is contained in:
Sam Becker 2025-07-11 20:16:24 -05:00
parent 705b8a99e2
commit d77ad59eb2
2 changed files with 2 additions and 1 deletions

View File

@ -132,7 +132,7 @@ Application behavior can be changed by configuring the following environment var
- `NEXT_PUBLIC_CATEGORY_VISIBILITY` - `NEXT_PUBLIC_CATEGORY_VISIBILITY`
- Comma-separated value controlling which photo sets appear in grid sidebar and CMD-K menu, and in what order. For example, you could move cameras above tags, and hide film simulations, by updating to `cameras,tags,lenses,recipes`. - Comma-separated value controlling which photo sets appear in grid sidebar and CMD-K menu, and in what order. For example, you could move cameras above tags, and hide film simulations, by updating to `cameras,tags,lenses,recipes`.
- Accepted values: - Accepted values:
- `recents` - `recents` (default)
- `years` - `years`
- `tags` (default) - `tags` (default)
- `cameras` (default) - `cameras` (default)

View File

@ -24,6 +24,7 @@ export type CategoryKey = (typeof CATEGORY_KEYS)[number];
export type CategoryKeys = CategoryKey[]; export type CategoryKeys = CategoryKey[];
export const DEFAULT_CATEGORY_KEYS: CategoryKeys = [ export const DEFAULT_CATEGORY_KEYS: CategoryKeys = [
'recents',
'tags', 'tags',
'cameras', 'cameras',
'lenses', 'lenses',