@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 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buerokratt-ria/common-gui-components",
3
- "version": "0.0.41",
3
+ "version": "0.0.42",
4
4
  "description": "Common GUI components and pre defined templates.",
5
5
  "main": "index.ts",
6
6
  "author": "ExiRai",
@@ -340,7 +340,23 @@ const ChatHistory: FC<PropsWithChildren<HistoryProps>> = ({
340
340
  chatId: passedChatId,
341
341
  }),
342
342
  onSuccess: (res: any) => {
343
- setSelectedChat(res.data.response);
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
  });
package/types/chat.ts CHANGED
@@ -89,6 +89,8 @@ export interface Chat {
89
89
  userDisplayName?: string;
90
90
  istest?: boolean;
91
91
  isFiveRatingScale?: string;
92
+ allCsa?: string[];
93
+ totalPages?: number;
92
94
  }
93
95
  export interface GroupedChat {
94
96
  myChats: Chat[];