Repository navigation
Description
A maker browsing templates in the app store cannot narrow them by category. The spec for the gallery says the filter exists and is tested, but only the Blocks view has one.
Where, at development b90b8c7:
openspec/specs/template-catalogue-ui/spec.md:24-44requirescategoryOptions,categoryLabelandfilteredTemplates, and a "Filter by category" scenario.src/views/TemplateGallery.vue:45-110the Templates view lists built-in templates with no filter control.src/views/TemplateGallery.vue:126-136the only other control there is the GitHub search field.src/views/TemplateGallery.vue:252-256the Blocks view does have a category filter.
buildiq/openspec/specs/template-catalogue-ui/spec.md
Lines 24 to 44 in b90b8c7
### Requirement: Gallery fetches, filters and resolves template screenshots `TemplateGallery` SHALL fetch the available templates (`fetchTemplates`), expose category filter options and the current filtered set (`categoryOptions`, `categoryLabel`, `filteredTemplates`), resolve each template's screenshot with a fallback (`resolveScreenshot`), open the clone modal (`openClone`), and redirect after a successful clone (`onCloneSubmit`, `redirectAfterClone`). @e2e exclude retrofit component-contract spec — `categoryOptions`, `categoryLabel`, `filteredTemplates`, `resolveScreenshot`, `openClone`, `onCloneSubmit`, `redirectAfterClone` are component-state contracts verified by Vitest unit tests; gallery filter and clone-redirect integration are covered by the buildiq-template-catalogue Playwright tests #### Scenario: Filter by category - **WHEN** the user selects a category - **THEN** the gallery narrows the visible templates to that category #### Scenario: Open clone - **WHEN** the user clicks "Use this template" - **THEN** the gallery opens the clone dialog seeded with that template
buildiq/src/views/TemplateGallery.vue
Lines 45 to 60 in b90b8c7
<template v-if="viewMode === 'templates'"> <!-- Built-in templates: the application-template records of the buildiq register (seeded ones first, then organisation ones). --> <section class="template-gallery__section" data-testid="builtin-templates" aria-labelledby="builtin-templates-heading"> <h2 id="builtin-templates-heading" class="template-gallery__section-title"> {{ t('buildiq', 'Built-in templates') }} </h2> <NcNoteCard v-if="templatesError" type="warning"
The spec's @e2e exclude says Vitest covers these state contracts. TemplateGallery.vue has no categoryOptions or filteredTemplates, and no file under tests/ names them. A second main spec, openspec/specs/openbuild-template-catalogue/spec.md:136-155, still says built-in templates are no longer shown. The gallery shows them again since store-shows-built-in-templates (all tasks ticked, not archived).
Specified fix: openspec/changes/reuse-gallery-categories-and-form-library (REQ-BQGL-001, task T01).
Found by the OpenSpec pass on 27 Sep 2026 and re-read at b90b8c7 on 28 Sep.
Live check: open /apps/buildiq/templates, stay on Templates, and look for a category picker.
Activity
github-actions commentedon Sep 27, 2026
Thank you for opening this issue! It has been assigned to @rubenvdlinde for review.
What happens next:
Triage labels:
triage:accept-feature— accepted as a new featuretriage:accept-bugfix— accepted as a bug fixtriage:needs-info— more information neededtriage:wontfix— will not be addressedtriage:duplicate— duplicate of another issue