Skip to content

Commit 0474da3

Browse files
authored
Update Inkeep quick questions and search tabs (#2280)
* Update Inkeep quick questions and search tabs * Update inkeep.ts * Add Copy button and update inkeep version * Remove linting error
1 parent 0926fbf commit 0474da3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/external-scripts/inkeep.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const inkeepChat = (apiKey, integrationId, organizationId) => {
55
return;
66
}
77

8-
scriptLoader(document, 'https://unpkg.com/@inkeep/[email protected].8/dist/embed.js', {
8+
scriptLoader(document, 'https://unpkg.com/@inkeep/[email protected].9/dist/embed.js', {
99
defer: true,
1010
async: false,
1111
type: 'module',
@@ -30,6 +30,7 @@ const aiChatSettings = {
3030
actionButtonLabels: {
3131
getHelpButtonLabel: 'More Help',
3232
},
33+
shouldShowCopyChatButton: true,
3334
chatSubjectName: 'Ably',
3435
botAvatarSrcUrl: 'https://storage.googleapis.com/organization-image-assets/ably-botAvatarSrcUrl-1721406747144.png',
3536
getHelpCallToActions: [
@@ -46,11 +47,7 @@ const aiChatSettings = {
4647
shouldCloseModal: true,
4748
},
4849
],
49-
quickQuestions: [
50-
'How do I get presence data for a specific member?',
51-
"What's the difference between detach and unsubscribe?",
52-
"Can I limit users' access to message interactions?",
53-
],
50+
quickQuestions: ['What is a channel?', 'How do I authenticate with Ably?', 'How do I manage user status?'],
5451
},
5552
};
5653

@@ -94,6 +91,9 @@ const loadInkeepSearch = () => {
9491
properties: {
9592
searchSettings: {
9693
placeholder: 'Search',
94+
tabSettings: {
95+
rootBreadcrumbsToUseAsTabs: ['Docs', 'Blog'],
96+
},
9797
},
9898
...aiChatSettings,
9999
},

0 commit comments

Comments
 (0)