feat: merge people search into the recipe search bar on Explore

People search existed but was buried in its own tab with no entry
point from anywhere else — easy to conclude it "doesn't work" since
nobody would find it. Now one query on Explore hits both
/api/v1/search and /api/v1/users/search and renders People/Recipes
sections together; the standalone people tab and its now-dead
PeopleSearch component are gone.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Arnaud
2026-07-13 15:38:29 +02:00
parent 6dd48b5c25
commit 79cdb8cd04
9 changed files with 109 additions and 146 deletions
+5 -9
View File
@@ -438,11 +438,7 @@
"dismissAiScaling": "Dismiss AI scaling"
},
"people": {
"title": "Find People",
"subtitle": "Search for cooks to follow by name or username.",
"searchPlaceholder": "Search people by name or username…",
"searching": "Searching…",
"noneFound": "No one found."
"searching": "Searching…"
},
"messages": {
"loading": "Loading…",
@@ -497,15 +493,15 @@
},
"explore": {
"title": "Explore",
"tabRecipes": "Recipes",
"tabPeople": "People",
"searchPlaceholder": "Search public recipes",
"searchPlaceholder": "Search recipes and people…",
"peopleHeading": "People",
"recipesHeading": "Recipes",
"maxMinutes": "Max minutes",
"aiSearchPlaceholder": "e.g. quick weeknight dinners, Italian comfort food…",
"anyDifficulty": "Any difficulty",
"resultsFoundSingular": "{count} recipe found",
"resultsFoundPlural": "{count} recipes found",
"noResultsTitle": "No recipes found for “{query}”",
"noResultsTitle": "No results for “{query}”",
"noResultsHint": "Try different keywords or remove filters",
"loadMore": "Load more",
"recipeIdeas": "Recipe ideas",