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 --- .../meshbay-hub/src/meshbay_hub/static/files-app.js | 19 ++++++++++++++----- .../meshbay-hub/tests/test_upload_controls_hidden.py | 2 +- 2 files changed, 15 insertions(+), 6 deletions(-) (limited to 'packages') diff --git a/packages/meshbay-hub/src/meshbay_hub/static/files-app.js b/packages/meshbay-hub/src/meshbay_hub/static/files-app.js index d6cb3b9..195c385 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/files-app.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/files-app.js @@ -345,11 +345,6 @@ function FilesPanel({ onChange=${uploadFile} /> `} - ${canCreateDir && html` - - `}