Skip to content

refactor: consolidate template UI and enhance template management#86

Merged
linqiquan merged 11 commits intomainfrom
dev
Mar 18, 2026
Merged

refactor: consolidate template UI and enhance template management#86
linqiquan merged 11 commits intomainfrom
dev

Conversation

@linqiquan
Copy link
Copy Markdown
Contributor

No description provided.

Haorui Jiang and others added 4 commits March 15, 2026 23:56
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Remove standalone template components (TemplateBrowser, TemplateCard,
  TemplateDrawer, TemplateFilters, TemplateGallery, TemplateSearch)
- Rebuild TemplatesPage as unified template manager with inline editing,
  multi-select, grouped list view, and collapsible sections
- Add search_text column to templates schema (migration 3) for i18n search
- Expand search to cover playground_data, workflow_data, and search_text
- Add template:queryNames IPC for duplicate name detection
- Improve import with rename mode and per-name conflict resolution
- Update export to support file-based template IDs
- Sort query results: file templates first, then DB public, then custom
- Update TemplatesPanel, TemplatePickerDialog, and workflow TemplatePanel
  to align with new store API
- Remove standalone template components (TemplateBrowser, TemplateCard,
  TemplateDrawer, TemplateFilters, TemplateGallery, TemplateSearch)
- Rebuild TemplatesPage as unified template manager with inline editing,
  multi-select, grouped list view, and collapsible sections
- Add search_text column to templates schema (migration 3) for i18n search
- Expand search to cover playground_data, workflow_data, and search_text
- Add template:queryNames IPC for duplicate name detection
- Improve import with rename mode and per-name conflict resolution
- Update export to support file-based template IDs
- Sort query results: file templates first, then DB public, then custom
- Update TemplatesPanel, TemplatePickerDialog, and workflow TemplatePanel
  to align with new store API
- Bump version to 2.0.23
…avigation

- Export: single template → save dialog; batch → folder picker, one file per template
- Import: Electron native multi-file picker, supports selecting multiple JSONs
- Fix Use button navigating to wrong model by creating new tab with correct model
- Add template:exportSingle, template:exportBatch, template:importPick IPC handlers

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Haorui Jiang and others added 7 commits March 17, 2026 00:05
…nges

- Keep teammate's template UI consolidation and management enhancements
- Keep our: per-file export, multi-file import, exportMerged, Use model fix
- Restore template:export IPC for backward compat with other components

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…mplates

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…Panel isNew type, remove unused imports in TemplatesPage
@linqiquan linqiquan merged commit 1f5bd7c into main Mar 18, 2026
9 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.

2 participants