Add quick links to new chats

This commit is contained in:
Nicolas Mowen 2026-03-31 10:07:41 -06:00
parent 5ac12de5bb
commit f25115da69
2 changed files with 14 additions and 2 deletions

View File

@ -15,10 +15,14 @@
"suggested_requests": "Try asking:", "suggested_requests": "Try asking:",
"starting_requests": { "starting_requests": {
"show_recent_events": "Show recent events", "show_recent_events": "Show recent events",
"show_camera_status": "Show camera status" "show_camera_status": "Show camera status",
"recap": "What happened while I was away?",
"watch_camera": "Watch a camera for activity"
}, },
"starting_requests_prompts": { "starting_requests_prompts": {
"show_recent_events": "Show me the recent events from the last hour", "show_recent_events": "Show me the recent events from the last hour",
"show_camera_status": "What is the current status of my cameras?" "show_camera_status": "What is the current status of my cameras?",
"recap": "What happened while I was away?",
"watch_camera": "Watch the front door and let me know if anyone shows up"
} }
} }

View File

@ -22,6 +22,14 @@ export function ChatStartingState({ onSendMessage }: ChatStartingStateProps) {
label: t("starting_requests.show_camera_status"), label: t("starting_requests.show_camera_status"),
prompt: t("starting_requests_prompts.show_camera_status"), prompt: t("starting_requests_prompts.show_camera_status"),
}, },
{
label: t("starting_requests.recap"),
prompt: t("starting_requests_prompts.recap"),
},
{
label: t("starting_requests.watch_camera"),
prompt: t("starting_requests_prompts.watch_camera"),
},
]; ];
const handleRequestClick = (prompt: string) => { const handleRequestClick = (prompt: string) => {