[arvados-workbench2] updated: 2.7.0-224-g9abfb0e9
git repository hosting
git at public.arvados.org
Tue Nov 28 15:12:11 UTC 2023
Summary of changes:
src/components/multiselect-toolbar/MultiselectToolbar.tsx | 1 +
src/components/multiselect-toolbar/ms-toolbar-action-filters.ts | 4 +++-
2 files changed, 4 insertions(+), 1 deletion(-)
via 9abfb0e904ade65b664853f452f09cabfefe415b (commit)
from 85899f6ce61b01a87c09af6d0983d337a50d4955 (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 9abfb0e904ade65b664853f452f09cabfefe415b
Author: Lisa Knox <lisaknox83 at gmail.com>
Date: Tue Nov 28 10:12:08 2023 -0500
21128: filter groups works Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>
diff --git a/src/components/multiselect-toolbar/MultiselectToolbar.tsx b/src/components/multiselect-toolbar/MultiselectToolbar.tsx
index 689384da..551a4edc 100644
--- a/src/components/multiselect-toolbar/MultiselectToolbar.tsx
+++ b/src/components/multiselect-toolbar/MultiselectToolbar.tsx
@@ -151,6 +151,7 @@ const resourceSubKind = (uuid: string, resources: ResourcesState) => {
case ResourceKind.PROJECT:
if(resourceIsFrozen(resource, resources)) return [msResourceKind.PROJECT_FROZEN]
if((resource as ProjectResource).canWrite === false) return [msResourceKind.PROJECT_READONLY]
+ if((resource as ProjectResource).groupClass === "filter") return [msResourceKind.PROJECT_FILTER]
return [msResourceKind.PROJECT]
default:
return [resource.kind]
diff --git a/src/components/multiselect-toolbar/ms-toolbar-action-filters.ts b/src/components/multiselect-toolbar/ms-toolbar-action-filters.ts
index de6cbc61..950996a7 100644
--- a/src/components/multiselect-toolbar/ms-toolbar-action-filters.ts
+++ b/src/components/multiselect-toolbar/ms-toolbar-action-filters.ts
@@ -67,6 +67,7 @@ export enum msResourceKind {
PROJECT = "arvados#group",
PROJECT_FROZEN = "arvados#group_frozen",
PROJECT_READONLY = "arvados#group_readonly",
+ PROJECT_FILTER = "arvados#group_filter",
REPOSITORY = "arvados#repository",
SSH_KEY = "arvados#authorizedKeys",
KEEP_SERVICE = "arvados#keepService",
@@ -76,7 +77,7 @@ export enum msResourceKind {
NONE = "arvados#none"
}
-const { COLLECTION, PROCESS, PROJECT, PROJECT_FROZEN, PROJECT_READONLY, WORKFLOW } = msResourceKind;
+const { COLLECTION, PROCESS, PROJECT, PROJECT_FROZEN, PROJECT_READONLY,PROJECT_FILTER, WORKFLOW } = msResourceKind;
export const multiselectActionsFilters: TMultiselectActionsFilters = {
[COLLECTION]: [msCollectionActionSet, allActionNames(msCollectionActionSet)],
@@ -84,6 +85,7 @@ export const multiselectActionsFilters: TMultiselectActionsFilters = {
[PROJECT]: [msProjectActionSet, projectMSActionsFilter],
[PROJECT_FROZEN]: [msProjectActionSet, allActionNames(msFrozenActionSet)],
[PROJECT_READONLY]: [msProjectActionSet, allActionNames(msReadOnlyProjectActionSet)],
+ [PROJECT_FILTER]: [msProjectActionSet, allActionNames(msFilterGroupActionSet)],
[WORKFLOW]: [msWorkflowActionSet, workflowMSActionFilter]
};
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list