Language Filter Dropdown Silently Truncates Languages
メンテナーはふだん 2 日以内に返信
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 85/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- javascript
- 領域
- frontend
調査の方向性
RepositoryPage.jsx を開き、allRepos から言語リストがどのように構築されているかを確認します。特に、.slice(0, 10) の呼び出しと 'All Languages' の項目を確認してください。9 言語を超える組織でドロップダウンを検証します。リポジトリ一覧の後半で見つかる言語も含め、すべての異なるリポジトリ言語をフィルタリングに使用できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
In RepositoryPage.jsx
What Exactly Goes Wrong?
- 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.
- 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
You will not Find "Python" although it was updated few hours ago
- 主要言語
- JavaScript
- スター
- 44
- フォーク
- 133
- 平均マージ
- 4日 1時間
- マージ済み PR(30日)
- 18
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AOSSIE-Org/OrgExplorer のほかの issue
-
[BUG]: respect granularity when limiting analytics time-series buckets対応中かも @Sparsh2105 が 4 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
AOSSIE-Org/OrgExplorer#333 · コメント 3 件 ·
メンテナーはふだん 2 日以内に返信
-
[BUG]: computeHealthScore: NaN when repo.open_issues_count is missing and computeHealthScore: NaN when repo.pushed_at is missing or invalid対応中かも @PrithvijitBose が 13 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
AOSSIE-Org/OrgExplorer#287 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
-
[FEATURE]: Make organization filter dropdown label uniform ("All Organizations")対応中かも @RounakKumarAgarwal が 14 日前に担当しました。 オープンenhancement
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
AOSSIE-Org/OrgExplorer#281 ·
メンテナーはふだん 2 日以内に返信
-
[BUG]: Analytics page keeps the previous organization's pull request data after exploring a new org対応中かも @amanbn8 が 14 日前に担当しました。 オープンbug
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
AOSSIE-Org/OrgExplorer#272 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
[BUG]: Dead Issues and Zombie PRs tabs only show first 25 items with no pagination対応中かも @jikrana1 が 19 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
AOSSIE-Org/OrgExplorer#260 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
AOSSIE-Org/OrgExplorer の issue をすべて見る
似ている issue
-
Four problem loader browser tests fail on Windows対応中かも @Patriciaath999 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
juice-shop/juice-shop#3686 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
TheOdinProject/curriculum#31465 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
TurboDocx/html-to-docx#254 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信