@buerokratt-ria/menu 0.2.13 → 0.2.15
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,14 @@
|
|
|
2
2
|
|
|
3
3
|
All changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.2.15] - 09-06-2026
|
|
6
|
+
|
|
7
|
+
- Fixed typo
|
|
8
|
+
|
|
9
|
+
## [0.2.14] - 08-06-2026
|
|
10
|
+
|
|
11
|
+
- Added knowledge center to menu items
|
|
12
|
+
|
|
5
13
|
## [0.2.13] - 02-06-2026
|
|
6
14
|
|
|
7
15
|
- Removed /advisors from menu items
|
package/package.json
CHANGED
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
MdMiscellaneousServices,
|
|
7
7
|
MdSettings,
|
|
8
8
|
MdOutlineMonitorWeight,
|
|
9
|
+
MdOutlineSchool,
|
|
9
10
|
} from 'react-icons/md';
|
|
10
11
|
|
|
11
12
|
export const menuData = [
|
|
@@ -39,4 +40,9 @@ export const menuData = [
|
|
|
39
40
|
icon: <MdOutlineMonitorWeight className='menu-item-icon' />,
|
|
40
41
|
url: import.meta.env.REACT_APP_MONITORING_BASE_URL,
|
|
41
42
|
},
|
|
43
|
+
{
|
|
44
|
+
id: 'knowledge-center',
|
|
45
|
+
icon: <MdOutlineSchool className='menu-item-icon' />,
|
|
46
|
+
url: import.meta.env.REACT_APP_KNOWLEDGE_CENTER_BASE_URL,
|
|
47
|
+
},
|
|
42
48
|
];
|
|
@@ -275,6 +275,78 @@
|
|
|
275
275
|
}
|
|
276
276
|
]
|
|
277
277
|
},
|
|
278
|
+
{
|
|
279
|
+
"id": "knowledge-center",
|
|
280
|
+
"label": {
|
|
281
|
+
"et": "Teadmuskeskus",
|
|
282
|
+
"en": "Knowledge Center"
|
|
283
|
+
},
|
|
284
|
+
"path": "/knowledge-center",
|
|
285
|
+
"children": [
|
|
286
|
+
{
|
|
287
|
+
"id": "rag-search",
|
|
288
|
+
"label": {
|
|
289
|
+
"et": "Mudelid ja seadistused",
|
|
290
|
+
"en": "Models management"
|
|
291
|
+
},
|
|
292
|
+
"path": "/rag-search",
|
|
293
|
+
"children": [
|
|
294
|
+
{
|
|
295
|
+
"label": {
|
|
296
|
+
"et": "Mudelite ühendused",
|
|
297
|
+
"en": "LLM connections"
|
|
298
|
+
},
|
|
299
|
+
"path": "/rag-search/llm-connections"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"label": {
|
|
303
|
+
"et": "Viiba Seaded",
|
|
304
|
+
"en": "Prompt Configurations"
|
|
305
|
+
},
|
|
306
|
+
"path": "/rag-search/prompt-configurations"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"label": {
|
|
310
|
+
"et": "Testi mudelit",
|
|
311
|
+
"en": "Test LLM"
|
|
312
|
+
},
|
|
313
|
+
"path": "/rag-search/test-llm"
|
|
314
|
+
}
|
|
315
|
+
]
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"id": "ckb",
|
|
319
|
+
"label": {
|
|
320
|
+
"et": "Teadmusbaas",
|
|
321
|
+
"en": "Knowledge Base"
|
|
322
|
+
},
|
|
323
|
+
"path": "/ckb",
|
|
324
|
+
"children": [
|
|
325
|
+
{
|
|
326
|
+
"label": {
|
|
327
|
+
"et": "Agentuur",
|
|
328
|
+
"en": "Agency"
|
|
329
|
+
},
|
|
330
|
+
"path": "/ckb/agency"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"label": {
|
|
334
|
+
"et": "Aruanded",
|
|
335
|
+
"en": "Reports"
|
|
336
|
+
},
|
|
337
|
+
"path": "/ckb/reports"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"label": {
|
|
341
|
+
"et": "API Integratsioonid",
|
|
342
|
+
"en": "API Integrations"
|
|
343
|
+
},
|
|
344
|
+
"path": "/ckb/api"
|
|
345
|
+
}
|
|
346
|
+
]
|
|
347
|
+
}
|
|
348
|
+
]
|
|
349
|
+
},
|
|
278
350
|
{
|
|
279
351
|
"id": "settings",
|
|
280
352
|
"label": {
|
|
@@ -19,11 +19,11 @@ const useFilteredMenuItems = (countConf?: CountConf) => {
|
|
|
19
19
|
|
|
20
20
|
const roles: any[] = data.response;
|
|
21
21
|
const rolePermissions = {
|
|
22
|
-
ROLE_ADMINISTRATOR: ["conversations", "training", "analytics", "services", "
|
|
23
|
-
ROLE_SERVICE_MANAGER: ["training", "services"
|
|
24
|
-
ROLE_CUSTOMER_SUPPORT_AGENT: ["conversations"
|
|
25
|
-
ROLE_CHATBOT_TRAINER: ["training"
|
|
26
|
-
ROLE_ANALYST: ["analytics"
|
|
22
|
+
ROLE_ADMINISTRATOR: ["conversations", "training", "analytics", "services", "knowledge-center", "settings"],
|
|
23
|
+
ROLE_SERVICE_MANAGER: ["training", "services"],
|
|
24
|
+
ROLE_CUSTOMER_SUPPORT_AGENT: ["conversations"],
|
|
25
|
+
ROLE_CHATBOT_TRAINER: ["training"],
|
|
26
|
+
ROLE_ANALYST: ["analytics"],
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
let permissions = new Set();
|