HEL-430: replace directory search picker with collapsible tree

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
美术师
2026-09-03 08:40:53 +08:00
co-authored by Cursor multica-agent
parent 8ceafe70b1
commit fbafb8015d
4 changed files with 219 additions and 131 deletions
+1 -1
View File
@@ -2857,7 +2857,7 @@ pageHeader($me, $taskTotal);
<form method="get" action="index.php" class="filter-bar" style="margin-top:12px;">
<div class="dir-picker" data-dir-picker data-selected="<?= $dirId ?>" data-dirs="<?= e(json_encode($dirPickerItems, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES)) ?>">
<input type="hidden" name="dir_id" value="<?= $dirId ?>">
<button type="button" class="dir-picker-trigger" data-dir-picker-trigger aria-haspopup="listbox" aria-expanded="false" aria-controls="jn-dir-picker" aria-label="按归档目录筛选" title="<?= e($dirPickerLabel) ?>">
<button type="button" class="dir-picker-trigger" data-dir-picker-trigger aria-haspopup="tree" aria-expanded="false" aria-controls="jn-dir-picker" aria-label="按归档目录筛选" title="<?= e($dirPickerLabel) ?>">
<span class="dir-picker-trigger-text"><?= e($dirPickerLabel) ?></span>
</button>
</div>