Results data grid uses pre-design-system palette (blue/slate) — doesn't match app chrome
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 76/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 静か
- 技術スタック
- react, typescript
調査の方向性
src/components/ui/GridView.tsxを読み、src/styles/globals.cssの対応するトークンとそのパレットを比較し、両方のisDarkテーマを確認します。ハードコードされたグリッドの色を、名前付きトークンを反映したリテラル値に置き換え、各値とトークンを結び付けるコメントを追加します。両方のテーマでグリッドのパレットがデザインシステムと一致すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Summary
The query results table (Glide Data Grid in src/components/ui/GridView.tsx) renders with the old pre-design-system palette while the surrounding results toolbar/buttons use the new Radix Cyan tokens. The grid therefore looks visibly "bluer" and off-theme next to the rest of the app.
Hardcoded values that didn't match src/styles/globals.css:
accentColor: "#06b6d4"(old cyan) — selection ring/highlight; brand accent is--accent-9#00a2c7.- Cell/header backgrounds used Tailwind slate (
#0f172a,#1e293b,#334155,#2d3748) — bluer than the Radix Slate neutrals (#111113,#18191b,#212225,#272a2d). - Date cells
#38bdf8/#0284c7(sky blue) and binary-cell labels#818cf8/#4f46e5(indigo) — off-brand. - New/modified row tints used emerald/amber (
#10b981,#f59e0b) instead of the--success-9/--warning-9tokens.
Light theme had the equivalent mismatch.
Why hardcoded at all
Glide renders to a <canvas>, so the theme can't use CSS var() — it needs literal color strings. The fix mirrors the token hex values from globals.css, keyed on isDark, with comments mapping each back to its token so the two stay in sync.
Fix
Replace the grid palette with token-mirrored values: neutral scale for cell/header/border/text, --accent-9/--accent-11 for accent + date/binary text, --success-11/--danger-11 for numeric +/- coloring, --success-9/--warning-9 tints for new/modified rows.
Related to the design-system migration (#152).
- 主要言語
- TypeScript
- スター
- 6
- フォーク
- 1
- 平均マージ
- 17分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
openidle-dev/queryden のほかの issue
-
Multi Query Clusterオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
openidle-dev/queryden#240 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 58/100
openidle-dev/queryden#237 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
openidle-dev/queryden#192 ·
-
dependencies
難易度 2/5 1〜3時間 初心者へのやさしさ 58/100
openidle-dev/queryden#186 ·
-
dependencies security
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
openidle-dev/queryden#185 · コメント 1 件 ·
openidle-dev/queryden の issue をすべて見る
似ている issue
-
Mend: dependency security vulnerability
難易度 1/5 1〜3時間 初心者へのやさしさ 65/100
fdm-monster/fdm-monster#5563 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
be-BOP-io-SA/be-BOP#2849 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 1 日以内に返信
-
1️⃣ phase/under-investigation flaky/confirmed flaky/needs-decision type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
growilabs/growi#12246 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
🐛 The Rulekeeper - An index run that gives up on the lock ends Succeeded対応中かも @github-actions が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
SSWConsulting/SSW.Rules#2809 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信