@buerokratt-ria/common-gui-components 0.0.49 → 0.0.50

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.50] - 04.05.2026
8
+
9
+ - Added authenticated person column
10
+
7
11
  ## [0.0.49] - 29.04.2026
8
12
 
9
13
  - Fixed chat history XLSX download to use the S3 signed URL returned by the API instead of the previous base64 payload.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buerokratt-ria/common-gui-components",
3
- "version": "0.0.49",
3
+ "version": "0.0.50",
4
4
  "description": "Common GUI components and pre defined templates.",
5
5
  "main": "index.ts",
6
6
  "author": "ExiRai",
@@ -739,21 +739,15 @@ const ChatHistory: FC<PropsWithChildren<HistoryProps>> = ({
739
739
  }
740
740
  ),
741
741
  columnHelper.accessor(
742
- (row) => `${row.endUserFirstName} ${row.endUserLastName}`,
742
+ (row) => {
743
+ const hasData = row.endUserFirstName || row.endUserLastName || row.endUserId || row.contactsMessage;
744
+ return hasData ? t('global.yes') : '';
745
+ },
743
746
  {
744
- id: `endUserName`,
745
- header: t('global.name') ?? '',
747
+ id: 'authenticatedPerson',
748
+ header: t('chat.history.authenticatedPerson') ?? '',
746
749
  }
747
750
  ),
748
- columnHelper.accessor('endUserId', {
749
- id: 'endUserId',
750
- header: t('global.idCode') ?? '',
751
- }),
752
- columnHelper.accessor('contactsMessage', {
753
- id: 'contactsMessage',
754
- header: t('chat.history.contact') ?? '',
755
- cell: (props) => (props.getValue() ? t('global.yes') : t('global.no')),
756
- }),
757
751
  columnHelper.accessor('comment', {
758
752
  id: 'comment',
759
753
  header: t('chat.history.comment') ?? '',
@@ -162,6 +162,7 @@
162
162
  "endTime": "End time",
163
163
  "csaName": "Customer support name",
164
164
  "contact": "Contact",
165
+ "authenticatedPerson": "Authenticated person",
165
166
  "comment": "Comment",
166
167
  "label": "Label",
167
168
  "nps": "NPS",
@@ -162,6 +162,7 @@
162
162
  "endTime": "Lõppaeg",
163
163
  "csaName": "Nõustaja nimi",
164
164
  "contact": "Kontaktandmed",
165
+ "authenticatedPerson": "Autenditud isik",
165
166
  "comment": "Kommentaar",
166
167
  "label": "Märksõna",
167
168
  "nps": "Soovitusindeks",