Skip to content

Hide templates feature from UI#61

Merged
GeneralJerel merged 2 commits intostagingfrom
hide-templates-feature
Mar 26, 2026
Merged

Hide templates feature from UI#61
GeneralJerel merged 2 commits intostagingfrom
hide-templates-feature

Conversation

@GeneralJerel
Copy link
Copy Markdown
Collaborator

Summary

  • Remove template library drawer, button, and chip from the main page
  • Remove template tools registration and system prompt section from the agent
  • Remove template-related fields (templates, pending_template) from AgentState
  • Remove seed-template HTML imports from demo gallery (demos still work — agent generates fresh HTML from prompts)

Component files are kept in the codebase for future re-enablement.

Closes #59

Test plan

  • pnpm build succeeds
  • App renders without Templates button, chip, or drawer
  • Demo gallery still shows all curated demos and works when clicked

🤖 Generated with Claude Code

Remove template library drawer, template chips, template tools registration,
and template-related agent state fields. Component files are kept in the
codebase for future re-enablement.

Closes #59
- Add Demos button to header and DemoGallery drawer with category filter
- Send demo prompt to CopilotChat via appendMessage on "Try it" click
- Rename SaveTemplateOverlay → ExportOverlay, drop unused description prop
- Remove dead iframe preview code from DemoCard, remove unused html field
- Fix trailing blank line in agent system prompt
- Update chat suggestion from BFS/DFS to 3D Plane Controls
- Add clipboard write error handling in ExportOverlay
@GeneralJerel GeneralJerel changed the base branch from main to staging March 26, 2026 15:30
@GeneralJerel GeneralJerel merged commit 3060930 into staging Mar 26, 2026
6 checks passed
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.

Hide templates feature from UI

1 participant