Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/staging' into add-standard-devia…
Browse files Browse the repository at this point in the history
…tion-and-variance-aggregations
  • Loading branch information
Pawel Czajka committed Dec 12, 2024
2 parents c8f2e76 + 671cc85 commit ec2dbd3
Show file tree
Hide file tree
Showing 68 changed files with 857 additions and 501 deletions.
4 changes: 2 additions & 2 deletions designer/client/cypress/e2e/connectionError.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ describe("Connection error", () => {

const statusIntervalTick = 10000;
const visibleStatusToastMessageBeforeConnectionError = () => {
cy.intercept("/api/processes/*/status", { statusCode: 502 });
cy.intercept("/api/processes/*/status?currentlyPresentedVersionId=*", { statusCode: 502 });

// Check if the status toast message is not visible after the backend connection issue. We need to speed up interval to not wait 12s for a request
cy.contains(/Cannot fetch status/).should("be.visible");

cy.intercept("/api/processes/*/status", (req) => {
cy.intercept("/api/processes/*/status?currentlyPresentedVersionId=*", (req) => {
req.continue();
});
};
Expand Down
142 changes: 71 additions & 71 deletions designer/client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion designer/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
"babel-loader": "8.2.3",
"babel-plugin-istanbul": "6.1.1",
"chalk": "4.1.2",
"chevrotain": "11.0.3",
"chevrotain": "10.5.0",
"color": "4.2.0",
"copy-webpack-plugin": "11.0.0",
"crypto-browserify": "3.12.0",
Expand Down
4 changes: 2 additions & 2 deletions designer/client/src/actions/nk/process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ export function fetchProcessToDisplay(processName: ProcessName, versionId?: Proc
};
}

export function loadProcessState(processName: ProcessName): ThunkAction {
export function loadProcessState(processName: ProcessName, processVersionId: number): ThunkAction {
return (dispatch) =>
HttpService.fetchProcessState(processName).then(({ data }) =>
HttpService.fetchProcessState(processName, processVersionId).then(({ data }) =>
dispatch({
type: "PROCESS_STATE_LOADED",
processState: data,
Expand Down
2 changes: 1 addition & 1 deletion designer/client/src/components/graph/PanZoomPlugin.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/* @refresh reset */
import { dia, g } from "jointjs";
import { throttle } from "lodash";
import { isVisualTesting } from "../../devHelpers";
import { GlobalCursor } from "./GlobalCursor";
import { select, Selection } from "d3-selection";
import { D3ZoomEvent, zoom, ZoomBehavior, ZoomedElementBaseType, zoomIdentity, ZoomTransform } from "d3-zoom";
import { rafThrottle } from "./rafThrottle";
import { isVisualTesting } from "../toolbarSettings/DEV_TOOLBARS";

function isModified(event: MouseEvent | TouchEvent) {
return event.shiftKey || event.ctrlKey || event.altKey || event.metaKey;
Expand Down
Loading

0 comments on commit ec2dbd3

Please sign in to comment.