[FR] Improve UX for empty repositories
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 48/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- typescript
- Bereich
- frontend
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
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.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 3.9k
- Forks
- 374
- Ø Merge
- 2 T. 21 Std.
- Gemergte PRs (30 T.)
- 43
Entwicklungsumgebung
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus sourcebot-dev/sourcebot
-
[bug] Search result hydration performs duplicate repository lookups within the same chunkEvtl. vergeben @dipeshbabu hat das vor 17 Tagen übernommen. Offenbug triage needed
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
sourcebot-dev/sourcebot#1681 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Linux ctags build instructions in CONTRIBUTING.md are missing build dependenciesEvtl. vergeben @The-AarushiSingh hat das vor 23 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
sourcebot-dev/sourcebot#1633 ·
Maintainer antworten meist innerhalb von 1 Tag
-
MCP ask_codebase rejects explicit languageModel: getLanguageModelKey includes displayName which the MCP schema doesn't exposeEvtl. vergeben @pranav718 hat das vor 40 Tagen übernommen. Offenask_sb bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
sourcebot-dev/sourcebot#1137 · 4 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
[FR] Support file-based and Azure Key Vault token sources alongside env and googleCloudSecretEvtl. wieder frei Ein Pull Request dazu wurde ohne Merge geschlossen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 64/100
sourcebot-dev/sourcebot#1704 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
[bug] Local repositories with a space or non-ASCII character in the path cannot be indexedEvtl. wieder frei Ein Pull Request dazu wurde ohne Merge geschlossen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 35/100
sourcebot-dev/sourcebot#1689 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in sourcebot-dev/sourcebot
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
NousResearch/hermes-agent#136483 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 86/100
Maintainer antworten meist innerhalb von 1 Tag
-
Tool errors containing cycles or BigInt crash getErrorMessage and replace the original failureOffenfactory-active factory-automatic task-bug-reproduction-success task-identify-harness-labels-done task-identify-issue-type-done
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
vercel/ai#22796 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
[Bug]: Web chat input doesn't regain focus after a reply finishesEvtl. vergeben @GaijinSystems hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
zeroclaw-labs/zeroclaw#11658 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
babylonlabs-io/babylon-toolkit#2711 ·
Maintainer antworten meist innerhalb von 1 Tag