From e2885fec8dcb3cd452899e2628d6e9ad5c70b01e Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Sun, 6 Sep 2026 02:48:28 +0200 Subject: feat(node): add ".." parent row in file explorer, hide mkdir button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Show a ".." row at the top of subdirectory listings to navigate back to the parent. No path traversal risk — currentPath is internal state built from the node's own index. Hide the mkdir button (not useful yet); update the upload-controls test marker accordingly. Co-Authored-By: Claude Opus 4.6 --- packages/meshbay-hub/tests/test_upload_controls_hidden.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/meshbay-hub/tests/test_upload_controls_hidden.py') diff --git a/packages/meshbay-hub/tests/test_upload_controls_hidden.py b/packages/meshbay-hub/tests/test_upload_controls_hidden.py index 955b47d..94917d2 100644 --- a/packages/meshbay-hub/tests/test_upload_controls_hidden.py +++ b/packages/meshbay-hub/tests/test_upload_controls_hidden.py @@ -47,7 +47,7 @@ def _component(app: str, name: str) -> str: def test_the_files_toolbar_hides_its_upload_button(): page = _component(FILES_APP.read_text(encoding="utf-8"), "FilesPanel") toolbar = page[page.index("file-toolbar"):] - toolbar = toolbar[:toolbar.index("group.mkdir")] + toolbar = toolbar[:toolbar.index("breadcrumbs")] assert "mayUpload &&" in toolbar, "the Upload button is offered regardless" -- cgit v1.2.3