Close workbench P0 resource lifecycle gaps
This commit is contained in:
@@ -3742,6 +3742,17 @@ fn build_tree_shell_html(
|
||||
.map((entry) => entry.nodeId),
|
||||
});
|
||||
|
||||
const buildFileTreeRuntimeEnvironment = () => ({
|
||||
visibleRowIds: visibleFileTreeRowIds,
|
||||
rows: Array.from(fileTreeRowById.values()).map((entry) => ({
|
||||
rowId: entry.rowId,
|
||||
rowKind: entry.rowKind,
|
||||
documentId: entry.documentId || null,
|
||||
assetId: entry.assetId || null,
|
||||
})),
|
||||
rootUri: sourceKind === "local_folder" ? rootUri || null : null,
|
||||
});
|
||||
|
||||
const readPageRuntimeState = (action, item) => {
|
||||
const actionKind = normalizeText(action?.kind).toLowerCase();
|
||||
const nodeId = normalizeText(action?.nodeId || item?.nodeId);
|
||||
|
||||
Reference in New Issue
Block a user