fix(badges): improve empty-state search hint to reflect actual search fields
Was: "Enter your name above to find your badge." Now: "Search by name, email, or organization above to find your badge." Mirrors the actual fast-path fields (given/family name, email, default_qry_str) and the search input placeholder text. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -416,7 +416,7 @@ let visible_badge_obj_li = $derived(
|
||||
<p class="text-xl">Searching...</p>
|
||||
{:else if !is_trusted && !(badges_loc.current.fulltext_search_qry_str ?? '').trim()}
|
||||
<UserSearch size="3em" class="mx-auto mb-2 opacity-20" />
|
||||
<p class="text-xl">Enter your name above to find your badge.</p>
|
||||
<p class="text-xl">Search by name, email, or organization above to find your badge.</p>
|
||||
{:else}
|
||||
<UserSearch size="3em" class="mx-auto mb-2 opacity-20" />
|
||||
<p class="text-xl">No badges found matching your criteria.</p>
|
||||
|
||||
Reference in New Issue
Block a user