Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[angular-query] injectDevtoolsPanel doesn't support the 'theme' option

オープン 初心者向け
#11,680 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
76/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
angular, typescript
領域
frontend, tooling

調査の方向性

injectDevtoolsPanel の angular-query 実装とその DevtoolsPanelOptions 型を調査し、withDevtools および React、Preact、Solid、Vue の各パネルと比較します。TypeScript が theme: 'dark' を受け入れ、Angular パネルが選択されたテーマを適用し、関連する既存のチェックが通れば完了です。

索引モデルが issue の本文から書いたものです。

説明

Describe the bug

injectDevtoolsPanel doesn't accept a theme option. withDevtools and the React/Preact/Solid/Vue panels all support it.

I think it was missed in #10609, which added theme only to the floating Angular devtools.

Your minimal, reproducible example
injectDevtoolsPanel(() => ({
  hostElement: this.divEl(),
  theme: 'dark', // TS error: 'theme' does not exist in type 'DevtoolsPanelOptions'
}))
Steps to reproduce
  1. Use injectDevtoolsPanel
  2. Pass theme: 'dark'
  3. Get a type error, and the theme is not applied
Expected behavior

injectDevtoolsPanel accepts theme like withDevtools does. I can send a PR for this.

Platform
  • OS: macOS
  • Browser: any
Tanstack Query adapter

angular-query

TanStack Query version

5.104.0 (also current main)

主要言語
TypeScript
スター
50.4k
フォーク
4.2k
平均マージ
19時間 57分
マージ済み PR(30日)
286

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

TanStack/query のほかの issue

TanStack/query の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。