Skip to content

fix: default standalone devtools panel props - #162

Merged
KevinVandy merged 2 commits into
mainfrom
feat-standalone-devtools-props
Sep 27, 2026
Merged

KevinVandy merged 2 commits into
mainfrom
feat-standalone-devtools-props

Conversation

@KevinVandy

@KevinVandy KevinVandy commented Sep 27, 2026 •

Copy link
Copy Markdown
Member

🎯 Changes

Fixes #82.

  • Allow React, Preact, and Solid panels to render without props, including an omitted props argument for both real and no-op components, consistent with Table and Pacer.
  • Default to a dark theme and devtoolsOpen: true, matching Table. Preserve explicit dock props and Solid prop reactivity.
  • Document standalone usage and cover defaults, omitted arguments, dock props, and no-op panels with 12 adapter tests. pnpm test and pnpm run test:pr pass on Node 24.15.0.

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested code changes locally with pnpm run test:pr, or these tests do not apply to this pull request.
  • I fully understand the code in this pull request, including any code generated with AI assistance.

🚀 Release Impact

  • This change affects published code, and I have generated a changeset.
  • This change is docs/CI/dev-only (no release).

@coderabbitai

coderabbitai Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Note

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

⚙️ Run configuration

Configuration used: Repository: TanStack/hotkeys/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 50496f9d-c3ac-4ebb-9b4c-18c671bc5df0

📥 Commits

Reviewing files that changed from the base of the PR and between e06d82d and a880356.

📒 Files selected for processing (8)
  • .changeset/dirty-berries-mate.md
  • docs/devtools.md
  • packages/preact-hotkeys-devtools/src/PreactHotkeysDevtools.tsx
  • packages/preact-hotkeys-devtools/tests/panel.test.ts
  • packages/react-hotkeys-devtools/src/ReactHotkeysDevtools.tsx
  • packages/react-hotkeys-devtools/tests/panel.test.ts
  • packages/solid-hotkeys-devtools/src/SolidHotkeysDevtools.tsx
  • packages/solid-hotkeys-devtools/tests/panel.test.ts
 ___________________________
< I refactor in bunny hops. >
 ---------------------------
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

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.

@github-actions

github-actions Bot commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

🚀 Changeset Version Preview

4 package(s) bumped directly, 9 bumped as dependents.

🟩 Patch bumps

Package Version Reason
@tanstack/hotkeys 0.10.0 → 0.10.1 Changeset
@tanstack/preact-hotkeys-devtools 0.9.0 → 0.9.1 Changeset
@tanstack/react-hotkeys-devtools 0.9.0 → 0.9.1 Changeset
@tanstack/solid-hotkeys-devtools 0.9.0 → 0.9.1 Changeset
@tanstack/angular-hotkeys 0.12.0 → 0.12.1 Dependent
@tanstack/hotkeys-devtools 1.1.0 → 1.1.1 Dependent
@tanstack/lit-hotkeys 0.13.0 → 0.13.1 Dependent
@tanstack/preact-hotkeys 0.12.0 → 0.12.1 Dependent
@tanstack/react-hotkeys 0.12.0 → 0.12.1 Dependent
@tanstack/solid-hotkeys 0.12.0 → 0.12.1 Dependent
@tanstack/svelte-hotkeys 0.12.0 → 0.12.1 Dependent
@tanstack/vue-hotkeys 0.12.0 → 0.12.1 Dependent
@tanstack/vue-hotkeys-devtools 0.9.0 → 0.9.1 Dependent

@pkg-pr-new

pkg-pr-new Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@tanstack/angular-hotkeys

npm i https://pkg.pr.new/@tanstack/angular-hotkeys@162

@tanstack/hotkeys

npm i https://pkg.pr.new/@tanstack/hotkeys@162

@tanstack/hotkeys-devtools

npm i https://pkg.pr.new/@tanstack/hotkeys-devtools@162

@tanstack/lit-hotkeys

npm i https://pkg.pr.new/@tanstack/lit-hotkeys@162

@tanstack/preact-hotkeys

npm i https://pkg.pr.new/@tanstack/preact-hotkeys@162

@tanstack/preact-hotkeys-devtools

npm i https://pkg.pr.new/@tanstack/preact-hotkeys-devtools@162

@tanstack/react-hotkeys

npm i https://pkg.pr.new/@tanstack/react-hotkeys@162

@tanstack/react-hotkeys-devtools

npm i https://pkg.pr.new/@tanstack/react-hotkeys-devtools@162

@tanstack/solid-hotkeys

npm i https://pkg.pr.new/@tanstack/solid-hotkeys@162

@tanstack/solid-hotkeys-devtools

npm i https://pkg.pr.new/@tanstack/solid-hotkeys-devtools@162

@tanstack/svelte-hotkeys

npm i https://pkg.pr.new/@tanstack/svelte-hotkeys@162

@tanstack/vue-hotkeys

npm i https://pkg.pr.new/@tanstack/vue-hotkeys@162

@tanstack/vue-hotkeys-devtools

npm i https://pkg.pr.new/@tanstack/vue-hotkeys-devtools@162

commit: a880356

@KevinVandy
KevinVandy marked this pull request as ready for review September 27, 2026 19:20
@KevinVandy
KevinVandy merged commit 4409bd9 into main Sep 27, 2026
8 of 9 checks passed
@KevinVandy
KevinVandy deleted the feat-standalone-devtools-props branch September 27, 2026 19:21
@github-actions github-actions Bot mentioned this pull request Sep 27, 2026
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.

Devtools Panel always requires props

1 participant