[BUG]: Loading skeletons use hardcoded dark colors and appear as dark blocks in light mode on every page
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- javascript, react, tailwindcss
- 領域
- frontend
調査の方向性
src/components/Orgexplorerskeletons.jsx から始めてください。このファイルでは Bar、Box、Circle、Pill のヘルパーが bg-neutral-800、bg-neutral-900、bg-neutral-950、border-neutral-800/divide-neutral-800 をハードコードしています。src/styles/global.css で対応するテーマ変数を探し、クラスをそれらに置き換えてください。ライトモードでは6つのスケルトンページすべてに明るいプレースホルダーが表示され、ダークモードの見た目は変わらないことを目視で確認したら完了です。
索引モデルが issue の本文から書いたものです。
説明
Summary
The loading skeletons shown while a page is fetching data don't follow the active theme. In light mode, every page that uses a skeleton displays solid black / dark grey blocks on a white background, which looks broken and inconsistent with the rest of the light theme.
Root cause
All skeletons are defined in src/components/Orgexplorerskeletons.jsx and are built from four shared helper components (Bar, Box, Circle, Pill). These helpers use fixed dark-theme Tailwind classes instead of the theme variables used everywhere else in the app:
| Class used | Where |
|---|---|
bg-neutral-800 |
Bar, Circle, Pill (the pulsing placeholder bars) |
bg-neutral-900, border-neutral-800 |
Box (card containers) |
divide-neutral-800 |
Row dividers in the Repository and Contributor skeleton tables |
bg-neutral-950, border-neutral-800 |
Network graph placeholder canvas |
border-neutral-800 |
Tab underline row in the Governance skeleton |
Because these colors are hardcoded, they stay dark regardless of whether light or dark mode is active. The skeletons were introduced in #117.
Affected pages
I verified this on all six pages that render a skeleton, and all of them are affected:
| Page | Skeleton component | Affected in light mode |
|---|---|---|
| Overview | OverviewSkeleton |
Yes |
| Repositories | RepositorySkeleton |
Yes |
| Contributors | ContributorSkeleton |
Yes |
| Network | NetworkSkeleton |
Yes |
| Analytics | AnalyticsSkeleton |
Yes |
| Governance | GovernanceSkeleton |
Yes |
Impact
- Every light-mode user sees dark blocks each time a page loads, for example when re-running an analysis with a PAT.
- It makes light mode look unfinished, even though the rest of the UI themes correctly.
- Dark mode is not affected.
Proposed fix
Replace the hardcoded classes in Orgexplorerskeletons.jsx with the existing theme variables, using the same Tailwind CSS-variable syntax already used elsewhere in the codebase (e.g. hover:bg-(--bg), text-(--text2)):
- placeholder bars:
bg-neutral-800→bg-(--surface2) - card containers:
bg-neutral-900→bg-(--surface) - borders and dividers:
border-neutral-800/divide-neutral-800→border-(--border)/divide-(--border) - network canvas:
bg-neutral-950→bg-(--bg)
The exact variables can be matched against src/styles/global.css, so dark mode keeps its current look while light mode gets matching light placeholders.
Scope
- One file only:
src/components/Orgexplorerskeletons.jsx - No layout, logic or behavior changes, only color classes
- I'll verify the result visually in both light and dark mode on all six pages
I'd be happy to work on this if that's okay.
Steps to Reproduce:
- Run the app locally (
npm run dev) and explore any organization (e.g.AOSSIE-Org). - Switch to light mode using the theme toggle in the navbar.
- Trigger a page's loading state:
- Naturally: add a PAT in Settings, go to Overview, enable network throttling (DevTools → Network → Slow 4G) and click "Connect PAT & Run". The skeleton appears while the analysis reloads.
- Or, to keep it on screen for inspection: temporarily change
if (loading)toif (true)on the skeleton line of the page component (e.g.OverviewPage.jsx, line ~41), which is how I captured the screenshots.
- Observe that the skeleton is made of dark blocks on a white background.
- Repeat on Repositories, Contributors, Network, Analytics and Governance: same result.
Expected: Skeleton placeholders should use light colors in light mode and dark colors in dark mode, matching the active theme.
Actual: Skeleton placeholders are always dark, regardless of theme.
###Screenshots:
Overview skeleton (light mode): dark blocks on a white page
- 主要言語
- JavaScript
- スター
- 42
- フォーク
- 124
- 平均マージ
- 2日 22時間
- マージ済み PR(30日)
- 10
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AOSSIE-Org/OrgExplorer のほかの issue
-
[BUG]: respect granularity when limiting analytics time-series buckets対応中かも @Sparsh2105 が 1 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
AOSSIE-Org/OrgExplorer#333 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
[FEATURE]: Pressing Enter after typing all orgs to search should hit explore.対応中かも @Rajvardhan-Singh-Rathore が 4 日前に担当しました。 オープンenhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
AOSSIE-Org/OrgExplorer#324 · コメント 7 件 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: Navigating to a new page preserves the previous scroll position対応中かも @syedbarkath980 が 6 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
AOSSIE-Org/OrgExplorer#314 ·
メンテナーはふだん 1 日以内に返信
-
[FEATURE]: Add Language column in Repository Explorer table再び着手できるかも @ProgrammerNesi が 7 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
AOSSIE-Org/OrgExplorer#309 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
chore(assets): Convert org-explorer-logo.png to SVG再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンenhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
AOSSIE-Org/OrgExplorer#301 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
AOSSIE-Org/OrgExplorer の issue をすべて見る
似ている issue
-
ACK_WAITING HELP_WANTED UPDATE_CS
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
OWASP/CheatSheetSeries#2781 ·
メンテナーはふだん 1 日以内に返信
-
Hermes: /ponytail off never reaches the model, the ruleset stays active対応中かも @szsunyuan が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
DietrichGebert/ponytail#1121 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
integrations plugin
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
bug package:vitest
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
cloudflare/workers-sdk#16238 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信