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

[FR] Improve UX for empty repositories

オープン
#821 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
typescript
領域
frontend

調査の方向性

Start by tracing how the main UI and file tree panel handle the generic “Error loading tree preview” state for repositories with no commits or files. Confirm how an empty default branch is represented, then ensure both surfaces show a clear empty-repository message without sync or error guidance; verify the result with an empty repository.

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

説明

Feature
Feature Description

When a repository is empty, Sourcebot currently displays a generic error such as "Error loading tree preview". This can confuse users by making it seem like there is a problem with syncing or an internal error, when in reality the repository is simply empty.

Image

Image

Image

Proposed improvements:

  • Detect when a repository is empty (no commits or no files in the default branch).
  • Display a clear, user-friendly message in the main UI and file tree panel, like "This repository is empty".
  • Ensure no misleading error states or sync suggestions are shown when a repo is simply empty.
  • Optionally, provide a hint for users to initialize the repository if it is empty.

Benefits:

  • Prevents user confusion about repo sync issues or technical errors.
  • Communicates the actual repo state, improving clarity and onboarding.
  • Aligns Sourcebot UX with GitHub's behaviour for empty repositories.

User Story
As a user viewing a repository with Sourcebot, if the repo is empty, I want to see a clear message that the repository is empty, so I don't think there's an error or bug syncing the repo.

主要言語
TypeScript
スター
3.9k
フォーク
374
平均マージ
21時間 18分
マージ済み PR(30日)
39

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

sourcebot-dev/sourcebot のほかの issue

sourcebot-dev/sourcebot の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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