Skip to content

docs: explain the unsafe-inline style permission and fix the tunnel target name - #232

Merged
tbinna merged 1 commit into
betafrom
docs/v10-doc-fixes
Dec 1, 2026
Merged

tbinna merged 1 commit into
betafrom
docs/v10-doc-fixes

Conversation

@tbinna

@tbinna tbinna commented Dec 1, 2026

Copy link
Copy Markdown
Member

Summary

 docs/guides/getting-started.md, docs/guides/adding-a-custom-ui-module.md
   manifest.yml example keeps permissions.content.styles: unsafe-inline
+  new paragraph: only needed for Atlassian Design System (@atlaskit/*) components,
+  which Compiled styles by adding <style> elements at runtime; plain CSS doesn't need it

 docs/reference/executors.md (Tunnel)
-  Starts the `tunnel` target for all Custom UI projects ...
+  Starts the `serve` target for all Custom UI projects ...

Evidence

  • unsafe-inline: @atlaskit/button imports @compiled/react/runtime, whose sheet.js calls document.createElement('style') at runtime. Forge's CSP blocks that without style-src 'unsafe-inline'. With plain CSS, @nx/webpack defaults extractCss to true, so styles go to a separate file.
  • Tunnel target: extract-custom-ui-projects.ts requires and starts each Custom UI project's serve target, not tunnel.
  • pnpm nx format:check --all passes.

Merge Danger

Door: two-way

Blast Radius: docs

Docs-only change, so it doesn't trigger a release.

🤖 Generated with Claude Code

…arget name

The Custom UI guides added permissions.content.styles: unsafe-inline
without saying why. Explain that Atlassian Design System components
need it, because Compiled adds style elements at runtime, and that
apps with plain CSS can drop it.

The tunnel executor reference said it starts each Custom UI project's
tunnel target. It starts the serve target.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Dec 1, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f8c786a5-ceb3-414c-b198-e4e082fc4ecb

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@tbinna
tbinna merged commit c5b357f into beta Dec 1, 2026
2 checks passed
@tbinna
tbinna deleted the docs/v10-doc-fixes branch December 1, 2026 10:05
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