Fix remote browser/editor tab props persistence (#5847)

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
Jinwoo Hong
2026-06-19 17:01:10 -07:00
committed by GitHub
co-authored by Orca
parent 0562240a92
commit 8ef8596ba1
9 changed files with 553 additions and 65 deletions
+6
View File
@@ -152,6 +152,9 @@ export type RuntimeMobileSessionMarkdownTab = {
sourceFilePath: string
sourceRelativePath: string
documentVersion: string
/** Tab-level color/pin, host-persisted for remote servers. */
color?: string | null
isPinned?: boolean
}
export type RuntimeMobileSessionFileTab = {
@@ -164,6 +167,9 @@ export type RuntimeMobileSessionFileTab = {
mode?: 'edit' | 'diff'
diffSource?: 'staged' | 'unstaged'
isDirty: boolean
/** Tab-level color/pin, host-persisted for remote servers. */
color?: string | null
isPinned?: boolean
isActive: boolean
}