[arvados-workbench2] updated: 2.6.0-106-g778531e6

git repository hosting git at public.arvados.org
Mon Sep 18 23:05:57 UTC 2023


Summary of changes:
 cypress/integration/collection.spec.js             |  2 +-
 .../action-sets/project-admin-action-set.ts        | 99 +++++++++++++---------
 2 files changed, 60 insertions(+), 41 deletions(-)

       via  778531e6b32ee2de9ca4a5f58e7c281330b8f2a4 (commit)
       via  cc10d951ab00b84ef5534a74e2aaa538fbc05801 (commit)
      from  a646dc012008ba2f73e5b3707598640fa5f9f1c3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 778531e6b32ee2de9ca4a5f58e7c281330b8f2a4
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Mon Sep 18 19:05:53 2023 -0400

    15768: all favorites specs pass Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/src/views-components/context-menu/action-sets/project-admin-action-set.ts b/src/views-components/context-menu/action-sets/project-admin-action-set.ts
index 3faf675d..490bf3e3 100644
--- a/src/views-components/context-menu/action-sets/project-admin-action-set.ts
+++ b/src/views-components/context-menu/action-sets/project-admin-action-set.ts
@@ -7,56 +7,75 @@ import { TogglePublicFavoriteAction } from "views-components/context-menu/action
 import { togglePublicFavorite } from "store/public-favorites/public-favorites-actions";
 import { publicFavoritePanelActions } from "store/public-favorites-panel/public-favorites-action";
 
-import { shareAction, toggleFavoriteAction, openInNewTabMenuAction, copyToClipboardMenuAction, viewDetailsAction, advancedAction, openWith3rdPartyClientAction, freezeProjectAction, editProjectAction, moveToAction, toggleTrashAction, newProjectAction } from "views-components/context-menu/action-sets/project-action-set";
-
-export const togglePublicFavoriteAction = {
-    component: TogglePublicFavoriteAction,
-    name: 'TogglePublicFavoriteAction',
-    execute: (dispatch, resource) => {
-        dispatch(togglePublicFavorite(resource)).then(() => {
-            dispatch(publicFavoritePanelActions.REQUEST_ITEMS());
-        });
-}}
-
-export const projectAdminActionSet: ContextMenuActionSet = [[
+import {
+    shareAction,
     toggleFavoriteAction,
     openInNewTabMenuAction,
     copyToClipboardMenuAction,
     viewDetailsAction,
     advancedAction,
     openWith3rdPartyClientAction,
+    freezeProjectAction,
     editProjectAction,
-    shareAction,
     moveToAction,
     toggleTrashAction,
     newProjectAction,
-    freezeProjectAction,
-    togglePublicFavoriteAction
-]];
+} from "views-components/context-menu/action-sets/project-action-set";
 
-export const filterGroupAdminActionSet: ContextMenuActionSet = [[
-    toggleFavoriteAction,
-    openInNewTabMenuAction,
-    copyToClipboardMenuAction,
-    viewDetailsAction,
-    advancedAction,
-    openWith3rdPartyClientAction,
-    editProjectAction,
-    shareAction,
-    moveToAction,
-    toggleTrashAction,
-    togglePublicFavoriteAction
-]];
+export const togglePublicFavoriteAction = {
+    component: TogglePublicFavoriteAction,
+    name: "TogglePublicFavoriteAction",
+    execute: (dispatch, resources) => {
+        dispatch(togglePublicFavorite(resources[0])).then(() => {
+            dispatch(publicFavoritePanelActions.REQUEST_ITEMS());
+        });
+    },
+};
 
+export const projectAdminActionSet: ContextMenuActionSet = [
+    [
+        toggleFavoriteAction,
+        openInNewTabMenuAction,
+        copyToClipboardMenuAction,
+        viewDetailsAction,
+        advancedAction,
+        openWith3rdPartyClientAction,
+        editProjectAction,
+        shareAction,
+        moveToAction,
+        toggleTrashAction,
+        newProjectAction,
+        freezeProjectAction,
+        togglePublicFavoriteAction,
+    ],
+];
 
-export const frozenAdminActionSet: ContextMenuActionSet = [[
-    shareAction,
-    togglePublicFavoriteAction,
-    toggleFavoriteAction,
-    openInNewTabMenuAction,
-    copyToClipboardMenuAction,
-    viewDetailsAction,
-    advancedAction,
-    openWith3rdPartyClientAction,
-    freezeProjectAction
-]];
+export const filterGroupAdminActionSet: ContextMenuActionSet = [
+    [
+        toggleFavoriteAction,
+        openInNewTabMenuAction,
+        copyToClipboardMenuAction,
+        viewDetailsAction,
+        advancedAction,
+        openWith3rdPartyClientAction,
+        editProjectAction,
+        shareAction,
+        moveToAction,
+        toggleTrashAction,
+        togglePublicFavoriteAction,
+    ],
+];
+
+export const frozenAdminActionSet: ContextMenuActionSet = [
+    [
+        shareAction,
+        togglePublicFavoriteAction,
+        toggleFavoriteAction,
+        openInNewTabMenuAction,
+        copyToClipboardMenuAction,
+        viewDetailsAction,
+        advancedAction,
+        openWith3rdPartyClientAction,
+        freezeProjectAction,
+    ],
+];

commit cc10d951ab00b84ef5534a74e2aaa538fbc05801
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Mon Sep 18 15:58:21 2023 -0400

    15768: all collection specs pass Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/cypress/integration/collection.spec.js b/cypress/integration/collection.spec.js
index 8145ec3f..719a75fa 100644
--- a/cypress/integration/collection.spec.js
+++ b/cypress/integration/collection.spec.js
@@ -1011,7 +1011,7 @@ describe("Collection panel tests", function () {
                         // subdir gets unselected, I think this is a bug but
                         // for the time being let's just make sure the test works.
                         cy.get("[data-cy=collection-files-panel]").contains("subdir").click();
-                        cy.waitForDom().get("[data-cy=collection-files-right-panel]").contains("5mb_b.bin").should("exist");
+                        cy.waitForDom({ ficre: true }).get("[data-cy=collection-files-right-panel]").contains("5mb_b.bin").should("exist");
                     });
                 });
             });

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list