From dea99a7c13bbb4a3971a3603ed03186ff199b9e1 Mon Sep 17 00:00:00 2001 From: YurenHao0426 Date: Sat, 14 Feb 2026 05:18:03 +0000 Subject: Rewrite Quick Guide as compact accordion with updated feature coverage Co-Authored-By: Claude Opus 4.6 --- frontend/src/components/LeftSidebar.tsx | 106 +++++++++++++++++++------------- 1 file changed, 64 insertions(+), 42 deletions(-) (limited to 'frontend/src') diff --git a/frontend/src/components/LeftSidebar.tsx b/frontend/src/components/LeftSidebar.tsx index d802fde..dc2e7b3 100644 --- a/frontend/src/components/LeftSidebar.tsx +++ b/frontend/src/components/LeftSidebar.tsx @@ -63,6 +63,7 @@ const LeftSidebar: React.FC = ({ isOpen, onToggle }) => { const [openaiApiKey, setOpenaiApiKey] = useState(''); const [geminiApiKey, setGeminiApiKey] = useState(''); const [showGuide, setShowGuide] = useState(false); + const [guideSection, setGuideSection] = useState(null); const [claudeApiKey, setClaudeApiKey] = useState(''); const [openrouterApiKey, setOpenrouterApiKey] = useState(''); const [showOpenaiKey, setShowOpenaiKey] = useState(false); @@ -748,48 +749,69 @@ const LeftSidebar: React.FC = ({ isOpen, onToggle }) => { {showGuide && ( -
-
-

🎯 Basic Operations

-
    -
  • Right-click canvas to create a node
  • -
  • Drag from handle to connect nodes
  • -
  • Click node to edit in right sidebar
  • -
  • Delete key to remove selected node
  • -
-
- -
-

🔀 Traces & Branching

-
    -
  • Traces = conversation paths through nodes
  • -
  • Fork a trace by connecting to new node
  • -
  • Merge traces by connecting multiple inputs
  • -
  • Select active traces in the right sidebar
  • -
-
- -
-

💬 Quick Chat

-
    -
  • Right-click node → Quick Chat
  • -
  • Continue conversation from any trace
  • -
  • Auto-creates connected nodes as you chat
  • -
-
- -
-

📎 File Attachments (OpenAI only)

-
    -
  • Upload files in Files tab (left sidebar)
  • -
  • Attach to nodes in Settings tab (right)
  • -
  • LLM can search attached files via file_search
  • -
-
- -
-

💡 Tip

-

Use Ctrl+S to save, or enable auto-save below.

+
+ {[ + { key: 'canvas', icon: '🎯', title: 'Canvas & Nodes', items: [ + <>Right-click canvas to create a node, + <>Drag from handle to connect nodes, + <>Click node to edit in right sidebar, + <>Shift-drag to select multiple nodes, + <>Delete key to remove selected, + <>Auto Layout arranges nodes hierarchically, + ]}, + { key: 'traces', icon: '🔀', title: 'Traces & Branching', items: [ + <>Traces = conversation paths through nodes, + <>Fork by connecting to a new node, + <>Merge 2+ traces with summarization & strategy, + <>Unfold a merged trace back to components, + <>Select active traces in right sidebar to control context, + ]}, + { key: 'chat', icon: '💬', title: 'Quick Chat', items: [ + <>Open from right sidebar on any node/trace, + <>Auto-creates connected nodes as you chat, + <>Supports Council mode toggle, + <>Supports file attachments & image paste, + ]}, + { key: 'council', icon: '👥', title: 'Council Mode', items: [ + <>Select 2+ models in right sidebar, + <>Stage 1: models answer independently, + <>Stage 2: models rank each other, + <>Stage 3: chairman synthesizes final answer, + <>View in Final / Responses / Rankings tabs, + ]}, + { key: 'debate', icon: '⚔️', title: 'Debate Mode', items: [ + <>Select 2+ models + judge in right sidebar, + <>Multi-round turn-based structured debate, + <>Judges: External, Self-Convergence, Display Only, + <>View in Timeline / Per-Model / Final tabs, + ]}, + { key: 'files', icon: '📎', title: 'Files & Attachments', items: [ + <>Upload in Files tab (PDF, TXT, images, etc.), + <>Attach to nodes in Settings tab, + <>Paste images with Ctrl+V, + <>Works with OpenAI, Claude & Gemini (48h expiry), + ]}, + { key: 'keys', icon: '⌨️', title: 'Shortcuts', items: [ + <>Ctrl+S save   Enter send   Shift+Enter newline   Del remove, + ]}, + ].map(section => ( +
+ + {guideSection === section.key && ( +
    + {section.items.map((item, i) =>
  • {item}
  • )} +
+ )} +
+ ))} +
+ 💡 Enable web search for live answers · Turn on auto-save below
)} -- cgit v1.2.3