Add recipe configuration/faq

This commit is contained in:
Sam Becker 2025-02-23 23:47:35 -06:00
parent ee6aed896c
commit 062fad73df
3 changed files with 17 additions and 0 deletions

View File

@ -130,6 +130,7 @@ Application behavior can be changed by configuring the following environment var
- `NEXT_PUBLIC_HIDE_TAKEN_AT_TIME = 1` hides taken at time from photo meta
- `NEXT_PUBLIC_HIDE_SOCIAL = 1` removes X (formerly Twitter) button from share modal
- `NEXT_PUBLIC_HIDE_FILM_SIMULATIONS = 1` prevents Fujifilm simulations showing up in `/grid` sidebar and CMD-K search results
- `NEXT_PUBLIC_HIDE_RECIPES = 1` prevents Fujifilm recipe button showing up in photo meta
- `NEXT_PUBLIC_HIDE_REPO_LINK = 1` removes footer link to repo
#### Grid
@ -282,6 +283,9 @@ Vercel Postgres can be switched to another Postgres-compatible, pooling provider
#### Why aren't Fujifilm simulations importing alongside EXIF data?
> Fujifilm simulation data is stored in vendor-specific Makernote binaries embedded in EXIF data. Under certain circumstances an intermediary may strip out this data. For instance, there is a known issue on iOS where editing an image, e.g., cropping it, causes Makernote data loss. If simulation data appears to be missing, try importing the original file as it was stored by the camera. Additionally, if you can confirm the simulation mode, you can edit the photo and manually select it.
#### My Fujifilm recipes are missing/displaying incorrect data. What should I do?
> Fujifilm file specifications have evolved over time. Open an issue with the file in question attached in order for it to be investigated.
#### Why do my images appear flipped/rotated incorrectly?
> For a number of reasons, only EXIF orientations: 1, 3, 6, and 8 are supported. Orientations 2, 4, 5, and 7—which make use of mirroring—are not supported.

View File

@ -73,6 +73,7 @@ export default function AdminAppConfigurationClient({
showTakenAtTimeHidden,
showSocial,
showFilmSimulations,
showRecipes,
showRepoLink,
// Grid
isGridHomepageEnabled,
@ -525,6 +526,15 @@ export default function AdminAppConfigurationClient({
CMD-K results:
{renderEnvVars(['NEXT_PUBLIC_HIDE_FILM_SIMULATIONS'])}
</ChecklistRow>
<ChecklistRow
title="Show Fujifilm recipes"
status={showRecipes}
optional
>
Set environment variable to {'"1"'} to prevent
Fujifilm recipe button showing up in photo meta:
{renderEnvVars(['NEXT_PUBLIC_HIDE_RECIPES'])}
</ChecklistRow>
<ChecklistRow
title="Show repo link"
status={showRepoLink}

View File

@ -217,6 +217,8 @@ export const SHOW_SOCIAL =
process.env.NEXT_PUBLIC_HIDE_SOCIAL !== '1';
export const SHOW_FILM_SIMULATIONS =
process.env.NEXT_PUBLIC_HIDE_FILM_SIMULATIONS !== '1';
export const SHOW_RECIPES =
process.env.NEXT_PUBLIC_HIDE_RECIPES !== '1';
export const SHOW_REPO_LINK =
process.env.NEXT_PUBLIC_HIDE_REPO_LINK !== '1';
@ -313,6 +315,7 @@ export const APP_CONFIGURATION = {
showTakenAtTimeHidden: SHOW_TAKEN_AT_TIME,
showSocial: SHOW_SOCIAL,
showFilmSimulations: SHOW_FILM_SIMULATIONS,
showRecipes: SHOW_RECIPES,
showRepoLink: SHOW_REPO_LINK,
// Grid
isGridHomepageEnabled: GRID_HOMEPAGE_ENABLED,