gui: sidebar tree model fix — only container nodes, improved DnD + context menu
- Backend: ListWorkspaceTree/ListWorkspaceChildren filter to container types only (case, client, project, folder, document, recipe) - TreeNode: full-row context menu (removed label stopPropagation), double-click toggles expand, icon-click toggles expand, DnD auto-expand on 500ms hover, auto-scroll near edges, drag-over highlight via classList - App.svelte: toggleExpand uses ListWorkspaceChildren, submitCreateNode uses ListWorkspaceChildren for child tree population - Note/file nodes no longer appear in the sidebar workspace tree
This commit is contained in:
@@ -16,8 +16,8 @@
|
||||
background: #13131f;
|
||||
}
|
||||
</style>
|
||||
<script type="module" crossorigin src="/assets/main-CBFn_7kC.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/main-C49DuBq6.css">
|
||||
<script type="module" crossorigin src="/assets/main-Dt9BLCiY.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/main-CHi9sCXv.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
Reference in New Issue
Block a user