Skip to content

fix(landing): keep the website's noindex at /, open the cookie policy in a new tab, and rebuild docs on catalog changes - #10788

Merged
waleedlatif1 merged 2 commits into
stagingfrom
fix/site-cutover-review
Dec 5, 2026
Merged

waleedlatif1 merged 2 commits into
stagingfrom
fix/site-cutover-review

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

  • readRobotsTag (the website homepage fetch behind /) still passes the website's X-Robots-Tag only when every directive is known, but a header with an unknown directive now keeps a noindex or none (also when scoped to one crawler, e.g. googlebot: noindex) as a plain noindex. / can only end up stricter than the website asked; what reaches the response is still either validated or a constant.
  • The consent banner's Cookie Policy link now points at the website, so it opens in a new tab with rel='noopener noreferrer', matching the settings cookie link and the auth legal links, and the visitor keeps their place in the app.
  • compile-content.ts: the pipeline inputs are one module-level PIPELINE_FILES list that keys the compile cache and drives --watch. Inputs inside the docs tree match by path; inputs outside it (the packages/deployment-config catalog files, the emcn syntax theme) get a folder watch filtered by name, which replaces the hand-written syntax-theme watcher. Edits to the integration FAQ overrides and catalog now rebuild in watch mode.

Addresses the cubic threads on #10785 that came from #10759.

Type of Change

  • Bug fix

Testing

  • apps/sim/lib/website/homepage.test.ts: 37 pass. The three new noindex rows fail on the pre-fix code (reverted homepage.ts, watched them go red, restored).
  • Ran compile-content.ts --watch: touching packages/deployment-config/src/integration-totals.ts and lib/integrations/seo-overrides.ts each triggered a rebuild.
  • tsc --noEmit in apps/docs: no errors in compile-content.ts; biome clean; pre-push hook (affected type-check and generate) passed.

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing (new tests pass the test-audit authoring gate)
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel

vercel Bot commented Dec 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Dec 5, 2026 9:57am UTC

Request Review

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 4 files

Reply with feedback, questions, or to request a fix.

Turn on auto-fix | Re-trigger cubic

Comment thread apps/sim/lib/website/homepage.ts Resolved
… in a new tab, and rebuild docs on catalog changes

- readRobotsTag still passes the website's X-Robots-Tag only when every
  directive is known, but a header with an unknown directive now keeps a
  noindex (or none, also when scoped to one crawler) as a plain noindex,
  so / can only end up stricter than the website asked.
- The consent banner's Cookie Policy link now leaves for the website, so it
  opens in a new tab like the settings link, keeping the visitor's place.
- compile-content's pipeline inputs are one module list that keys the cache
  and drives --watch, so edits to the integration FAQ overrides and catalog
  rebuild, including the deployment-config files outside the docs tree.
max-image-preview:none only turns off image previews; the noindex fallback
matched its trailing :none and would have kept / out of the index when such
a header also carried an unknown directive. A noindex or none now counts
alone or after a crawler name, never as a max-* limit's value.
@waleedlatif1
waleedlatif1 force-pushed the fix/site-cutover-review branch from a73f1e5 to 56af21c Compare December 5, 2026 09:52
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@waleedlatif1 I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Turn on auto-fix | Re-trigger cubic

This branch was successfully deployed

1 active deployment
Preview — 56af21c0 Deployed Dec 5, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant