Service and industry meta descriptions run two sentences together #234
Labels
No Label
P0
P1
P2
P3
accessibility
backend
bug
content
data-integrity
enhancement
frontend
infra
integration
owner
owner-input
performance
phase-7
phase-8
release-blocker
security
seo
ui
ux
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: null/Queue-North-Website#234
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Seen at
a25077d(v0.9.5).What is true now.
clampDescription(src/lib/seo.js:21) joins its parts with a space, and noshortDescinsrc/data/services.jsorsrc/data/industries.jsends in a full stop. All 11 detail pages ship descriptions like "...seamless integration Delivered by Queue North..." and "...for medical providers Queue North delivers...". It also cuts at 158 characters, which would truncate Levi's approved 164- and 191-character descriptions.What it costs. The description is the snippet a searcher reads first, on 11 pages.
What to do.
buildDescription({ approved, parts })insrc/lib/seo.js: approved text is emitted verbatim, and parts are joined as sentences (a full stop added where one is missing) and then clamped.ServiceDetailandIndustryDetailuse it, and build their canonicals fromSITE_URL.Not in scope. The four industry descriptions (167 to 178 characters) are still cut with an ellipsis afterwards; shortening them is a wording decision for Null.
Verify: every service and industry page's meta description in
dist/has a full stop after its short description, andnode scripts/audit-html.jspasses its run-on check.Fixed in
fef8b07. buildDescription in src/lib/seo.js replaces clampDescription: composed fragments are joined as sentences (a full stop added where one is missing) and an owner-approved description is emitted verbatim, never joined and never clamped. ServiceDetail.jsx:42 and IndustryDetail.jsx:36 use it. Verified page by page against a build: all 11 service and industry descriptions gained exactly a full stop between the short description and the sentence that follows, for example /services/unified-communications now reads 'Modernize your business communications with seamless integration. Delivered by Queue North, a veteran-owned 8x8 and Cisco Certified Partner.' and /industries/healthcare 'HIPAA-compliant communications and infrastructure for medical providers. Queue North delivers phone, contact center, network, and IT support...'. No other page's description changed.