Skip to content

Refactor Operator Edit page to use code-behind and new command#690

Merged
StuartFerguson merged 2 commits intomainfrom
task/#640_edit_operator
Jan 27, 2026
Merged

Refactor Operator Edit page to use code-behind and new command#690
StuartFerguson merged 2 commits intomainfrom
task/#640_edit_operator

Conversation

@StuartFerguson
Copy link
Copy Markdown
Member

  • Move Operator Edit logic from Edit.razor to Edit.razor.cs for better organization and maintainability
  • Introduce OperatorCommands.UpdateOperatorCommand, replacing the old update command for operators
  • Update API client, request handler, and test mediator to use the new command
  • Simplify Edit.razor markup; all logic now resides in code-behind
  • Show a brief success message before redirecting after update
  • Define EditOperatorModel with validation in code-behind
  • Add necessary using statements and dependency injection for new structure
    closes Edit Operator #640

- Move Operator Edit logic from Edit.razor to Edit.razor.cs for better organization and maintainability
- Introduce OperatorCommands.UpdateOperatorCommand, replacing the old update command for operators
- Update API client, request handler, and test mediator to use the new command
- Simplify Edit.razor markup; all logic now resides in code-behind
- Show a brief success message before redirecting after update
- Define EditOperatorModel with validation in code-behind
- Add necessary using statements and dependency injection for new structure
@StuartFerguson StuartFerguson merged commit 5c7dd36 into main Jan 27, 2026
10 checks passed
@github-actions github-actions Bot deleted the task/#640_edit_operator branch March 29, 2026 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Edit Operator

1 participant