дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 11:15:40 +02:00
fix(notebook): send the notebook path to the UI with forward slashes (#1466)
* fix(notebook): send the notebook path to the UI with forward slashes On Windows a notebook's snapshot and output events carried its canonical path as `to_string_lossy()` (`C:\a\b.ipynb`), and the UI uses that path as the notebook tab's identity, while the project tree and editor name the same file `C:/a/b.ipynb`. NotebookSnapshot.path and NotebookOutputEvent.path are now IpcPath, like the other path fields on the IPC boundary (#1456 did the same for Spring route sources and Add to .gitignore). * chore: regenerate bindings for the notebook IpcPath fields --------- Co-authored-by: l0ng-ai <[email protected]>
Цей коміт міститься в:
1 джерело
1aec21b43f
коміт
4a217a4473
3 files changed
+18
-8
No files matched your search
@@ -5342,7 +5342,7 @@ export type NotebookEdit = { type: "setSource"; cell: string; source: string } |
|
||||
|
||||
export type NotebookOutputEvent = {
|
||||
id: string,
|
||||
path: string,
|
||||
path: IpcPath,
|
||||
cell: string,
|
||||
msgId: string,
|
||||
kind: string,
|
||||
@@ -5354,7 +5354,7 @@ export type NotebookOutputEvent = {
|
||||
|
||||
export type NotebookSnapshot = {
|
||||
id: string,
|
||||
path: string,
|
||||
path: IpcPath,
|
||||
version: number,
|
||||
dirty: boolean,
|
||||
canUndo: boolean,
|
||||
|
||||
Reference in new issue
Заблокувати користувача