ymq
|
b601dc94c3
|
fix: workspace_tree 叶子判定排除 __pycache__(与扫描一致)
tests/detector 仅含 __pycache__ 子目录,之前 is_leaf 判定把它算作子目录导致误标非叶子。
修正:叶子判定排除隐藏目录和 __pycache__,与下方目录扫描规则一致。
|
2026-08-15 01:45:12 +08:00 |
|
ymq
|
d5fc14ae1c
|
fix: workspace_tree 叶子判定——无子目录的目录标 is_leaf=true
原把所有目录硬编码 is_leaf:false,导致无子目录的目录(叶子)也被当成可展开的非叶子。
改为扫描子目录判断 has_subdir,is_leaf = not has_subdir。
|
2026-08-15 01:40:08 +08:00 |
|
ymq
|
b9a458af53
|
refactor: 8 个 workspace dspy 内联重复逻辑收敛到 get_workspace_dir/get_workspace_base
|
2026-08-14 18:07:38 +08:00 |
|
ymq
|
ebcb89da56
|
refactor: workspace_base 从 appbase params 表读(去硬编码,params 表不存在时用默认值兜底)
|
2026-08-14 15:59:55 +08:00 |
|
p
|
e0d095cb04
|
tree: fix __root__ expansion returns subdirs
|
2026-08-13 14:26:56 +08:00 |
|
p
|
ef39d586bb
|
tree: root only initially, click to expand
|
2026-08-12 18:44:40 +08:00 |
|
p
|
3349bb1b33
|
tree: nested children for initial load
|
2026-08-12 18:39:46 +08:00 |
|
p
|
af7d7fc716
|
tree: lazy-load children only
|
2026-08-12 18:37:51 +08:00 |
|
p
|
8a095c712c
|
workspace: full tree dspy + urlwidget button + PopupWindow binds
|
2026-08-12 18:09:49 +08:00 |
|
p
|
61fb3f6485
|
fix: workspace_tree id=__root__ returns children
|
2026-08-12 16:51:30 +08:00 |
|
p
|
340dcf0fd0
|
workspace: tree lazy-load with id param
|
2026-08-12 16:48:34 +08:00 |
|
p
|
222d3e2e75
|
workspace: tree dirs only, left 280px, right filler
|
2026-08-12 15:17:06 +08:00 |
|
p
|
6408406cd9
|
workspace: relative path ids, is_leaf, workspace_files uses ws_dir
|
2026-08-12 15:13:25 +08:00 |
|
ymq
|
8908112a65
|
feat: Tree+dataurl workspace (RAG pattern); shortcut files
|
2026-08-12 12:40:05 +08:00 |
|