Skip to content

Conversation

JBBianchi
Copy link
Member

Many thanks for submitting your Pull Request ❤️!

What this PR does / why we need it:

…creating a workflow/workflow instance.

Closes #517

Signed-off-by: Jean-Baptiste Bianchi <jb.bianchi@neuroglia.io>
@JBBianchi JBBianchi requested review from cdavernas and Copilot July 22, 2025 11:02
@JBBianchi JBBianchi self-assigned this Jul 22, 2025
@JBBianchi JBBianchi added type: enhancement New feature or request priority: high Indicates a high priority issue app: dashboard Concerns the Dashboard UI weight: 2 An issue with a low development impact labels Jul 22, 2025
Copilot

This comment was marked as outdated.

Copy link
Member

@cdavernas cdavernas left a 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>
@cdavernas cdavernas requested a review from Copilot July 22, 2025 11:09
Copy link
Contributor

@Copilot Copilot AI left a 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; }

…properties

Signed-off-by: Jean-Baptiste Bianchi <jb.bianchi@neuroglia.io>
@JBBianchi JBBianchi merged commit a0ded8e into main Jul 22, 2025
2 checks passed
@cdavernas cdavernas deleted the feat-517-specify-workflow-operator branch July 22, 2025 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app: dashboard Concerns the Dashboard UI priority: high Indicates a high priority issue type: enhancement New feature or request weight: 2 An issue with a low development impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add possibility to specify the target operator when creating a new workflow and/or workflow instance
2 participants