Skip to content

Refactor AddProductToContract command and API integration#697

Merged
StuartFerguson merged 1 commit intomainfrom
task/#632_add_product_to_contract
Jan 28, 2026
Merged

Refactor AddProductToContract command and API integration#697
StuartFerguson merged 1 commit intomainfrom
task/#632_add_product_to_contract

Conversation

@StuartFerguson
Copy link
Copy Markdown
Member

  • Move AddProductToContractCommand to ContractCommands namespace and remove old definition
  • Implement real AddProductToContract API client method
  • Update request handler to use new command and call API client
  • Update UI to use new command, fetch estate ID dynamically, and show confirmation delay
  • Update test mediator to handle new command signature
  • Improves separation of concerns and removes hardcoded values
    closes Add Product to Contract #632

- Move AddProductToContractCommand to ContractCommands namespace and remove old definition
- Implement real AddProductToContract API client method
- Update request handler to use new command and call API client
- Update UI to use new command, fetch estate ID dynamically, and show confirmation delay
- Update test mediator to handle new command signature
- Improves separation of concerns and removes hardcoded values
@StuartFerguson StuartFerguson merged commit d3fab86 into main Jan 28, 2026
10 checks passed
@github-actions github-actions Bot deleted the task/#632_add_product_to_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.

Add Product to Contract

1 participant