mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-10-28 07:03:20 +08:00
Clicking "None" (disable all filters) clears every label and edge type, making filteredData.nodes empty. The early return then replaced the whole layout — including the left filter sidebar — with a centered "All nodes filtered out / Reset Filters" message, leaving no way to re-enable individual filters without resetting everything. Narrow the early return to the genuinely-empty / no-data case and render the "all filtered out" state inside the graph area instead, so the FilterPanel and Sidebar stay mounted. As a side effect, a project with zero nodes now correctly reads "No nodes in this project" rather than "All nodes filtered out". Add a regression test that disables all filters via "None" and asserts the Filters sidebar remains in the document. Signed-off-by: Zadak <rarepops@protonmail.com>