mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-02 17:45:31 +00:00
feat(web): AWEL flow 2.0 frontend codes (#1898)
Co-authored-by: Fangyin Cheng <staneyffer@gmail.com> Co-authored-by: 谨欣 <echo.cmy@antgroup.com> Co-authored-by: 严志勇 <yanzhiyong@tiansuixiansheng.com> Co-authored-by: yanzhiyong <932374019@qq.com>
This commit is contained in:
@@ -100,6 +100,7 @@ const AddNodes: React.FC = () => {
|
||||
<div className="w-[320px] overflow-hidden overflow-y-auto scrollbar-default">
|
||||
<p className="my-2 font-bold">{t('add_node')}</p>
|
||||
<Search placeholder="Search node" onSearch={searchNode} />
|
||||
|
||||
<h2 className="my-2 ml-2 font-semibold">{t('operators')}</h2>
|
||||
<Collapse
|
||||
className="max-h-[300px] overflow-hidden overflow-y-auto scrollbar-default"
|
||||
@@ -107,6 +108,7 @@ const AddNodes: React.FC = () => {
|
||||
defaultActiveKey={['']}
|
||||
items={operatorItems}
|
||||
/>
|
||||
|
||||
<h2 className="my-2 ml-2 font-semibold">{t('resource')}</h2>
|
||||
<Collapse
|
||||
className="max-h-[300px] overflow-hidden overflow-y-auto scrollbar-default"
|
||||
@@ -122,7 +124,7 @@ const AddNodes: React.FC = () => {
|
||||
className="flex items-center justify-center rounded-full left-4 top-4"
|
||||
style={{ zIndex: 1050 }}
|
||||
icon={<PlusOutlined />}
|
||||
></Button>
|
||||
/>
|
||||
</Popover>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user