From fd157ea1ce7d3421f4a6e20a9fedfd624b49b732 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Olch=C3=B3wka?= Date: Sat, 29 Jun 2024 15:02:11 +0200 Subject: [PATCH] changeset --- .changeset/few-fans-cheer.md | 5 +++++ packages/agent-app-sdk/README.md | 8 ++++++++ 2 files changed, 13 insertions(+) create mode 100644 .changeset/few-fans-cheer.md diff --git a/.changeset/few-fans-cheer.md b/.changeset/few-fans-cheer.md new file mode 100644 index 0000000..4276d10 --- /dev/null +++ b/.changeset/few-fans-cheer.md @@ -0,0 +1,5 @@ +--- +"@livechat/agent-app-sdk": minor +--- + +`navigate` and `setReportsFilters` methods in Fullscreen widgets diff --git a/packages/agent-app-sdk/README.md b/packages/agent-app-sdk/README.md index 928ea14..e8a5c4d 100644 --- a/packages/agent-app-sdk/README.md +++ b/packages/agent-app-sdk/README.md @@ -247,6 +247,14 @@ This widget currently does not support any events. Displays a red badge on top of the Fullscreen app icon. Use this to notify Agents there’s something important inside the widget. Make sure Agents can dismiss the notification to avoid cluttered UI. +#### `navigate(pathname: string): Promise` + +Navigates LiveChat Agent App to given pathname. + +#### `setReportsFilters(filters: any): Promise` + +Updates "Reports" section filters to given `filters` object. + ## Settings widget (`ISettingsWidget`) ### Events