From 29ec8fb53065c6224b63e1e16df5bc2ed1f1b171 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Tue, 25 Mar 2025 11:43:19 -0500 Subject: [PATCH] Enable lenses by default --- README.md | 4 ++-- src/category/index.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f331feff..f2e24ce8 100644 --- a/README.md +++ b/README.md @@ -127,11 +127,11 @@ Application behavior can be changed by configuring the following environment var #### Display - `NEXT_PUBLIC_CATEGORY_VISIBILITY` - - Comma-separated value controlling which photos 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,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: - `tags` (default) - `cameras` (default) - - `lenses` + - `lenses` (default) - `recipes` (default) - `films` (default) - `focal-lengths` diff --git a/src/category/index.ts b/src/category/index.ts index be9f044a..acd4f40a 100644 --- a/src/category/index.ts +++ b/src/category/index.ts @@ -23,6 +23,7 @@ export type CategoryKeys = CategoryKey[]; export const DEFAULT_CATEGORY_KEYS: CategoryKeys = [ 'tags', 'cameras', + 'lenses', 'recipes', 'films', ];