From d6d641307a20be34a827ad2ae1488d9a50acc6d1 Mon Sep 17 00:00:00 2001 From: Michael Charfadi Date: Fri, 17 Jan 2025 17:14:37 +0100 Subject: [PATCH] [4437] Fix DialogContextProvider missing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://github.com/eclipse-sirius/sirius-web/issues/4437 Signed-off-by: Michaƫl Charfadi --- CHANGELOG.adoc | 1 + .../DiagramSubscriptionProvider.tsx | 21 +++++++++++-------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 7905898010..942307aa87 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -59,6 +59,7 @@ See https://github.com/mui/material-ui/issues/15618[this link] for additional de Before this contribution, migration participants were executed if the project being opened was a studio. Now they are executed for some data if the data was coming from a studio too. - https://github.com/eclipse-sirius/sirius-web/issues/4422[#4422] [diagram] Prevent application crash when an edge path is malformed during node moves +- https://github.com/eclipse-sirius/sirius-web/issues/4437[#4437] [diagram] Fix selection dialog not opening === New Features diff --git a/packages/diagrams/frontend/sirius-components-diagrams/src/representation/DiagramSubscriptionProvider.tsx b/packages/diagrams/frontend/sirius-components-diagrams/src/representation/DiagramSubscriptionProvider.tsx index 1a05ec3d3d..8976233113 100644 --- a/packages/diagrams/frontend/sirius-components-diagrams/src/representation/DiagramSubscriptionProvider.tsx +++ b/packages/diagrams/frontend/sirius-components-diagrams/src/representation/DiagramSubscriptionProvider.tsx @@ -15,6 +15,7 @@ import LinearProgress from '@mui/material/LinearProgress'; import Typography from '@mui/material/Typography'; import { memo, useEffect, useState } from 'react'; import { DiagramContext } from '../contexts/DiagramContext'; +import { DialogContextProvider } from '../dialog/DialogContext'; import { GQLDiagramEventPayload, GQLDiagramRefreshedEventPayload, @@ -67,15 +68,17 @@ export const DiagramSubscriptionProvider = memo( payload: payload, readOnly, }}> -
- -
+ +
+ +
+
);