diff --git a/web/components/bio/profile-bio.tsx b/web/components/bio/profile-bio.tsx index 23ccd8c..11c3c07 100644 --- a/web/components/bio/profile-bio.tsx +++ b/web/components/bio/profile-bio.tsx @@ -48,7 +48,7 @@ export default function TooShortBio() { className="p-3 bg-canvas-50 rounded-lg shadow-lg border border-gray-200 dark:border-gray-700 z-50 transition-opacity w-72 max-w-[calc(100vw-1rem)] whitespace-normal break-words" >
- {t('profile.bio.too_short_tooltip', "Since your bio is too short, Compass' algorithm filters out your profile from search results (unless \"Include short bios\" is selected). This ensures searches show meaningful profiles.")} + {t('profile.bio.too_short_tooltip', "Since your bio is too short, Compass' algorithm filters out your profile from search results (unless \"Include Short Bios\" is selected). This ensures searches show meaningful profiles.")}
)} diff --git a/web/components/filters/search.tsx b/web/components/filters/search.tsx index 6b986c4..df94e1a 100644 --- a/web/components/filters/search.tsx +++ b/web/components/filters/search.tsx @@ -20,6 +20,7 @@ import {DisplayUser} from "common/api/user-types"; import {useChoices} from "web/hooks/use-choices"; import {useT} from "web/lib/locale"; import {isEqual} from "lodash"; +import {Tooltip} from "web/components/widgets/tooltip"; function isOrderBy(input: string): input is FilterFields['orderBy'] { return ['last_online_time', 'created_time', 'compatibility_score'].includes( @@ -309,9 +310,16 @@ export const Search = (props: { /> {(profileCount ?? 0) > 0 && ( -{profileCount} {(profileCount ?? 0) > 1 ? t('common.people', 'people') : t('common.person', 'person')}
- +{profileCount} {(profileCount ?? 0) > 1 ? t('common.people', 'people') : t('common.person', 'person')}
+ {!filters.shortBio && + ? + } +