aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/tests
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-09-06 02:48:28 +0200
committerChristophe Besson <cbesson@gmail.com>2026-09-06 02:48:28 +0200
commite2885fec8dcb3cd452899e2628d6e9ad5c70b01e (patch)
tree3a41bb77d52d1a0c1205709ee288d2ed0160ebc3 /packages/meshbay-hub/tests
parent15c52d91f2efa73f3d1b6b06afed840fada29d8e (diff)
downloadmeshbay-e2885fec8dcb3cd452899e2628d6e9ad5c70b01e.tar.gz
feat(node): add ".." parent row in file explorer, hide mkdir button
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 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-hub/tests')
-rw-r--r--packages/meshbay-hub/tests/test_upload_controls_hidden.py2
1 files changed, 1 insertions, 1 deletions
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"