Stop hanging after KiCad folder permission.
Apri progetto walked every nested file (HubAudio .history ~2000) so onFilesChange never ran and Next stayed disabled. Read only kicad_pro, sch, and pcb in the project dir; timeout to an error; enable Next when .kicad_pro is in.
This commit is contained in:
@@ -2,6 +2,13 @@
|
||||
|
||||
What's new in Periscope.
|
||||
|
||||
## 2.60.9 — 2026-09-21 — Apri progetto does not walk forever
|
||||
|
||||
After folder permission, 2.60.8 kept `Next` disabled because `showDirectoryPicker` then recursed `dirHandle.entries()` / `getFile()` through the whole tree (HubAudio `.history` is ~2000 files). We only read the project directory: `.kicad_pro`, `.kicad_sch`, `.kicad_pcb`. Timeout shows an error instead of a spinner forever. Next enables when a `.kicad_pro` is in.
|
||||
|
||||
- [Fixed] Folder pick no longer hangs on nested dirs / permission / giant trees.
|
||||
- [Fixed] Next on step 1 when `.kicad_pro` is present.
|
||||
|
||||
## 2.60.8 — 2026-09-21 — Folder picker, not Carica file dialog
|
||||
|
||||
Apri progetto opened the Mac file list (**Carica**, no row selected) because the control was a React `<input type="file" accept="">` without a working `webkitdirectory`. Empty Carica then looked like “no .kicad_pro”. It now uses `showDirectoryPicker` (Chrome) or a hidden input created with `webkitdirectory=true` and **no accept**. Cancel/empty pick is ignored.
|
||||
|
||||
Reference in New Issue
Block a user