@anchrd/intel-ui 0.2.1 → 0.4.0
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/components.json +7 -1
- package/package.json +3 -1
- package/src/app/app-sidebar/app-sidebar.tsx +56 -0
- package/src/app/app-tree/app-tree.tsx +427 -0
- package/src/app/app.tsx +84 -54
- package/src/app/header-actions/header-actions.tsx +15 -0
- package/src/app/header-search/header-search.tsx +291 -0
- package/src/app/sidebar-preferences/sidebar-preferences.ts +68 -0
- package/src/app/sidebar-preferences/sidebar-preferences.types.ts +15 -0
- package/src/app/sidebar-resize-handle/sidebar-resize-handle.tsx +85 -0
- package/src/app/user-footer/user-footer.tsx +76 -0
- package/src/components/ui/breadcrumb.tsx +102 -0
- package/src/components/ui/button.tsx +64 -0
- package/src/components/ui/collapsible.tsx +20 -0
- package/src/components/ui/command.tsx +160 -0
- package/src/components/ui/dialog.tsx +143 -0
- package/src/components/ui/dropdown-menu.tsx +84 -0
- package/src/components/ui/input.tsx +21 -0
- package/src/components/ui/separator.tsx +26 -0
- package/src/components/ui/sheet.tsx +136 -0
- package/src/components/ui/sidebar.tsx +693 -0
- package/src/components/ui/skeleton.tsx +13 -0
- package/src/components/ui/tooltip.tsx +51 -0
- package/src/data/intel-data-provider/intel-data-provider.ts +58 -39
- package/src/data/intel-data-provider/intel-data-provider.types.ts +17 -8
- package/src/flows/flows.tsx +59 -142
- package/src/hooks/use-mobile.ts +19 -0
- package/src/i18n/en.json +48 -29
- package/src/knowledge/knowledge.tsx +133 -423
- package/src/router/router.tsx +4 -0
- package/src/router/selection-search.ts +19 -0
- package/src/styles.css +54 -51
- package/src/tools/tools.tsx +175 -158
package/src/i18n/en.json
CHANGED
|
@@ -5,20 +5,45 @@
|
|
|
5
5
|
"nav.knowledge": "Knowledge",
|
|
6
6
|
"nav.flows": "Flows",
|
|
7
7
|
"nav.tools": "Tools",
|
|
8
|
-
"
|
|
9
|
-
"
|
|
8
|
+
"shell.toggleSidebar": "Collapse or expand the sidebar",
|
|
9
|
+
"shell.resizeSidebar": "Sidebar width",
|
|
10
|
+
"shell.signedInUser": "Signed-in user",
|
|
11
|
+
"shell.userUnavailable": "Account unavailable",
|
|
12
|
+
"search.open": "Search",
|
|
13
|
+
"search.title": "Search Intel",
|
|
14
|
+
"search.description": "Find knowledge, flows, and tools you are allowed to see.",
|
|
15
|
+
"search.placeholder": "Search knowledge, flows, and tools",
|
|
16
|
+
"search.filter": "Filter by kind",
|
|
17
|
+
"search.all": "Everything",
|
|
18
|
+
"search.kind.knowledge": "Knowledge",
|
|
19
|
+
"search.kind.flow": "Flows",
|
|
20
|
+
"search.kind.tool": "Tools",
|
|
21
|
+
"search.hint": "Type to search.",
|
|
22
|
+
"search.searching": "Searching…",
|
|
23
|
+
"search.empty": "Nothing found for “{query}”.",
|
|
24
|
+
"search.failed": "The search could not be completed.",
|
|
25
|
+
"tree.label": "Knowledge and flows",
|
|
26
|
+
"tree.empty": "Nothing here yet.",
|
|
27
|
+
"tree.emptyFolder": "This folder is empty.",
|
|
28
|
+
"tree.failed": "This part of the tree could not be loaded.",
|
|
29
|
+
"tree.expand": "Show what is inside {title}",
|
|
30
|
+
"tree.collapse": "Hide what is inside {title}",
|
|
31
|
+
"tree.add": "Add to {title}",
|
|
32
|
+
"tree.addRoot": "Add at the top level",
|
|
33
|
+
"tree.new.folder": "New folder",
|
|
34
|
+
"tree.new.document": "New document",
|
|
35
|
+
"tree.new.upload": "Upload file",
|
|
36
|
+
"tree.new.flow": "New flow",
|
|
37
|
+
"tree.upload": "File to upload",
|
|
38
|
+
"tree.createFailed": "It could not be created. Check your access and try again.",
|
|
39
|
+
"tree.uploadFailed": "The file could not be uploaded. Check the 15 MB limit and try again.",
|
|
40
|
+
"tree.kind.folder": "Folder",
|
|
41
|
+
"tree.kind.document": "Document",
|
|
42
|
+
"tree.kind.attachment": "File",
|
|
43
|
+
"tree.kind.flow": "Flow",
|
|
10
44
|
"knowledge.empty": "No knowledge has been added yet.",
|
|
11
|
-
"knowledge.new": "New document",
|
|
12
|
-
"knowledge.newFolder": "New folder",
|
|
13
|
-
"knowledge.upload": "Upload file",
|
|
14
|
-
"knowledge.uploading": "Uploading…",
|
|
15
|
-
"knowledge.uploadFailed": "The file could not be uploaded. Check the 15 MB limit and try again.",
|
|
16
45
|
"knowledge.download": "Download file",
|
|
17
46
|
"knowledge.attachmentHelp": "The canonical file is stored privately in Intel. Its AI-readable projection is indexed separately.",
|
|
18
|
-
"knowledge.search": "Search knowledge",
|
|
19
|
-
"knowledge.noResults": "No matching knowledge found.",
|
|
20
|
-
"knowledge.clearSearch": "Clear search",
|
|
21
|
-
"knowledge.tree": "Knowledge tree",
|
|
22
47
|
"knowledge.select": "Select a document or folder to work with it.",
|
|
23
48
|
"knowledge.folderHelp": "Select a child document, or create something inside this folder.",
|
|
24
49
|
"knowledge.contextPolicy": "AI context policy",
|
|
@@ -42,6 +67,7 @@
|
|
|
42
67
|
"knowledge.graphReset": "Fit graph",
|
|
43
68
|
"knowledge.graphFailed": "The authorized knowledge graph could not be loaded.",
|
|
44
69
|
"knowledge.operationFailed": "The change was not saved. Reload the latest version and try again.",
|
|
70
|
+
"knowledge.loadFailed": "This item could not be loaded. Check your access and try again.",
|
|
45
71
|
"knowledge.downloadFailed": "The attachment could not be downloaded. Check your access and try again.",
|
|
46
72
|
"knowledge.links": "Links and backlinks",
|
|
47
73
|
"knowledge.noLinks": "No explicit relationships yet.",
|
|
@@ -56,28 +82,23 @@
|
|
|
56
82
|
"knowledge.deleteLink": "Delete relationship",
|
|
57
83
|
"knowledge.saveConflict": "This document changed elsewhere. Reload it before saving again.",
|
|
58
84
|
"knowledge.saveError": "This document could not be saved. Reload and try again.",
|
|
59
|
-
"tools.title": "Company tools",
|
|
60
|
-
"tools.description": "The MCP tools you can reach through the company portal.",
|
|
61
85
|
"tools.connect": "Connect the portal",
|
|
62
|
-
"tools.reconnect": "Reconnect",
|
|
86
|
+
"tools.reconnect": "Reconnect the portal",
|
|
63
87
|
"tools.disconnected": "Portal not connected",
|
|
64
88
|
"tools.disconnectedHelp": "Sign in to the company MCP portal once. The portal decides which servers you may use and holds their credentials; Intel never sees them.",
|
|
65
89
|
"tools.empty": "No tools available to you",
|
|
66
|
-
"tools.emptyHelp": "The portal
|
|
67
|
-
"tools.
|
|
68
|
-
"tools.
|
|
69
|
-
"tools.
|
|
70
|
-
"tools.
|
|
71
|
-
"tools.
|
|
72
|
-
"tools.
|
|
90
|
+
"tools.emptyHelp": "The portal answered, and it offers your account no tools. An administrator decides in the portal which servers exist and who may reach them.",
|
|
91
|
+
"tools.unreachable": "Portal not reachable",
|
|
92
|
+
"tools.unreachableHelp": "The company MCP portal did not answer, so Intel cannot tell which tools you have. Nothing is stored here; try again once the portal responds.",
|
|
93
|
+
"tools.origin": "Origin",
|
|
94
|
+
"tools.originPortal": "Company portal",
|
|
95
|
+
"tools.inputSchema": "Input schema",
|
|
96
|
+
"tools.outputSchema": "Result schema",
|
|
73
97
|
"tools.destructiveShort": "Destructive",
|
|
74
|
-
"tools.
|
|
75
|
-
"tools.operationFailed": "The tool list could not be loaded. Reconnect the portal and try again.",
|
|
98
|
+
"tools.liveNote": "This list is a live query with your own portal access. Intel stores neither the tools nor who may use them; the portal decides both.",
|
|
76
99
|
"tools.connectFailed": "The portal could not be connected with your current access.",
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"flows.new": "New flow",
|
|
80
|
-
"flows.empty": "No flows have been created yet.",
|
|
100
|
+
"tools.arguments": "Arguments",
|
|
101
|
+
"tools.invalidJson": "The arguments must be a JSON object in curly braces; a list or a single value will not work.",
|
|
81
102
|
"flows.select": "Select a flow or create one to open the visual editor.",
|
|
82
103
|
"flows.inspect": "Select a node to edit its configuration.",
|
|
83
104
|
"flows.publish": "Publish",
|
|
@@ -85,8 +106,6 @@
|
|
|
85
106
|
"flows.share": "Share flow",
|
|
86
107
|
"flows.revokeShare": "Revoke flow access",
|
|
87
108
|
"flows.organization": "Everyone in the organization",
|
|
88
|
-
"flows.published": "Published",
|
|
89
|
-
"flows.draft": "Draft",
|
|
90
109
|
"flows.runStarted": "Durable run started",
|
|
91
110
|
"flows.node.trigger": "Trigger",
|
|
92
111
|
"flows.node.instruction": "Instruction",
|