todo.txt integration

This commit is contained in:
2026-07-03 11:08:27 +02:00
parent 8c9b448bdc
commit 5e72b073b8
9 changed files with 458 additions and 36 deletions
+6 -3
View File
@@ -7,7 +7,9 @@
// omits the container).
(function () {
var container = document.querySelector('aside.tree-sidebar');
// The aside is shared with the todo widget (todo-rail.js); this script owns
// only the .tree-scroll child so neither feature clobbers the other.
var container = document.querySelector('aside.tree-sidebar .tree-scroll');
if (!container) return;
function joinPath(parent, name) {
@@ -188,8 +190,9 @@
}
// Mobile: the tree FAB sits at the bottom of the stacked FAB group and
// opens the rail's content in the full-viewport Overlay (overlay.js). The
// rail container always exists when not editing, so — per the layout spec —
// opens the tree's scroll container (not the whole aside — the todo widget
// has its own FAB/overlay) in the full-viewport Overlay (overlay.js). The
// container always exists when not editing, so — per the layout spec —
// the FAB always renders; the overlay auto-closes when a folder/file link
// inside it navigates. Hidden on desktop by .fab CSS.
function setupFab() {