[arvados] updated: 2.7.0-5936-g7d355f5ebd
git repository hosting
git at public.arvados.org
Thu Feb 1 17:09:18 UTC 2024
Summary of changes:
.../src/components/multiselect-toolbar/MultiselectToolbar.tsx | 2 +-
.../src/components/multiselect-toolbar/ms-toolbar-overflow-wrapper.tsx | 3 +--
.../workbench2/src/views/all-processes-panel/all-processes-panel.tsx | 3 ++-
3 files changed, 4 insertions(+), 4 deletions(-)
via 7d355f5ebdeffa4dbdc9cb3544c99390060ee927 (commit)
from 1200472db41ac1494849f894a8c345d41cd830fd (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 7d355f5ebdeffa4dbdc9cb3544c99390060ee927
Author: Lisa Knox <lisaknox83 at gmail.com>
Date: Thu Feb 1 12:07:04 2024 -0500
21427: applied rowselect to all processes panel Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>
diff --git a/services/workbench2/src/components/multiselect-toolbar/MultiselectToolbar.tsx b/services/workbench2/src/components/multiselect-toolbar/MultiselectToolbar.tsx
index 2d255f163d..6500593166 100644
--- a/services/workbench2/src/components/multiselect-toolbar/MultiselectToolbar.tsx
+++ b/services/workbench2/src/components/multiselect-toolbar/MultiselectToolbar.tsx
@@ -126,7 +126,7 @@ export const MultiselectToolbar = connect(
data-cy='multiselect-toolbar'
>
{actions.length ? (
- <IntersectionObserverWrapper menuLength={actions.length} isTransitioning>
+ <IntersectionObserverWrapper menuLength={actions.length}>
{actions.map((action, i) =>{
const { hasAlts, useAlts, name, altName, icon, altIcon } = action;
return hasAlts ? (
diff --git a/services/workbench2/src/components/multiselect-toolbar/ms-toolbar-overflow-wrapper.tsx b/services/workbench2/src/components/multiselect-toolbar/ms-toolbar-overflow-wrapper.tsx
index 47b019e0ff..1f683b6013 100644
--- a/services/workbench2/src/components/multiselect-toolbar/ms-toolbar-overflow-wrapper.tsx
+++ b/services/workbench2/src/components/multiselect-toolbar/ms-toolbar-overflow-wrapper.tsx
@@ -38,7 +38,6 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
type WrapperProps = {
children: OverflowChild[];
menuLength: number;
- isTransitioning: boolean;
};
export const IntersectionObserverWrapper = withStyles(styles)((props: WrapperProps & WithStyles<CssRules>) => {
@@ -64,7 +63,7 @@ export const IntersectionObserverWrapper = withStyles(styles)((props: WrapperPro
setVisibilityMap((prev) => ({
...prev,
...updatedEntries,
- [lastEntryId]: !props.isTransitioning && Object.keys(updatedEntries)[0] === lastEntryId,
+ [lastEntryId]: Object.keys(updatedEntries)[0] === lastEntryId,
}));
};
diff --git a/services/workbench2/src/views/all-processes-panel/all-processes-panel.tsx b/services/workbench2/src/views/all-processes-panel/all-processes-panel.tsx
index 0ccb0502cb..88360ebcec 100644
--- a/services/workbench2/src/views/all-processes-panel/all-processes-panel.tsx
+++ b/services/workbench2/src/views/all-processes-panel/all-processes-panel.tsx
@@ -31,7 +31,7 @@ import { createTree } from "models/tree";
import { getInitialProcessStatusFilters, getInitialProcessTypeFilters } from "store/resource-type-filters/resource-type-filters";
import { getProcess } from "store/processes/process";
import { ResourcesState } from "store/resources/resources";
-import { toggleOne } from "store/multiselect/multiselect-actions";
+import { toggleOne, deselectAllOthers } from "store/multiselect/multiselect-actions";
type CssRules = "toolbar" | "button" | "root";
@@ -145,6 +145,7 @@ export const AllProcessesPanel = withStyles(styles)(
handleRowClick = (uuid: string) => {
this.props.dispatch<any>(toggleOne(uuid))
+ this.props.dispatch<any>(deselectAllOthers(uuid))
this.props.dispatch<any>(loadDetailsPanel(uuid));
};
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list