fix: desktop nav ignored feature toggles; add chatbots toggle (v0.62.0)

Feature toggles (Settings -> Features) were filtered into
visibleNavItems but the desktop horizontal nav still mapped over the
raw NAV_ITEMS list, so hiding a feature only worked on mobile. Both
nav renders now read the same filtered list.

Also adds a Chatbots toggle covering the recipe cooking-chat panel
and the recipe-list cooking assistant, wired end-to-end (schema,
migration, feature-prefs lib, API route, settings form, i18n,
openapi).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Arnaud
2026-07-20 23:23:01 +02:00
parent c5e1643d39
commit 274c50c2f6
17 changed files with 5906 additions and 14 deletions
+3 -1
View File
@@ -1428,7 +1428,9 @@
"collections": "Collections",
"collectionsDescription": "Organize recipes into collections.",
"messages": "Messages",
"messagesDescription": "Direct messages with other cooks."
"messagesDescription": "Direct messages with other cooks.",
"chatbots": "Chatbots",
"chatbotsDescription": "AI cooking assistant and recipe chat."
},
"profile": "Profile",
"changePhoto": "Change photo",