Repository navigation
Commit e3600f0
File menus: Open File, Open Parent Folder, fix preview/open-in-editor paths
Every file menu now offers the same OS actions from one helper
(apps/web/src/fileOpenMenu.ts): "Open File" (default app) or "Open Folder",
"Open Parent Folder" for files, then "Copy relative path" / "Copy full path".
- Chat file chips: "Reveal in File Explorer" becomes Open File + Open Parent
Folder. Preview media and Open in editor now resolve a bare filename through
the workspace index, as reveal and the files panel already did, instead of
joining it onto the workspace root (which named a file that does not exist).
"Open in editor" is hidden when the preferred editor is the file manager.
- Open-in picker (thread details card and the file preview header): the file
manager entry reads "Open Folder" / "Open File" and an "Open Parent Folder"
entry is added.
- Changed-files card, diff panel and files tree: Open File / Open Folder, Open
Parent Folder, Open with, Copy relative path, Copy full path. Folder rows in
the changed-files card get a menu (they fell through to the native one).
- Server: plain file-manager opens on Windows convert forward slashes to
backslashes (Explorer opens Documents for `C:/a/b.png`) and drop a
`:line[:col]` editor suffix.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>1 parent 28bdec5 commit e3600f0
13 files changed
Lines changed: 574 additions & 197 deletions
File tree
- apps
- server/src/process
- web/src
- components
- chat
- files
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
345 | 384 | | |
346 | 385 | | |
347 | 386 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
560 | 560 | | |
561 | 561 | | |
562 | 562 | | |
| 563 | + | |
563 | 564 | | |
564 | 565 | | |
565 | 566 | | |
566 | 567 | | |
567 | 568 | | |
568 | 569 | | |
569 | | - | |
570 | | - | |
| 570 | + | |
| 571 | + | |
571 | 572 | | |
572 | 573 | | |
573 | 574 | | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
574 | 587 | | |
575 | 588 | | |
576 | 589 | | |
| |||
605 | 618 | | |
606 | 619 | | |
607 | 620 | | |
| 621 | + | |
| 622 | + | |
608 | 623 | | |
609 | 624 | | |
610 | 625 | | |
| |||
0 commit comments