-
Notifications
You must be signed in to change notification settings - Fork 40
Added the posiblity to specify a target operator when creating a workflow/workflow instance. #519
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
Conversation
…creating a workflow/workflow instance. Closes #517 Signed-off-by: Jean-Baptiste Bianchi <jb.bianchi@neuroglia.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Cheers bro ❤️
…w details view Signed-off-by: Jean-Baptiste Bianchi <jb.bianchi@neuroglia.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds the ability to specify a target operator when creating workflows and workflow instances, addressing issue #517. The implementation includes a dropdown selector in both workflow and workflow instance creation forms, allowing users to choose from available operators or select "Any Operator" for default behavior.
Key changes include:
- Added operator selection UI components with dropdowns in creation forms
- Extended data models and state management to support operator filtering and selection
- Modified workflow/instance creation logic to apply operator labels when specified
Reviewed Changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 2 comments.
Show a summary per file
File | Description |
---|---|
Synapse.Dashboard.csproj | Updates Blazor.Bootstrap package version |
Pages/Workflows/List/View.razor | Removes "this" qualifiers for cleaner code style |
Pages/Workflows/List/Store.cs | Removes unused import and applies code style improvements |
Pages/Workflows/Details/View.razor | Adds operator selection support to workflow instance management |
Pages/Workflows/Details/Store.cs | Extends store with operator management and updates instance creation |
Pages/Workflows/Details/State.cs | Adds operator-related state properties |
Pages/Workflows/Create/View.razor | Adds operator selection dropdown to workflow creation form |
Pages/Workflows/Create/Store.cs | Implements operator management and applies labels during workflow creation |
Pages/Workflows/Create/State.cs | Extends state with operator properties |
CreateWorkflowInstanceParameters.cs | New record for encapsulating instance creation parameters |
CreateWorkflowInstanceDialog.razor | Adds operator selection to instance creation dialog |
Comments suppressed due to low confidence (5)
src/dashboard/Synapse.Dashboard/Pages/Workflows/Details/Store.cs:563
- The variable name 'api' should follow consistent naming conventions. It should be 'Api' to match the naming pattern used elsewhere in the file.
await TextEditor.SetSelection(range, string.Empty);
src/dashboard/Synapse.Dashboard/Pages/Workflows/Details/View.razor:175
- Property name 'operators' should follow C# naming conventions and be PascalCase. It should be 'Operators'.
protected EquatableList<Operator>? operators { get; set; }
src/dashboard/Synapse.Dashboard/Pages/Workflows/Details/View.razor:176
- Property name 'operatorName' should follow C# naming conventions and be PascalCase. It should be 'OperatorName'.
protected string? operatorName { get; set; }
src/dashboard/Synapse.Dashboard/Pages/Workflows/Create/View.razor:101
- Property name 'operators' should follow C# naming conventions and be PascalCase. It should be 'Operators'.
protected EquatableList<Operator>? operators { get; set; }
src/dashboard/Synapse.Dashboard/Pages/Workflows/Create/View.razor:102
- Property name 'operatorName' should follow C# naming conventions and be PascalCase. It should be 'OperatorName'.
protected string? operatorName { get; set; }
...Synapse.Dashboard/Components/CreateWorkflowInstanceDialog/CreateWorkflowInstanceDialog.razor
Show resolved
Hide resolved
…properties Signed-off-by: Jean-Baptiste Bianchi <jb.bianchi@neuroglia.io>
Many thanks for submitting your Pull Request ❤️!
What this PR does / why we need it:
Closes Add possibility to specify the target operator when creating a new workflow and/or workflow instance #517