Files pane shows "Nothing here" on its first open after a page load
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 64/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- react, typescript
- Ambito
- frontend
Direzione di ricerca
Start by tracing the Files pane's loading and empty-state conditions, especially drive.mount, lazyTree.rootLoading, and FolderView; the issue does not name the relevant files or tests. Reproduce by hard-reloading with the pane closed, then opening it while watching the mounts request in DevTools. Done when the first open shows a loading state while mounts are unresolved and offers a retry if the mounts query fails.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happens
On `/m`, the first time you open a session's Files pane after a page load, the root folder shows "Nothing here". Close the pane and open it again, and the files show. Seen three times during v0.121.8 release QA on the oss stage.
Probable cause
Read from the code, not yet confirmed live. The behavior predates v0.121.8: the files that choose between the tree, the skeleton and the empty state did not change in that release.
- The agent-files side answers from cache, so the file count is above 0 and `drive.isLoading` is false.
- The session's mounts query is still pending, so `drive.mount` is null.
- The skeleton condition `drive.mount && lazyTree.rootLoading` is false, `useLazyDriveTree` mounts no root listing, and `FolderView` shows its empty state.
- On reopen, the mounts result is cached, so the tree loads.
To confirm
Hard-reload with the pane closed. In DevTools, filter the network on `mounts`, and open the pane. Check that the mounts request is still pending while "Nothing here" shows.
Fix idea
Show the skeleton while the session side has not resolved its mount, and show a retry if the mounts query fails.
- Lingua principale
- TypeScript
- Stelle
- 4.8k
- Fork
- 690
- Merge medio
- 18h 33m
- PR unite (30g)
- 424
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Agenta-AI/agenta
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Agenta-AI/agenta#7468 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
(bug) The Stop button disappears for a moment before an approval card showsForse già presa @rishu685 l’ha presa 6 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Agenta-AI/agenta#7446 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
Agenta-AI/agenta#7441 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
bug frontend
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
Agenta-AI/agenta#7426 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
No CI job runs the mobile app's unit testsForse già presa @Mahaboob-Ashraf l’ha presa 6 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Agenta-AI/agenta#7326 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Agenta-AI/agenta
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
vercel/streamdown#673 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
docs(stream-protocol): document messageMetatadata on start/finish and the message-metadata chunkApertafactory-active task-identify-harness-labels-done task-identify-issue-type-done
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
vercel/ai#23375 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
agilepathway/label-checker#721 ·
I maintainer di solito rispondono entro 1 giorno
-
CLI Empathy needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
chromaui/chromatic-cli#1524 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno