The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Ability to navigate/scroll the workflow canvas with sliding two fingers (#14804)
Willy Douhard6c4ae1ae3366
diff --git a/.mcp.json b/.mcp.jsonnew file mode 100644index 00000000000..5fb6f5e3851--- /dev/null+++ b/.mcp.json@@ -0,0 +1,24 @@+{+ "mcpServers": {+ "postgres": {+ "type": "stdio",+ "command": "uv",+ "args": ["run", "postgres-mcp", "--access-mode=unrestricted"],+ "env": {+ "DATABASE_URI": "${PG_DATABASE_URL}"+ }+ },+ "playwright": {+ "type": "stdio",+ "command": "npx",+ "args": ["@playwright/mcp@latest", "--no-sandbox", "--headless"],+ "env": {}+ },+ "context7": {+ "type": "stdio",+ "command": "npx",+ "args": ["-y", "@upstash/context7-mcp"],+ "env": {}+ }+ }+}diff --git a/CLAUDE.md b/CLAUDE.mdindex 4533575cd4b..e7a178b810c 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -29,6 +29,9 @@ npx nx run twenty-server:test:integration:with-db-reset # Integration tests wit# Storybooknpx nx storybook:build twenty-front # Build Storybooknpx nx storybook:serve-and-test:static twenty-front # Run Storybook tests+++When testing the UI end to end, click on "Continue with Email" and use the prefilled credentials.```### Code Quality@@ -122,6 +125,8 @@ packages/## Development Workflow+IMPORTANT: Use Context7 for code generation, setup or configuration steps, or library/API documentation. Automatically use the Context7 MCP tools to resolve library IDs and get library docs without waiting for explicit requests.+### Before Making Changes1. Always run linting and type checking after code changes2. Test changes with relevant test suitesdiff --git a/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramCanvasBase.tsx b/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramCanvasBase.tsxindex 1632f1bf481..7af1551314b 100644--- a/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramCanvasBase.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramCanvasBase.tsx@@ -496,10 +496,11 @@ export const WorkflowDiagramCanvasBase = ({nodesDraggable={nodesDraggable}edgesFocusable={isDefined(onDeleteEdge)}panOnDrag={workflowDiagramPanOnDrag}+ panOnScroll={true}onPaneContextMenu={onPaneContextMenu}nodesConnectable={nodesConnectable}paneClickDistance={10} // Fix small unwanted user dragging does not select node- preventScrolling={false}+ preventScrolling={true}connectionLineComponent={WorkflowDiagramConnection}connectionRadius={0}>