@searchstax-inc/searchstudio-ux-angular 4.2.50 → 4.2.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
3
|
All notable changes to the "searchstudio-ux-angular" project will be documented in this file.
|
|
4
|
+
## [4.2.57]
|
|
5
|
+
### Features
|
|
6
|
+
- Added conversation functionality for Angular
|
|
7
|
+
- Added integration tracking functionality
|
|
8
|
+
- Added minimal support for grouping results when making queries
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
- Security fixes
|
|
4
11
|
|
|
5
12
|
## [4.2.50]
|
|
6
13
|
### Features
|
package/README.md
CHANGED
|
@@ -233,6 +233,55 @@ It receives the following props:
|
|
|
233
233
|
</div>
|
|
234
234
|
}
|
|
235
235
|
</div>
|
|
236
|
+
@if (!answerData.answerLoading && !answerData.showMoreButtonVisible && answerData.isConversation) {
|
|
237
|
+
<div
|
|
238
|
+
[class]="{
|
|
239
|
+
'searchstax-conversation-container': true,
|
|
240
|
+
'searchstax-conversation-container-full-screen': answerData.isFullScreenConversation
|
|
241
|
+
}"
|
|
242
|
+
>
|
|
243
|
+
@if (answerData.showConversationHeader) {
|
|
244
|
+
<div class="searchstax-conversation-full-screen-header">
|
|
245
|
+
<button
|
|
246
|
+
type="button"
|
|
247
|
+
class="searchstax-conversation-back-to-results"
|
|
248
|
+
(click)="context.exitConversation(context)"
|
|
249
|
+
>
|
|
250
|
+
Back to results
|
|
251
|
+
</button>
|
|
252
|
+
<div class="searchstax-conversation-full-screen-title">Ask SearchStax</div>
|
|
253
|
+
</div>
|
|
254
|
+
}
|
|
255
|
+
@if (answerData.showConversationMessages && answerData.conversationMessages?.length) {
|
|
256
|
+
<div class="searchstax-conversation-messages-container">
|
|
257
|
+
@for (message of answerData.conversationMessages; track message.conversationMessageId ?? $index) {
|
|
258
|
+
<div
|
|
259
|
+
[class]="'searchstax-conversation-messages-container-message' + (message.messageClass ? ' ' + message.messageClass : '')"
|
|
260
|
+
[innerHTML]="message.formattedMessage"
|
|
261
|
+
></div>
|
|
262
|
+
}
|
|
263
|
+
</div>
|
|
264
|
+
}
|
|
265
|
+
@if (answerData.showConversationInput) {
|
|
266
|
+
<div class="searchstax-conversation-input-container">
|
|
267
|
+
<input
|
|
268
|
+
type="text"
|
|
269
|
+
id="searchstax-conversation-input"
|
|
270
|
+
class="searchstax-conversation-input"
|
|
271
|
+
placeholder="Ask a follow-up question"
|
|
272
|
+
#conversationInput
|
|
273
|
+
(keydown.enter)="$event.preventDefault(); context.submitConversationQuestion(conversationInput.value, context, conversationInput)"
|
|
274
|
+
/>
|
|
275
|
+
<button
|
|
276
|
+
type="button"
|
|
277
|
+
class="searchstax-conversation-search-icon searchstax-search-icon"
|
|
278
|
+
aria-label="Submit follow-up question"
|
|
279
|
+
(click)="context.submitConversationQuestion(conversationInput.value, context, conversationInput)"
|
|
280
|
+
></button>
|
|
281
|
+
</div>
|
|
282
|
+
}
|
|
283
|
+
</div>
|
|
284
|
+
}
|
|
236
285
|
<div class="searchstax-answer-footer">
|
|
237
286
|
<div id="feedbackWidgetContainer"></div>
|
|
238
287
|
<div class="searchstax-lightweight-widget-separator-inline"></div>
|