@buerokratt-ria/common-gui-components 0.0.41 → 0.0.42
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 +4 -0
- package/package.json +1 -1
- package/templates/history-page/src/index.tsx +17 -1
- package/types/chat.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,10 @@ All changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## Template [MajorVersion.MediterraneanVersion.MinorVersion] - DD-MM-YYYY
|
|
6
6
|
|
|
7
|
+
## [0.0.42] - 04.02.2026
|
|
8
|
+
|
|
9
|
+
- Fix comment display in chat content view
|
|
10
|
+
|
|
7
11
|
## [0.0.41] - 04.02.2026
|
|
8
12
|
|
|
9
13
|
- Added leading space and encoded characters handling in markdownify
|
package/package.json
CHANGED
|
@@ -340,7 +340,23 @@ const ChatHistory: FC<PropsWithChildren<HistoryProps>> = ({
|
|
|
340
340
|
chatId: passedChatId,
|
|
341
341
|
}),
|
|
342
342
|
onSuccess: (res: any) => {
|
|
343
|
-
setSelectedChat(
|
|
343
|
+
setSelectedChat({
|
|
344
|
+
...res.data.response,
|
|
345
|
+
comment: selectedChat?.comment,
|
|
346
|
+
commentAddedDate: selectedChat?.commentAddedDate,
|
|
347
|
+
commentAuthor: selectedChat?.commentAuthor,
|
|
348
|
+
labels: selectedChat?.labels,
|
|
349
|
+
lastMessageEvent: selectedChat?.lastMessageEvent,
|
|
350
|
+
contactsMessage: selectedChat?.contactsMessage,
|
|
351
|
+
isFiveRatingScale: selectedChat?.isFiveRatingScale,
|
|
352
|
+
istest: selectedChat?.istest,
|
|
353
|
+
nps: selectedChat?.nps,
|
|
354
|
+
userDisplayName: selectedChat?.userDisplayName,
|
|
355
|
+
customerSupportFirstName: selectedChat?.customerSupportFirstName,
|
|
356
|
+
customerSupportLastName: selectedChat?.customerSupportLastName,
|
|
357
|
+
allCsa: selectedChat?.allCsa,
|
|
358
|
+
totalPages: selectedChat?.totalPages,
|
|
359
|
+
});
|
|
344
360
|
setChatState(res.data.response);
|
|
345
361
|
},
|
|
346
362
|
});
|