From 1a76c8d510b671d8b4ed9b255ab6e11b95d3c370 Mon Sep 17 00:00:00 2001 From: Mariana Martinho Date: Fri, 25 Sep 2026 22:21:27 +0000 Subject: [PATCH 01/89] feat(website): shorten the featured banner on the workflows catalogue The workflows half opens on outcome rows, and at a laptop height the banner pushed the first of them below the fold. Give the banner a compact height there so a row of workflows is on screen with it; the models half keeps the taller banner. --- .../src/components/workshop/FeaturedBanner.vue | 17 +++++++++++++++-- .../components/workshop/WorkflowCatalogue.vue | 1 + 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/apps/website/src/components/workshop/FeaturedBanner.vue b/apps/website/src/components/workshop/FeaturedBanner.vue index 2ab197070ac..c79a94e85a7 100644 --- a/apps/website/src/components/workshop/FeaturedBanner.vue +++ b/apps/website/src/components/workshop/FeaturedBanner.vue @@ -12,6 +12,8 @@ import { prefersReducedMotion } from '../../composables/useReducedMotion' import { usePreviewVideo } from '../../composables/usePreviewVideo' import type { Locale } from '../../i18n/translations' import { t } from '../../i18n/translations' +import { cn } from '@comfyorg/tailwind-utils' + import Badge from '../ui/badge/Badge.vue' import Button from '@/components/ui/button/Button.vue' @@ -39,11 +41,15 @@ const AUTOPLAY_MS = 7000 const { slides, locale = 'en', - autoplay = true + autoplay = true, + compact = false } = defineProps<{ slides: readonly FeaturedSlide[] locale?: Locale autoplay?: boolean + /** Where outcome rows follow immediately, the banner gives up height so the + * first of them is on screen with it. */ + compact?: boolean }>() const activeIndex = ref(0) @@ -120,7 +126,14 @@ const fill = computed(() => data-testid="section-featured" >
From b66bab99fb4691b67a96c3790d59a9000e742357 Mon Sep 17 00:00:00 2001 From: Mariana Martinho Date: Fri, 25 Sep 2026 22:39:51 +0000 Subject: [PATCH 02/89] feat(website): the catalogue search sits with the filter and the sort The field stretched across the middle of the toolbar and left a gap before the two menus it belongs with, so the row read as three separate things. Cap it at the design's width and let the group fall to the right edge, so the tabs say where you are on the left and everything that narrows the list sits together on the right. Below the small breakpoint the group still takes a row of its own and the field still fills it. --- apps/website/src/components/workshop/WorkflowCatalogue.vue | 4 ++-- apps/website/src/components/workshop/WorkshopModelsGrid.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/website/src/components/workshop/WorkflowCatalogue.vue b/apps/website/src/components/workshop/WorkflowCatalogue.vue index 5fb47fc2cab..235b970ad24 100644 --- a/apps/website/src/components/workshop/WorkflowCatalogue.vue +++ b/apps/website/src/components/workshop/WorkflowCatalogue.vue @@ -161,7 +161,7 @@ function leaveSection() { >
on && resetFilters()) >
From 05caba0d3ea63134d868e3113a1b7868e5783c1d Mon Sep 17 00:00:00 2001 From: Mariana Martinho Date: Fri, 25 Sep 2026 22:53:20 +0000 Subject: [PATCH 03/89] feat(website): one name and one mark on a catalogue card A workflow card carried its name twice: once over the artwork under a gradient, once again below it beside the model it runs on. A model card carried its name below beside a bare provider logo, so the two kinds of card in the same grid were built differently. Both now read the same way. Who answers for the card - the provider of a model, the model a workflow runs on - rides over the artwork as a mark that opens to its name on hover, the way the type badge already does. The line under the artwork is the card's own name and nothing else, and the chips under it are unchanged. --- .../components/workshop/WorkshopCardMark.vue | 36 ++++++ .../workshop/WorkshopModelCard.test.ts | 5 +- .../components/workshop/WorkshopModelCard.vue | 108 +++--------------- .../workshop/WorkshopSections.test.ts | 4 +- 4 files changed, 56 insertions(+), 97 deletions(-) create mode 100644 apps/website/src/components/workshop/WorkshopCardMark.vue diff --git a/apps/website/src/components/workshop/WorkshopCardMark.vue b/apps/website/src/components/workshop/WorkshopCardMark.vue new file mode 100644 index 00000000000..648bf336fa2 --- /dev/null +++ b/apps/website/src/components/workshop/WorkshopCardMark.vue @@ -0,0 +1,36 @@ + + + diff --git a/apps/website/src/components/workshop/WorkshopModelCard.test.ts b/apps/website/src/components/workshop/WorkshopModelCard.test.ts index 2c371f5a44d..ecfb753aebc 100644 --- a/apps/website/src/components/workshop/WorkshopModelCard.test.ts +++ b/apps/website/src/components/workshop/WorkshopModelCard.test.ts @@ -26,9 +26,10 @@ describe('WorkshopModelCard', () => { render(WorkshopModelCard, { props: { model: base } }) const link = screen.getByTestId('workshop-model-card') expect(link.getAttribute('href')).toBe('/models/flux/') - expect(screen.getByText('Flux')).toBeTruthy() - expect(screen.getByRole('img', { name: 'Black Forest Labs' })).toBeTruthy() expect(screen.getByTestId('model-card-name').textContent).toBe('Flux') + expect(screen.getByTestId('model-card-provider')).toHaveTextContent( + 'Black Forest Labs' + ) expect(screen.getByTestId('model-card-task').textContent).toBe( 'Image to Image' ) diff --git a/apps/website/src/components/workshop/WorkshopModelCard.vue b/apps/website/src/components/workshop/WorkshopModelCard.vue index 96610ff8795..63e42c20644 100644 --- a/apps/website/src/components/workshop/WorkshopModelCard.vue +++ b/apps/website/src/components/workshop/WorkshopModelCard.vue @@ -1,8 +1,6 @@ -
- -
- -
-
-

- {{ t('workshop.catalogue.appsSoon', locale) }} -

-

- {{ t('workshop.catalogue.appsHint', locale) }} -

-
-
diff --git a/apps/website/src/components/workshop/WorkshopAppCard.test.ts b/apps/website/src/components/workshop/WorkshopAppCard.test.ts index 8143c9eb2db..4289a0ade4e 100644 --- a/apps/website/src/components/workshop/WorkshopAppCard.test.ts +++ b/apps/website/src/components/workshop/WorkshopAppCard.test.ts @@ -8,12 +8,11 @@ const app: CatalogueApp = { key: 'reshoot', name: 'Re-shoot a video', summary: 'Aim a new camera at your clip.', - badge: 'Prototype', href: '/cinematic-studio?app=reshoot' } describe('WorkshopAppCard', () => { - it('links to the app and shows its name, summary and badge', () => { + it('links to the app and shows its name and summary', () => { render(WorkshopAppCard, { props: { app } }) const link = screen.getByRole('link') expect(link).toHaveAttribute('href', '/cinematic-studio?app=reshoot') @@ -21,7 +20,6 @@ describe('WorkshopAppCard', () => { screen.getByRole('heading', { name: 'Re-shoot a video' }) ).toBeVisible() expect(screen.getByText('Aim a new camera at your clip.')).toBeVisible() - expect(screen.getByText('Prototype')).toBeVisible() }) it.for([ diff --git a/apps/website/src/components/workshop/WorkshopAppCard.vue b/apps/website/src/components/workshop/WorkshopAppCard.vue index 4505253e00e..965b275885b 100644 --- a/apps/website/src/components/workshop/WorkshopAppCard.vue +++ b/apps/website/src/components/workshop/WorkshopAppCard.vue @@ -34,12 +34,6 @@ const { app } = defineProps<{ app: CatalogueApp }>() {{ app.name[0] }}
- - {{ app.badge }} -