Skip to content

Commit 4043918

Browse files
lianyuehhaoruan
andcommitted
[Feat] Add GenAI Studio UI improvement
[+] Add hover animation and arrowmark when create new edges [+] Add different icons for nodes based on category [+] Add minimap to render an overview of flow [+] Add Toast notification to warn user for incorrect node connection [+] Add package.json dependencies Co-authored-by: Hao Ruan <hao.ruan@intel.com> Signed-off-by: lianyueh <yuehan.lian@intel.com>
1 parent 82086b3 commit 4043918

24 files changed

+246
-76
lines changed

studio-frontend/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,5 +106,11 @@
106106
}
107107
]
108108
]
109+
},
110+
"dependencies": {
111+
"@opentelemetry/exporter-trace-otlp-grpc": "^0.57.2",
112+
"@opentelemetry/exporter-trace-otlp-proto": "^0.57.2",
113+
"@opentelemetry/sdk-trace-node": "^1.30.1",
114+
"react-toastify": "^11.0.5"
109115
}
110116
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Attribution
2+
3+
In this folder, we use icons from
4+
<a href="https://www.flaticon.com/free-icons/filter" title="filter icons"> Filter icons created by juicy_fish, Vectorslab, Prosymbols Premium, Freeplk, SmashIcons, orvlpixel, FACH - Flaticon</a> which pictures files with suffix `*.png`

studio-frontend/packages/server/src/nodes/chat_completion.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class OPEAChatCompletion {
66
this.name = 'chat_completion'
77
this.version = 1.0
88
this.type = 'ChatCompletion'
9-
this.icon = 'opea-icon-color.svg'
9+
this.icon = 'controls.png'
1010
this.category = 'Controls'
1111
this.description = 'Send Chat Response to UI'
1212
this.baseClasses = []

studio-frontend/packages/server/src/nodes/chat_input.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class OPEAChatInput {
66
this.name = 'chat_input'
77
this.version = 1.0
88
this.type = 'ChatCompletionRequest'
9-
this.icon = 'opea-icon-color.svg'
9+
this.icon = 'controls.png'
1010
this.category = 'Controls'
1111
this.description = 'User Input from Chat Window'
1212
this.baseClasses = [this.type]
10.5 KB
Loading
23.3 KB
Loading

studio-frontend/packages/server/src/nodes/data_prep_redis.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

studio-frontend/packages/server/src/nodes/doc_input.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class OPEADocInput {
66
this.name = 'doc_input'
77
this.version = 1.0
88
this.type = 'UploadFile'
9-
this.icon = 'opea-icon-color.svg'
9+
this.icon = 'controls.png'
1010
this.category = 'Controls'
1111
this.description = 'User Input from Document Upload'
1212
this.baseClasses = [this.type]
17.3 KB
Loading

studio-frontend/packages/server/src/nodes/llm.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)