From 3d8c1acf785ff7389a68cc515a5c9324dee8de41 Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Wed, 23 Sep 2026 15:21:30 +0200 Subject: feat(hub): right-click menu in the Files tab MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The toolbar's actions on the row under the pointer, sharing one action list with the toolbar — which keeps showing what does not apply, disabled, while the menu leaves it out. A count only where more than one item is concerned. Co-Authored-By: Claude Opus 5 --- packages/meshbay-hub/tests/test_spa_ordering.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packages/meshbay-hub/tests/test_spa_ordering.py') diff --git a/packages/meshbay-hub/tests/test_spa_ordering.py b/packages/meshbay-hub/tests/test_spa_ordering.py index ba042d1..1c36d09 100644 --- a/packages/meshbay-hub/tests/test_spa_ordering.py +++ b/packages/meshbay-hub/tests/test_spa_ordering.py @@ -273,7 +273,9 @@ def test_a_multi_file_download_waits_for_each_picker(): # Anchored on the loop rather than on the markup around it: the toolbar # moved from a dropdown to icon buttons and took the old wrapper with it, # while the property under test — one picker at a time — did not change. - block = app[app.index("for (const e of selectedFiles)"):] + # The loop is over `files` since the toolbar and the right-click menu + # share one action list. + block = app[app.index("for (const e of files)"):] block = block[:block.index("\n")] assert "await downloadFile(e)" in block, ( "downloads are fired without awaiting again; only the first will ask " -- cgit v1.2.3