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

[BUG]: Overview wrongly lists a successfully-loaded org as "could not be loaded" (case / duplicate)

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

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

@dhruvbit がすでに取り組んでいます。

2026年10月23日 から。

評価

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

調査の方向性

src/pages/OverviewPage.jsxから始め、特に26~27行目と109~113行目付近の組織検証の比較処理と警告を確認し、そのロジックをexplore()の重複排除と比較してください。node f3_case_warning.mjsを実行して、大文字と小文字の違いがあるケースと重複ケースを再現してください。読み込まれた組織が失敗として表示されず、警告の件数が失敗した名前の数と一致すれば完了です。

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

説明

bug
Bug Description

OverviewPage.jsx (lines 26-27) compares the user's raw typed org names against GitHub's
canonical login casing with a case-sensitive exact match:

const verifiedOrgs = orgs.map(o => o.login)          // canonical casing from GitHub
const notVerifiedOrgs = chips.filter(c => !verifiedOrgs.some(org => c.trim() === org))

chips are the names the user typed, passed verbatim from HomePage. The warning banner shows
when chips.length > orgs.length (line 109). Because the comparison is case-sensitive and chips
aren't deduped the way explore() dedupes them, a loaded org can be reported as failed:

  • Type "aossie-org, nope-not-real": GitHub returns login "AOSSIE-Org", so "aossie-org" fails
    the === and the banner reads "1 of 2 organizations could not be loaded: aossie-org,
    nope-not-real." — a count of 1 with two names, one of which loaded fine.
  • Type "aossie-org, AOSSIE-Org" (same org, two cases): explore() dedupes to 1 org, but
    chips.length is 2, so a plain duplicate is reported as a failed org.
Steps to Reproduce
  1. On the home page, enter two org chips where one is a real org typed in non-canonical case
    (e.g. "aossie-org") and the other is a bad name, then Explore.
  2. On Overview, the yellow warning names the real org among those that "could not be loaded".

Deterministic check (runs the exact OverviewPage expression):

node f3_case_warning.mjs
Logs and Screenshots

=== F3 Overview "could not be loaded" warning ===

A) typed: "aossie-org", "nope-not-real" | loaded: AOSSIE-Org
-> Analysis completed with warnings: 1 of 2 organizations could not be loaded: aossie-org, nope-not-real.
BUG: says 1 failed but lists 2 names, and names "aossie-org" which loaded fine.

B) typed: "aossie-org", "AOSSIE-Org" | loaded: AOSSIE-Org (deduped)
-> Analysis completed with warnings: 1 of 2 organizations could not be loaded: aossie-org.
BUG: a plain case-duplicate is reported as an org that "could not be loaded".

C) typed: "AOSSIE-Org" | loaded: AOSSIE-Org
-> (no warning shown)
📎 Image file:

Image
Environment Details
  • OS: macOS - Browser: Chrome
  • Repo: main @ d91d2b8, src/pages/OverviewPage.jsx lines 26-27 and 109-113
  • Suggested fix: compare case-insensitively and dedupe chips the same way explore() does
    (e.g. derive the failed set from lastOrgNames vs orgs[].login with .toLowerCase()).
  • Context: this is a defect in the "rejected orgs" warning added by merged PR #319
    (which closed #317). #319 surfaced failed orgs; this report is that the surfacing logic
    produces false positives. No existing open issue tracks it.
Impact

Low - Minor inconvenience

Code of Conduct
  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates
主要言語
JavaScript
スター
45
フォーク
148
平均マージ
5日 14時間
マージ済み PR(30日)
31

環境構築

はじめの一歩

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

AOSSIE-Org/OrgExplorer のほかの issue

AOSSIE-Org/OrgExplorer の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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