mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-19 23:08:08 +02:00
Improve profile state management and add recap tool (#22715)
* Improve profile information * Add chat tools * Add quick links to new chats * Improve usefulness * Cleanup * fix
This commit is contained in:
@@ -22,6 +22,14 @@ export function ChatStartingState({ onSendMessage }: ChatStartingStateProps) {
|
||||
label: t("starting_requests.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) => {
|
||||
|
||||
@@ -14,6 +14,7 @@ export type ProfileInfo = {
|
||||
export type ProfilesApiResponse = {
|
||||
profiles: ProfileInfo[];
|
||||
active_profile: string | null;
|
||||
last_activated: Record<string, number>;
|
||||
};
|
||||
|
||||
export type ProfileState = {
|
||||
|
||||
Reference in New Issue
Block a user