Title: feat: add filter form element for CMS collection lists · Issue #2 · ycode/ycode · GitHub
Open Graph Title: feat: add filter form element for CMS collection lists · Issue #2 · ycode/ycode
X Title: feat: add filter form element for CMS collection lists · Issue #2 · ycode/ycode
Description: Problem or motivation When displaying a list of CMS items on a page (e.g. blog posts, products, team members), there is currently no way for site visitors to narrow down the results. If a collection has dozens or hundreds of entries, use...
Open Graph Description: Problem or motivation When displaying a list of CMS items on a page (e.g. blog posts, products, team members), there is currently no way for site visitors to narrow down the results. If a collectio...
X Description: Problem or motivation When displaying a list of CMS items on a page (e.g. blog posts, products, team members), there is currently no way for site visitors to narrow down the results. If a collectio...
Opengraph URL: https://github.com/ycode/ycode/issues/2
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat: add filter form element for CMS collection lists","articleBody":"### Problem or motivation\n\nWhen displaying a list of CMS items on a page (e.g. blog posts, products, team members), there is currently no way for site visitors to narrow down the results. If a collection has dozens or hundreds of entries, users are forced to scroll through everything to find what they need. This makes content-heavy pages hard to navigate and leads to a poor user experience.\n\n### Proposed solution\n\nIntroduce a **Filter Form** element that can be linked to a collection list on the same page. The filter form would let site builders add filter controls (dropdowns, checkboxes, toggles, search inputs) that are bound to specific collection fields. When a visitor interacts with the filter, the collection list updates in real time to show only the matching items.\n\n**Key capabilities:**\n- A new \"Filter Form\" element available in the element library\n- Ability to bind each filter control to a collection field (e.g. category, status, date range, tags)\n- Support for multiple filter types: dropdown select, multi-select checkboxes, text search, toggle\n- Real-time client-side filtering — no page reload needed\n- Composable with existing design properties so the filter form can be styled freely\n- Works with any collection type\n\n**Example use cases:**\n- A blog page with category and tag filters\n- A product listing filtered by price range, color, or availability\n- A team directory filtered by department or role\n\n### Alternatives considered\n\n- **Manual filtering with custom code**: Users could embed custom JavaScript via an HTML embed layer to filter DOM elements, but this is fragile, requires coding knowledge, and bypasses the visual builder entirely.\n- **Separate pages per category**: Creating individual pages for each filter value (e.g. `/blog/design`, `/blog/engineering`), but this doesn't scale and creates maintenance overhead.\n\n### Area\n\nCollections / CMS\n\n### Additional context\n\nThis is a common pattern in website builders and a natural extension of the existing collection list element. The filter form should feel like a first-class citizen in the editor — draggable, styleable, and configurable through the properties panel just like any other element.","author":{"url":"https://github.com/ysamcode","@type":"Person","name":"ysamcode"},"datePublished":"2026-02-27T09:51:04Z","url":"https://github.com/ycode/ycode/issues/2"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0be70ba4-001a-f92b-7e66-ff9bef82f1ab |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 99AC:381964:14C46F:1C3C05:6AFE360F |
| html-safe-nonce | ca1a3146527bc20f784a0d73c3d9e1b92d3f9f8fec96ae7894477484eb2dbe8b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUFDOjM4MTk2NDoxNEM0NkY6MUMzQzA1OjZBRkUzNjBGIiwidmlzaXRvcl9pZCI6IjgxMDQ5MTAxNDc1ODA0NzQ4OTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5022960640378544136a0a0df5073741085849e082da5137596c42346f869de0 |
| hovercard-subject-tag | issue:4000155858 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ycode/ycode/2/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8bebf9d72a51ab2eeaa505de55f74c943fc1843cd9ac2c170099482f94898cae/ycode/ycode/issues/2 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8bebf9d72a51ab2eeaa505de55f74c943fc1843cd9ac2c170099482f94898cae/ycode/ycode/issues/2 |
| og:image:alt | Problem or motivation When displaying a list of CMS items on a page (e.g. blog posts, products, team members), there is currently no way for site visitors to narrow down the results. If a collectio... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ysamcode |
| hostname | github.com |
| expected-hostname | github.com |
| None | 260deedcf4630abb0a6b4aaa02fd2af70eab44d2529712694ceae59ca131b02e |
| turbo-cache-control | no-preview |
| go-import | github.com/ycode/ycode git https://github.com/ycode/ycode.git |
| octolytics-dimension-user_id | 65892203 |
| octolytics-dimension-user_login | ycode |
| octolytics-dimension-repository_id | 1165452593 |
| octolytics-dimension-repository_nwo | ycode/ycode |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1165452593 |
| octolytics-dimension-repository_network_root_nwo | ycode/ycode |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8b413ea7a9b010f4f2ebbb923b041b0d6091dd94 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width