diff --git a/src/components/Badge.tsx b/src/components/Badge.tsx index e2ce75fb..a1d60b27 100644 --- a/src/components/Badge.tsx +++ b/src/components/Badge.tsx @@ -8,7 +8,6 @@ export default function Badge({ highContrast, uppercase, interactive, - className, }: { children: React.ReactNode className?: string @@ -17,7 +16,6 @@ export default function Badge({ highContrast?: boolean uppercase?: boolean interactive?: boolean - className?: string }) { const stylesForType = () => { switch (type) { diff --git a/src/components/ChecklistRow.tsx b/src/components/ChecklistRow.tsx index abf0790a..efec5c21 100644 --- a/src/components/ChecklistRow.tsx +++ b/src/components/ChecklistRow.tsx @@ -29,12 +29,12 @@ export default function ChecklistRow({ />
{title} {experimental && - } + }
{children} diff --git a/src/photo/actions.tsx b/src/photo/actions.tsx index 18cb6974..23359879 100644 --- a/src/photo/actions.tsx +++ b/src/photo/actions.tsx @@ -37,7 +37,11 @@ import { TAG_FAVS, isTagFavs } from '@/tag'; import { TbPhoto } from 'react-icons/tb'; import PhotoTiny from './PhotoTiny'; import { formatDate } from '@/utility/date'; -import { convertPhotoToPhotoDbInsert, titleForPhoto } from '.'; +import { + convertPhotoToPhotoDbInsert, + getKeywordsForPhoto, + titleForPhoto, +} from '.'; import { safelyRunAdminServerAction } from '@/auth'; import { AI_IMAGE_QUERIES, AiImageQuery } from './ai'; import { streamOpenAiImageQuery } from '@/services/openai'; @@ -205,8 +209,8 @@ export async function getPhotoItemsAction(query: string) { heading: 'Photos', accessory: , items: photos.map(photo => ({ - accessory: , label: titleForPhoto(photo), + keywords: getKeywordsForPhoto(photo), annotation: <> {formatDate(photo.takenAt)} @@ -215,6 +219,7 @@ export async function getPhotoItemsAction(query: string) { {formatDate(photo.takenAt, true)} , + accessory: , path: pathForPhoto(photo), })), }] diff --git a/src/site/SiteChecklistClient.tsx b/src/site/SiteChecklistClient.tsx index e3c3e691..521ea4f1 100644 --- a/src/site/SiteChecklistClient.tsx +++ b/src/site/SiteChecklistClient.tsx @@ -338,8 +338,8 @@ export default function SiteChecklistClient({ optional experimental > - Set environment variable to {'"1"'} to enable - PPR and static optimization, i.e., building pages ahead of time: + Set environment variable to {'"1"'} to enable PPR + and static optimization, i.e., build pages ahead of time: {renderEnvVars(['NEXT_PUBLIC_STATICALLY_OPTIMIZE'])}