Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V3 make workflowdefinition have readonly #4068

Conversation

herblinernexxbizz
Copy link
Contributor

make it possible to have 'readonly' workflows

Comment on lines 7 to 15
import { ActivityNodeShape } from './shapes';
import { Activity, ActivityDeletedArgs, ActivityDescriptor, ActivitySelectedArgs, ChildActivitySelectedArgs, ContainerSelectedArgs, EditChildActivityArgs, GraphUpdatedArgs, WorkflowUpdatedArgs } from '../../models';
import { createGraph } from './graph-factory';
import { AddActivityArgs, Connection, Flowchart, FlowchartModel, FlowchartPathItem, LayoutDirection, RenameActivityArgs, UpdateActivityArgs } from './models';
import { NodeFactory } from "./node-factory";
import { Container } from "typedi";
import { createActivityLookup, EventBus, flatten, PortProviderRegistry, walkActivities } from "../../services";
import { ConnectionCreatedEventArgs, FlowchartEvents } from "./events";
import { ContextMenuAnchorPoint, ContextMenuItem } from "../../components/shared/context-menu/models";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many changes in this PR relate to different code style settings between your and my IDE. Although I like your styling better, it would be best if you can adjust your settings (ideally, via some config file part of this repo) and update your PR to only include the relevant changes to support readonly workflows.

@sfmskywalker
Copy link
Member

This PR looks good, I have tested it too, and it works well. If you could handle the style changes, then that would be perfect.

@sfmskywalker sfmskywalker merged commit 8c308cc into elsa-workflows:v3 Jun 12, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants