feat: contextmenu deel move toegevoegd

This commit is contained in:
kodi
2026-03-14 09:54:21 +01:00
parent 054e736aa6
commit 84f3eedb74
5 changed files with 19 additions and 0 deletions
Binary file not shown.
@@ -72,6 +72,7 @@ class UiSmokeGoldenTest(unittest.TestCase):
self.assertIn('id="context-menu-scope"', body)
self.assertIn('id="context-menu-target"', body)
self.assertIn('id="context-menu-rename-btn"', body)
self.assertIn('id="context-menu-move-btn"', body)
self.assertIn('id="context-menu-delete-btn"', body)
self.assertIn('id="settings-btn"', body)
self.assertIn('id="rename-btn"', body)
@@ -210,6 +211,7 @@ class UiSmokeGoldenTest(unittest.TestCase):
self.assertIn('function closeContextMenu()', app_js)
self.assertIn('function applyContextMenuSelection()', app_js)
self.assertIn('function startContextMenuRename()', app_js)
self.assertIn('function startContextMenuMove()', app_js)
self.assertIn('function startContextMenuDelete()', app_js)
self.assertIn('selectedPathsSet.has(entry.path)', app_js)
self.assertIn('entry.isParent', app_js)
@@ -218,7 +220,9 @@ class UiSmokeGoldenTest(unittest.TestCase):
self.assertIn('if (!row) {', app_js)
self.assertIn('closeContextMenu();', app_js)
self.assertIn('elements.renameButton.classList.toggle("hidden", isMulti);', app_js)
self.assertIn('elements.moveButton.classList.remove("hidden");', app_js)
self.assertIn('openRenamePopup();', app_js)
self.assertIn('openF6Flow();', app_js)
self.assertIn('deleteSelected();', app_js)
self.assertIn('document.getElementById("upload-menu-toggle").onclick = (event) => {', app_js)
self.assertIn('document.getElementById("upload-folder-btn").onclick = openFolderPicker;', app_js)