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

Language Filter Dropdown Silently Truncates Languages

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

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

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

2026年10月2日 から。

  • #290 @PrithvijitBose による — オープン

評価

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

調査の方向性

RepositoryPage.jsx を開き、allRepos から言語リストがどのように構築されているかを確認します。特に、.slice(0, 10) の呼び出しと 'All Languages' の項目を確認してください。9 言語を超える組織でドロップダウンを検証します。リポジトリ一覧の後半で見つかる言語も含め、すべての異なるリポジトリ言語をフィルタリングに使用できれば完了です。

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

説明

bug

In RepositoryPage.jsx

Image
What Exactly Goes Wrong?
  1. Only 9 Languages Can Ever Exist in the Dropdown:
  • Index 0 of the array is 'All Languages'.
  • The .slice(0, 10) restricts the total array length to 10 elements.
  • That means only 9 unique programming languages are ever allowed into the dropdown.
  • If an organization has 10, 15, or 25 languages across its repositories, every language after the 9th is silently dropped.
  1. Arbitrary Insertion Order (Not Even Popularity-Based):
  • new Set(...) preserves the order in which items are first encountered in allRepos.
  • So whichever 9 languages happened to appear first in the API response fill up the 9 slots.
  • A repository with 5,000 stars written in Go or Rust might have its language completely omitted from the filter if it - appeared further down in the list!

Example

If you visit Adobe's Org

Image

You will not Find "Python" although it was updated few hours ago

Image
主要言語
JavaScript
スター
44
フォーク
133
平均マージ
4日 1時間
マージ済み PR(30日)
18

環境構築

はじめの一歩

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

AOSSIE-Org/OrgExplorer のほかの issue

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

似ている issue

JavaScript の issue をもっと見る

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

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