Skip to content

Conversation

@noisysocks
Copy link
Contributor

@noisysocks noisysocks commented Dec 5, 2025

Asana Task/Github Issue:

Description

Updating some of the docs on Netlify.

  • New Tab Page
    • Removed example of setting deprecated customizer.defaultStyles.
  • History
    • Update initialSetup examples to use theme and themeVariant instead of deprecated defaultStyles.
    • Add docs for onThemeUpdate subscription.
  • Add new doc pages for Special Error Page and Error Page.

Testing Steps

https://deploy-preview-2079--content-scope-scripts.netlify.app/

Checklist

Please tick all that apply:

  • I have tested this change locally
  • I have tested this change locally in all supported browsers
  • This change will be visible to users
  • I have added automated tests that cover this change
  • I have ensured the change is gated by config
  • This change was covered by a ship review
  • This change was covered by a tech design
  • Any dependent config has been merged

Open in Cursor Open in Web


Note

Adds new docs for Error and Special Error pages, updates History docs with theme examples and onThemeUpdate, removes deprecated defaultStyles from New Tab example, and includes new pages in TypeDoc.

  • Docs additions:
    • Special Error Page (special-pages/pages/special-error/app/special-error.md): Requests with examples (malicious site and SSL errors), error data types, onThemeUpdate subscription, notifications, and available theme variants.
    • Error Page (special-pages/pages/errorpage/app/errorpage.md): String interpolation variables, runtime theme update callback (window.onChangeTheme), and available theme variants.
  • History docs (special-pages/pages/history/app/history.md):
    • Add theme/themeVariant to initialSetup examples and list available theme variants.
    • New onThemeUpdate subscription section with example payloads.
  • New Tab example (special-pages/pages/new-tab/messages/examples/widgets.js): Remove deprecated customizer.defaultStyles from InitialSetupResponse example.
  • TypeDoc config (typedoc.js): Include new special-error and errorpage docs in projectDocuments.

Written by Cursor Bugbot for commit 5baa500. This will update automatically on new commits. Configure here.

@cursor
Copy link

cursor bot commented Dec 5, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@netlify
Copy link

netlify bot commented Dec 5, 2025

Deploy Preview for content-scope-scripts ready!

Name Link
🔨 Latest commit 5baa500
🔍 Latest deploy log https://app.netlify.com/projects/content-scope-scripts/deploys/693231866aad7d0008e4cc55
😎 Deploy Preview https://deploy-preview-2079--content-scope-scripts.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@noisysocks noisysocks marked this pull request as ready for review December 5, 2025 00:41
@noisysocks noisysocks requested review from a team, mgurgel and shakyShane as code owners December 5, 2025 00:41
@github-actions
Copy link

github-actions bot commented Dec 5, 2025

Temporary Branch Update

The temporary branch has been updated with the latest changes. Below are the details:

Please use the above install command to update to the latest version.

@github-actions
Copy link

github-actions bot commented Dec 5, 2025

[Beta] Generated file diff

Time updated: Fri, 05 Dec 2025 01:13:36 GMT

@noisysocks noisysocks changed the title Update deprecated property in docs example Update special pages documentation examples and add new docs Dec 5, 2025
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.

3 participants