fix(DisclosureComponent): remove commented out code and fix missing icon bug
feat(PageComponent): add selection menu component and onClick event handler for debugging purposes
This commit is contained in:
parent
30ac706de1
commit
e22f3acf8c
3 changed files with 433 additions and 414 deletions
844
src/frontend/package-lock.json
generated
844
src/frontend/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -14,6 +14,7 @@ export default function DisclosureComponent({
|
||||||
<div>
|
<div>
|
||||||
<Disclosure.Button className="components-disclosure-arrangement">
|
<Disclosure.Button className="components-disclosure-arrangement">
|
||||||
<div className="flex gap-4">
|
<div className="flex gap-4">
|
||||||
|
{/* BUG ON THIS ICON */}
|
||||||
<Icon strokeWidth={1.5} size={22} className="text-primary" />
|
<Icon strokeWidth={1.5} size={22} className="text-primary" />
|
||||||
<span className="components-disclosure-title">{title}</span>
|
<span className="components-disclosure-title">{title}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -441,6 +441,8 @@ export default function Page({
|
||||||
[&>button]:border-b-border hover:[&>button]:bg-border"
|
[&>button]:border-b-border hover:[&>button]:bg-border"
|
||||||
></Controls>
|
></Controls>
|
||||||
)}
|
)}
|
||||||
|
<SelectionMenu isVisible={selectionMenuVisible} nodes={lastSelection?.nodes}
|
||||||
|
onClick={()=>{console.log('click')}}/>
|
||||||
</ReactFlow>
|
</ReactFlow>
|
||||||
{!view && (
|
{!view && (
|
||||||
<Chat flow={flow} reactFlowInstance={reactFlowInstance!} />
|
<Chat flow={flow} reactFlowInstance={reactFlowInstance!} />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue