Skip to content

Refactor contract creation to use new command structure#696

Merged
StuartFerguson merged 2 commits intomainfrom
task/#628_create_new_contract
Jan 28, 2026
Merged

Refactor contract creation to use new command structure#696
StuartFerguson merged 2 commits intomainfrom
task/#628_create_new_contract

Conversation

@StuartFerguson
Copy link
Copy Markdown
Member

  • Move contract creation from Commands.CreateContractCommand to ContractCommands.CreateContractCommand and update all usages.
  • Add CreateContract method to API client and implement backend call.
  • Update request handler and test mediator for new command.
  • Move contract creation logic from New.razor to New.razor.cs for better separation and maintainability.
  • Improve estate/operator ID handling and remove hardcoded access token.
  • Maintain UI state and error handling in new code-behind structure.
    closes Create New Contract #628

- Move contract creation from Commands.CreateContractCommand to ContractCommands.CreateContractCommand and update all usages.
- Add CreateContract method to API client and implement backend call.
- Update request handler and test mediator for new command.
- Move contract creation logic from New.razor to New.razor.cs for better separation and maintainability.
- Improve estate/operator ID handling and remove hardcoded access token.
- Maintain UI state and error handling in new code-behind structure.
@StuartFerguson StuartFerguson merged commit e09ee61 into main Jan 28, 2026
10 checks passed
@github-actions github-actions Bot deleted the task/#628_create_new_contract branch March 30, 2026 01:14
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.

Create New Contract

1 participant