From e58fab92d118324855a8747ce4f9c3ee2042627f Mon Sep 17 00:00:00 2001 From: bymyself Date: Sat, 1 Mar 2025 15:08:41 -0700 Subject: [PATCH] Use responsive grid for templates dialog (#2791) --- .../templates/TemplateWorkflowCard.vue | 70 ++++---- .../templates/TemplateWorkflowsContent.vue | 154 ++++++++++-------- .../TemplateWorkflowsDialogHeader.vue | 7 + .../templates/TemplateWorkflowsSideNav.vue | 48 ++++++ .../templates/thumbnails/BaseThumbnail.vue | 19 ++- .../thumbnails/CompareSliderThumbnail.vue | 6 +- .../templates/thumbnails/DefaultThumbnail.vue | 19 +-- .../thumbnails/HoverDissolveThumbnail.vue | 2 +- src/constants/coreTemplates.ts | 68 +++++++- src/services/dialogService.ts | 7 + src/stores/workflowTemplatesStore.ts | 3 +- src/types/workflowTemplateTypes.ts | 3 + 12 files changed, 280 insertions(+), 126 deletions(-) create mode 100644 src/components/templates/TemplateWorkflowsDialogHeader.vue create mode 100644 src/components/templates/TemplateWorkflowsSideNav.vue diff --git a/src/components/templates/TemplateWorkflowCard.vue b/src/components/templates/TemplateWorkflowCard.vue index ea1fd0df23..7aa229a48b 100644 --- a/src/components/templates/TemplateWorkflowCard.vue +++ b/src/components/templates/TemplateWorkflowCard.vue @@ -2,13 +2,14 @@