- A full name in the Profile section will also be required when the - finder is connected. + An eligible name in the Profile section will also be required when + the finder is connected. It must remain within the 200-character + limit after normalization, produce searchable name text at least two + characters long, and contain no control or format characters.
)}- Add your full name in the Profile section before turning this on. + Your current Profile name is not eligible for officer-finder + search. Before turning this on, save a name that remains within + the 200-character limit after normalization, produces searchable + name text at least two characters long, and contains no control + or format characters.
)} {finderHiddenWithoutName && (- This setting is on, but officers cannot find you until you add a - full name in the Profile section. You can still turn the setting off. + This setting is on, but officers cannot find you while your current + Profile name is ineligible. You can still turn the setting off. + Save an eligible name in the Profile section to become findable again.
)}- {fileError} + {actionError && ( +
+ {actionError.message}
)} {pendingMessage && ( @@ -565,16 +686,19 @@ function MemberDirectoryProfileAttempt({ export default function MemberDirectoryProfile({ app, uid, - hasDisplayName, + displayName, backendAvailable = MEMBER_DIRECTORY_BACKEND_AVAILABLE, }: { app: FirebaseApp; uid: string; - hasDisplayName: boolean; + displayName: string | null; backendAvailable?: boolean; }) { + const displayNameEligible = isMemberDirectoryDisplayNameEligible(displayName); if (!backendAvailable) { - return