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:
anovazzi1 2023-09-08 17:48:44 -03:00
commit e22f3acf8c
3 changed files with 433 additions and 414 deletions

File diff suppressed because it is too large Load diff

View file

@ -14,6 +14,7 @@ export default function DisclosureComponent({
<div>
<Disclosure.Button className="components-disclosure-arrangement">
<div className="flex gap-4">
{/* BUG ON THIS ICON */}
<Icon strokeWidth={1.5} size={22} className="text-primary" />
<span className="components-disclosure-title">{title}</span>
</div>

View file

@ -441,6 +441,8 @@ export default function Page({
[&>button]:border-b-border hover:[&>button]:bg-border"
></Controls>
)}
<SelectionMenu isVisible={selectionMenuVisible} nodes={lastSelection?.nodes}
onClick={()=>{console.log('click')}}/>
</ReactFlow>
{!view && (
<Chat flow={flow} reactFlowInstance={reactFlowInstance!} />