dsh-better-workspace 0.9.2 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dsh.plugin.json +1 -1
- package/package.json +1 -1
- package/src/client.js +1 -3
package/dsh.plugin.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "dsh-external/dsh-better-workspace",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.3",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"description": "侧边栏工作区层级树:名称中的 / 即虚拟分组(web/前端 · web/后端),添加工作区的目录流附所属分组弹窗,重命名即时重排层级,可新建空分组。Hierarchy tree for the DSH sidebar workspace list.",
|
|
6
6
|
"engines": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-better-workspace",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.3",
|
|
4
4
|
"description": "DSH web plugin: a hierarchical workspace tree for the sidebar. Workspace titles containing \"/\" group into virtual folders (web/前端 · web/后端); the add-workspace directory flow gains a parent-group popup; renames re-derive the tree; a new-folder button creates empty levels.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
package/src/client.js
CHANGED
|
@@ -2294,7 +2294,6 @@ window.__ModuleLoader__.load({
|
|
|
2294
2294
|
const sessions = ctx.get('sessions')
|
|
2295
2295
|
const workspaces = ctx.get('workspaces')
|
|
2296
2296
|
const uiWorkspace = ctx.get('uiWorkspace')
|
|
2297
|
-
const connection = ctx.get('connection')
|
|
2298
2297
|
if (!sessions || !workspaces || !uiWorkspace) {
|
|
2299
2298
|
console.error('[dsh-better-workspace] required services missing', {
|
|
2300
2299
|
sessions: !!sessions, workspaces: !!workspaces, uiWorkspace: !!uiWorkspace,
|
|
@@ -2354,7 +2353,6 @@ window.__ModuleLoader__.load({
|
|
|
2354
2353
|
pickDirectory: () => uiWorkspace.pickDirectory(),
|
|
2355
2354
|
hooks: {
|
|
2356
2355
|
directoryFlow: flowSource(slots, 'sidebar.workspaces.directoryFlow'),
|
|
2357
|
-
connectionGeneration: connection ? connection.generation : undefined,
|
|
2358
2356
|
},
|
|
2359
2357
|
})
|
|
2360
2358
|
const flowInjected = (hole) => () => ({
|
|
@@ -2426,7 +2424,7 @@ window.__ModuleLoader__.load({
|
|
|
2426
2424
|
|
|
2427
2425
|
return {
|
|
2428
2426
|
name: 'dsh-better-workspace',
|
|
2429
|
-
inject: ['slots', 'sessions', 'workspaces', 'locale', '
|
|
2427
|
+
inject: ['slots', 'sessions', 'workspaces', 'locale', 'uiWorkspace'],
|
|
2430
2428
|
apply,
|
|
2431
2429
|
}
|
|
2432
2430
|
},
|