Skip to content

fix(dashboard): preact 10/11-compatible style prop type - #107

Merged
FumingPower3925 merged 1 commit into
mainfrom
fix/preact-style-type-compat
Oct 19, 2026
Merged

FumingPower3925 merged 1 commit into
mainfrom
fix/preact-style-type-compat

Conversation

@FumingPower3925

Copy link
Copy Markdown
Contributor

Refs #103

JSX.CSSProperties no longer exists in preact 11, so astro check fails on Icons.tsx and Panel.tsx in the dependabot group bump (#103). Typing the prop as JSX.IntrinsicElements["div"]["style"] is identical in effect and resolves on both preact 10.29.8 and 11.0.1.

Verified locally: bun run check (0 errors), bun run build, bun test (22 pass) on both preact 10.29.8 (main lockfile) and 11.0.1 (#103 manifest and lockfile). No runtime change.

…act 10 and 11

JSX.CSSProperties is removed from the JSX namespace in preact 11 (CSSProperties moves to the package root), which fails astro check in the dependabot all-js-deps group bump. IntrinsicElements["div"]["style"] resolves on both majors. Refs #103
@FumingPower3925 FumingPower3925 added this to the v1.6.0 milestone Oct 19, 2026
@FumingPower3925
FumingPower3925 marked this pull request as ready for review October 19, 2026 10:31
@coderabbitai

coderabbitai Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: Repository: goceleris/docs/.coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 43636941-e6e8-47db-befa-24db6514b583
📥 Commits

Reviewing files that changed from the base of the PR and between 7ecb763 and 365492e.

📒 Files selected for processing: 2
  • src/dashboard/components/Icons.tsx
  • src/dashboard/components/Panel.tsx
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • 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

Comment @coderabbitai help to get the list of available commands.

@FumingPower3925

Copy link
Copy Markdown
Contributor Author

Merging with every required check green (build, coverage, CodeQL, codecov/patch, Workers Builds). The CodeRabbit review is advisory and had not finished.

@FumingPower3925
FumingPower3925 merged commit 0c840e2 into main Oct 19, 2026
8 checks passed
@FumingPower3925
FumingPower3925 deleted the fix/preact-style-type-compat branch October 19, 2026 10:32
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