fix(files): browse ignored files and load folders on demand - #11527
Merged
maria-rcks merged 3 commits intoSep 13, 2026
Merged
maria-rcks merged 3 commits into
maria-rcks merged 3 commits into
MacroscopeApp / Macroscope - Correctness Check
succeeded
Sep 13, 2026 in 1m 38s
No issues identified (3 code objects reviewed).
• Reviewed files modified since
41c6248; other PR files not modified since then were skipped.
• Merge Base:0c5771d
• Head:00b45de
Details
| ✅ | File Path | U3 Bytes | Comments Posted | Reason |
|---|---|---|---|---|
| ✅ | apps/mobile/src/features/files/useFileTreeEntries.ts |
3414 | 0 | |
| ✅ | apps/web/src/components/files/useDirectoryEntries.ts |
1690 | 0 | |
| ✅ | apps/web/src/components/files/FileBrowserPanel.tsx |
631 | 0 |
Billed Total: 10.00KB of diff | $0.50 (This review was charged at our per-review byte minimum of 10.00KB. Learn more here)
Filtered Issues Details
apps/web/src/components/files/useDirectoryEntries.ts
- line 86: When
cwdorenvironmentIdchanges while a previousloadis in flight, the effect cleanup setsactive.currenttofalsebut the replacement effect immediately sets that shared ref back totrue. The old request then passes theactive.currentchecks and writes its entries/errors into the state for the new workspace;directories,loaded, andrequestsare also never reset. This can show files from the prior environment (and can prevent the new root request when both use"") after switching projects. [ Previously rejected ]
Loading