@buerokratt-ria/common-gui-components 0.0.2 → 0.0.3

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
@@ -2,6 +2,10 @@
2
2
  All changes to this project will be documented in this file.
3
3
  ## Template [MajorVersion.MediterraneanVersion.MinorVersion] - DD-MM-YYYY
4
4
 
5
+ ## [0.0.3] - 19-02-2025
6
+
7
+ - Changed rating & feedback to feedbackRating and feedbackText
8
+
5
9
  ## [0.0.2] - 18-02-2025
6
10
 
7
11
  - Used customerSupportFullName instead of display name.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buerokratt-ria/common-gui-components",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Common GUI components and pre defined templates.",
5
5
  "main": "index.ts",
6
6
  "author": "ExiRai",
@@ -506,13 +506,13 @@ const ChatHistory: FC<PropsWithChildren<HistoryProps>> = ({user, toastContext, o
506
506
  header: t('chat.history.comment') ?? '',
507
507
  cell: commentView,
508
508
  }),
509
- columnHelper.accessor('rating', {
509
+ columnHelper.accessor('feedbackRating', {
510
510
  id: 'feedbackRating',
511
511
  header: t('chat.history.rating') ?? '',
512
512
  cell: (props) =>
513
513
  props.getValue() && <span>{`${props.getValue()}/10`}</span>,
514
514
  }),
515
- columnHelper.accessor('feedback', {
515
+ columnHelper.accessor('feedbackText', {
516
516
  id: 'feedbackText',
517
517
  header: t('chat.history.feedback') ?? '',
518
518
  cell: feedbackTextView,
package/types/chat.ts CHANGED
@@ -83,8 +83,6 @@ export interface Chat {
83
83
  commentAddedDate?: string;
84
84
  commentAuthor?: string;
85
85
  labels: string;
86
- rating?: string;
87
- feedback?: string;
88
86
  feedbackText?: string;
89
87
  feedbackRating?: number;
90
88
  nps?: number;