Skip to content

Conversation

@CodeWithBehnam
Copy link
Owner

Summary

  • Add "Workflows" button to toolbar for loading predefined workflow templates
  • Wire up the existing TemplateDialog component (previously unused)
  • Rename "Templates" → "Prompts" for clarity

Changes

  • Toolbar.tsx: Add onWorkflowTemplates prop and "Workflows" button
  • App.tsx: Import TemplateDialog, add state and handlers for workflow templates

How to Use

  1. Click the Workflows button in the toolbar
  2. Browse templates by category (Basic, Advanced, Video)
  3. Select a template (e.g., "Contact Sheet Prompting")
  4. Click "Use Template" to load it

Test Plan

  • Verify "Workflows" button appears in toolbar
  • Verify clicking opens the workflow templates dialog
  • Verify "Contact Sheet Prompting" template appears under Advanced
  • Verify selecting and using a template loads the workflow

Behnam Ebrahimi

Add "Workflows" button to toolbar that opens the existing
TemplateDialog component for loading predefined workflow templates.

Changes:
- Add onWorkflowTemplates prop to Toolbar component
- Add "Workflows" button next to "Prompts" in toolbar
- Import and render TemplateDialog in App.tsx
- Add handler to load selected workflow template into graph
- Rename "Templates" button to "Prompts" for clarity

Users can now access workflow templates (like Contact Sheet Prompting)
via the Workflows button in the toolbar.

Co-Authored-By: Behnam & Claude Code
@CodeWithBehnam CodeWithBehnam merged commit d273cbf into main Dec 25, 2025
2 checks passed
@CodeWithBehnam CodeWithBehnam deleted the fix/workflow-template-dialog branch December 25, 2025 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants