[BUG] Homepage says "No players yet" when the leaderboard is slow or fails to load

オープン
#4,045 コメント 2 件 リアクション 0 件 担当者 1 名 GitHub で見る

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

@nj-1812 がすでに取り組んでいます。

2026年12月3日 から。

  • #4048 @nj-1812 による — オープン

評価

この issue はまだ評価されていません。

説明

status:assigned

What happens

On the homepage, if the leaderboard build takes longer than 8 seconds or throws, fetchLeaders() in src/app/page.tsx returns { leaders: [], playerCount: 0 }. The hi-score table then says "No players yet. Be player 1." and "0 players ranked", even though the real board has 200+ players. I saw this on devtrack.live on a cold load; a reload showed "248 players ranked".

Expected

A failed or slow load should say the scores are unavailable (with a link to the full board), not that nobody is playing. A genuinely empty board can keep the "Be player 1" message.

I'd like to work on this.

主要言語
TypeScript
スター
246
フォーク
436
平均マージ
9時間 33分
マージ済み PR(30日)
213

環境構築

はじめの一歩

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

Priyanshu-byte-coder/devtrack のほかの issue

Priyanshu-byte-coder/devtrack の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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