René's URL Explorer Experiment


Title: feat: add site search component for published sites · Issue #306 · ycode/ycode · GitHub

Open Graph Title: feat: add site search component for published sites · Issue #306 · ycode/ycode

X Title: feat: add site search component for published sites · Issue #306 · ycode/ycode

Description: Summary Add a global Site Search feature so visitors can search across a published Ycode site (pages and CMS content) — similar to what some other website builders offer. Today Ycode has no site-wide search; only editor/CMS filtering and...

Open Graph Description: Summary Add a global Site Search feature so visitors can search across a published Ycode site (pages and CMS content) — similar to what some other website builders offer. Today Ycode has no site-wi...

X Description: Summary Add a global Site Search feature so visitors can search across a published Ycode site (pages and CMS content) — similar to what some other website builders offer. Today Ycode has no site-wi...

Opengraph URL: https://github.com/ycode/ycode/issues/306

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat: add site search component for published sites","articleBody":"## Summary\n\nAdd a global **Site Search** feature so visitors can search across a published Ycode site (pages and CMS content) — similar to what some other website builders offer. Today Ycode has no site-wide search; only editor/CMS filtering and a per-collection filter element exist.\n\n## Background — how some other website builders do it\n\nSome other website builders ship a drag-in **Search** component (Insert panel) that indexes the site at publish/optimization time and runs a **client-side fuzzy search** (Fuse.js-style) on the published site, so results are instant with no server round-trip.\n\n- Indexes body copy, headings, page titles, and page descriptions\n- Scope control (whole site, specific paths, or a single CMS collection)\n- Layout presets: Quick Menu (command palette), Sidebar, Fixed Top\n\n## Scope (v1)\n\nGlobal site search across **all published pages + CMS content**. (Per-collection search can build on the same foundation later.)\n\n## Indexable content sources\n\n- `pages` → `name`, `settings.seo.title`, `settings.seo.description`, `slug`\n- `page_layers.layers` → walk `variables.text` (flatten Tiptap), `variables.image.alt`, component overrides\n- `collection_item_values.value` → text / rich_text fields for dynamic pages and collection layers\n- `translations` → localized variants of the above\n\n## Proposed implementation surface\n\nClosest existing analog: the `filter` element + `FilterableCollection`.\n\n- New `search` element template (`lib/templates/`) + entry in `ElementLibrary.tsx`\n- Build-time content extraction in the publish pipeline (`app/(builder)/ycode/api/publish/route.ts`), reusing `extractLayerContentMap`, `tiptap-utils`, `text-format-utils`\n- Runtime search behavior in `LayerRendererPublic.tsx` (mirror in `LayerRenderer.tsx`), loaded as a dynamic import like other behaviors\n- Scope control + layout preset as element settings\n\n## Open design question\n\n**Indexing/query approach is undecided** and needs a design decision:\n\n- **Build-time JSON index + client-side fuzzy search (Fuse.js):** works on BOTH the live ISR site and the static HTML export (`./out`).\n- **Server-side search API + Postgres full-text search:** richer/scalable, but live-site only — would NOT work for static export.\n\nRecommendation: lean toward the client-side index for static-export parity, but this should be confirmed before implementation. Note static export has no React hydration, so it needs a dedicated boot script in `lib/apps/static-export/document.ts`.\n\n## Out of scope (v1)\n\n- Per-collection-only search UI (future, builds on the same index)\n- Search analytics / \"no results\" tracking","author":{"url":"https://github.com/ysamcode","@type":"Person","name":"ysamcode"},"datePublished":"2026-06-01T07:35:35Z","url":"https://github.com/ycode/ycode/issues/306"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f77f3b16-ada1-b3f4-eaf3-df4dda165598
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC1EE:2D8BD1:27F8CB:351C66:6AFE29F2
html-safe-nonce705f04c8bf97f068f66e6eaa88e98fce57ce0ec9c61120291c82f7872d110660
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUVFOjJEOEJEMToyN0Y4Q0I6MzUxQzY2OjZBRkUyOUYyIiwidmlzaXRvcl9pZCI6IjY3NzUzMjkxMzA0ODYzMTE0MTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac759c52090018a4ca30c8ebe8604ccd0e791093a41d2004429d79743c7790b3c5
hovercard-subject-tagissue:4561222392
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ycode/ycode/306/issue_layout
twitter:imagehttps://opengraph.githubassets.com/fd03853501228efefa3aeb64c2b72704af916af8b4a7c78a82812f9a2c9047e0/ycode/ycode/issues/306
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fd03853501228efefa3aeb64c2b72704af916af8b4a7c78a82812f9a2c9047e0/ycode/ycode/issues/306
og:image:altSummary Add a global Site Search feature so visitors can search across a published Ycode site (pages and CMS content) — similar to what some other website builders offer. Today Ycode has no site-wi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameysamcode
hostnamegithub.com
expected-hostnamegithub.com
Nonee973f9ec3625f3faad8cac5c2d11a214b7ffe45f3cc563b828459b290ecaeed3
turbo-cache-controlno-preview
go-importgithub.com/ycode/ycode git https://github.com/ycode/ycode.git
octolytics-dimension-user_id65892203
octolytics-dimension-user_loginycode
octolytics-dimension-repository_id1165452593
octolytics-dimension-repository_nwoycode/ycode
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1165452593
octolytics-dimension-repository_network_root_nwoycode/ycode
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release1f92c367595b9190e0be293896078033886b1913
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/ycode/ycode/issues/306#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fycode%2Fycode%2Fissues%2F306
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fycode%2Fycode%2Fissues%2F306
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=ycode%2Fycode
Reloadhttps://github.com/ycode/ycode/issues/306
Reloadhttps://github.com/ycode/ycode/issues/306
Reloadhttps://github.com/ycode/ycode/issues/306
ycodehttps://github.com/ycode
ycodehttps://github.com/ycode/ycode
Codehttps://github.com/ycode/ycode
Issues7 (7)https://github.com/ycode/ycode/issues
Pull requests1 (1)https://github.com/ycode/ycode/pulls
Discussionshttps://github.com/ycode/ycode/discussions
Actionshttps://github.com/ycode/ycode/actions
Projectshttps://github.com/ycode/ycode/projects
Security and quality1 (1)https://github.com/ycode/ycode/security
Insightshttps://github.com/ycode/ycode/insights
https://github.com/ycode/ycode
New issuehttps://github.com/login?return_to=https://github.com/ycode/ycode/issues/306
New issuehttps://github.com/login?return_to=https://github.com/ycode/ycode/issues/306
feat: add site search component for published siteshttps://github.com/ycode/ycode/issues/306#top
Feature requestA new feature requesthttps://github.com/ycode/ycode/issues?q=state%3Aopen%20label%3A%22Feature%20request%22
https://github.com/ysamcode
ysamcodehttps://github.com/ysamcode
on Jun 1, 2026https://github.com/ycode/ycode/issues/306#issue-4561222392
ysamcodehttps://github.com/ysamcode
on Jun 1, 2026https://github.com/ycode/ycode/issues/306#event-26176041812
ysamcodehttps://github.com/ysamcode
Feature requestA new feature requesthttps://github.com/ycode/ycode/issues?q=state%3Aopen%20label%3A%22Feature%20request%22
on Jun 1, 2026https://github.com/ycode/ycode/issues/306#event-26176043000
ysamcodehttps://github.com/ysamcode
tristan-mouchethttps://github.com/tristan-mouchet
ysamcodehttps://github.com/ysamcode
on Jun 15, 2026https://github.com/ycode/ycode/issues/306#event-26746253245
tristan-mouchethttps://github.com/tristan-mouchet
on Jul 24, 2026https://github.com/ycode/ycode/issues/306#event-28426897613
Sign up for freehttps://github.com/signup?return_to=https://github.com/ycode/ycode/issues/306
Sign in to commenthttps://github.com/login?return_to=https://github.com/ycode/ycode/issues/306
Feature requestA new feature requesthttps://github.com/ycode/ycode/issues?q=state%3Aopen%20label%3A%22Feature%20request%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.