Repository navigation
feat(seo): complete the discoverability baseline of the public demo - #13
Merged
Merged
Conversation
The page already had a canonical URL, a description, social tags, a robots file and a sitemap. Add the missing pieces: a descriptive title (53 characters instead of the bare product name), a rel=author link, a SoftwareApplication JSON-LD block naming the author, and llms.txt. Keep robots.txt, sitemap.xml and llms.txt out of the service worker's navigation fallback so an installed client that opens one gets the file and not the app shell. Covered by src/test/seoBaseline.test.ts (REQ-UBI-20, REQ-UBI-21), written first.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Completes the discoverability baseline of
parametricad.naindev.com. Already present and kept: canonical, description, Open Graph (served 1200x630og-image.png), Twitter card,robots.txt,sitemap.xml. Added: a descriptive title ("ParametriCAD AI | Parametric CAD with Mesh Validation", 53 chars; it was just "ParametriCAD"),<link rel="author">, aSoftwareApplicationJSON-LD block whose author ishttps://www.naindev.com/#person, andfrontend/public/llms.txt.pwa.config.tsnow keeps/robots.txt,/sitemap.xmland/llms.txtout of the service worker navigation fallback. Requirements REQ-UBI-20 and REQ-UBI-21, traceability rows and task TSK-41 added (the requirement numbers are provisional until merge). Page language is English (lang="en"), unchanged; no visual change.Why
Search and answer engines had no structured data, no
llms.txtand a one-word title. Without the denylist entry, an installed client opening/llms.txtwould have been answered with the app shell. The JSON-LD block is data, so the strict CSP invercel.jsondoes not affect it.Not changed: the static HTML has no
<h1>. The only<h1>is rendered by React inAppHeader.tsxafter the script runs; restructuring the app was out of scope.Verification
frontend/src/test/seoBaseline.test.tswritten first: 4 of 11 failed (title, author link, JSON-LD, llms.txt); after adding the service worker case and the fix, 12 of 12 pass.npm test: 36 files, 279 tests passed.npm run lint,npm run typecheck,npm run buildandnpm run verify:pwa(23 files precached) pass;dist/containsllms.txt.pytest --collect-only, 356 tests).gitleaks git --no-bannerclean.