Commit df6cd79
committed
Onboarding: push failed listings to nav history; cleaner restricted-folder icons
- `FilePane.svelte` now pushes the path to navigation history on listing error too,
not only on `listing-complete`. Without this, navigating to a TCC-restricted folder
showed the `ErrorPane` but left the path missing from history — Cmd+[ then jumped
back two visual steps instead of one. `pushPath` deduplicates same-path retries, so
hammering "Try again" doesn't bloat the stack.
- `VolumeBreadcrumb.svelte` falls back to the generic Aqua folder icon (the cached
`dir` icon) for sidebar entries whose path is in the TCC-restricted set, both in the
closed breadcrumb and dropdown rows. `NSWorkspace.iconForFile:` on a TCC-denied path
returns a confusing "no access" placeholder; preferring the generic folder icon
keeps the favorites visually consistent with the rest of the sidebar.1 parent 6581f5a commit df6cd79
2 files changed
Lines changed: 15 additions & 1 deletion
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | | - | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
487 | 491 | | |
488 | 492 | | |
489 | 493 | | |
| |||
579 | 583 | | |
580 | 584 | | |
581 | 585 | | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
582 | 590 | | |
583 | 591 | | |
584 | 592 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1030 | 1030 | | |
1031 | 1031 | | |
1032 | 1032 | | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
1033 | 1039 | | |
1034 | 1040 | | |
1035 | 1041 | | |
| |||
0 commit comments