feat: Add children_json update to scan system
Problem: - Home folder could not expand (children_json was empty) - UI tree view showed flat structure Solution: - Add step [5/5] to update children_json for all folders - Use SQL: json_group_array(node_id) to collect child IDs - Update 802 folders after node insertion Performance: - Children JSON update: 1.55s (74% of total time) - Total scan time: 2.08s (vs 0.89s without children) Result: - Home folder has 805 children ✅ - Tree structure fully functional ✅ - API returns correct children array ✅ Files: - src/scan.rs (added children_json update step)
This commit is contained in:
Binary file not shown.
Reference in New Issue
Block a user