Download, FAQ, privacy and terms pages have no meta description
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- nextjs, react, typescript
- Domain
- documentation, frontend, web-dev
Research direction
The four affected pages build metadata through buildMarketingMetadata in apps/web/lib/og/url.ts, which always sets the description key, so an undefined value overrides the root layout's description. Start by reading that helper and one page that passes a description, such as the pricing page. Run the curl check from the issue against a local build and confirm the four pages emit description, og:description and twitter:description meta tags. Done when those tags appear on /download, /faq, /privacy and /terms.
Written by the indexing model from the issue text.
Description
Description
cap.so/download, /faq, /privacy and /terms serve no meta description, and no og:description or twitter:description either, so search results and link previews for them fall back to whatever text the crawler picks.
The root layout sets a site-wide description, but these four pages build their metadata with buildMarketingMetadata (apps/web/lib/og/url.ts) without passing one. The helper always sets the description key, so undefined overrides the layout's description instead of inheriting it. The other 23 pages that use the helper pass a description and are fine.
Reproduction
curl -s https://cap.so/download | grep -cE '<meta (name|property)="(description|og:description|twitter:description)"'
This prints 0 for /download, /faq, /privacy and /terms, and 3 for /pricing.
Expected
Each page has its own description in its page, Open Graph and Twitter metadata.
- Dominant language
- Rust
- Stars
- 24.2k
- Forks
- 2.2k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 731
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CapSoftware/Cap
-
Android visitors are offered the Linux .deb on cap.so's homepage and download pagePossibly taken @patrickballard claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
CapSoftware/Cap#3677 · 1 comment ·
Maintainers usually reply within 1 day
-
Shortcut recorder rejects ⌘⇧ with a digit or symbol (e.g. ⌘⇧4)Possibly taken @HlaKarki claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
CapSoftware/Cap#3634 · 1 comment ·
Maintainers usually reply within 1 day
-
Web player intercepts ⌘⇧M and blocks Chrome profile-menu shortcutPossibly taken @AatmanAJ claimed this 18 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
CapSoftware/Cap#2596 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CapSoftware/Cap#2384 · 2 comments ·
Maintainers usually reply within 1 day
-
Dashboard pagination causes full page reloads on self-hosted CapMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
CapSoftware/Cap#2305 · 2 comments ·
Maintainers usually reply within 1 day
Similar issues
-
docs(metrics): replace stale src/metrics.rs line anchors in dashboard-metrics.md with symbol namesOpen
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
ci-cd desktop size:low telemetry-improvement telemetry-round-1
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
vfarcic/dot-agent-deck#2079 ·
Maintainers usually reply within 1 day
-
enhancement user-priority/P3
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 2 days