Skip to content

Implement real API integration for contract view page#693

Merged
StuartFerguson merged 3 commits intomainfrom
task/#627_contract_list
Jan 27, 2026
Merged

Implement real API integration for contract view page#693
StuartFerguson merged 3 commits intomainfrom
task/#627_contract_list

Conversation

@StuartFerguson
Copy link
Copy Markdown
Member

  • Replace stubbed contract data with real API calls for viewing a single contract
  • Update GetContractQuery to remove access token parameter
  • Add GetContract support to API client, backend API, and request handler
  • Refactor View.razor to use code-behind (View.razor.cs) for async loading and permission checks
  • Update ModelFactory and APIModelFactory to use enums for product and fee types
  • Update models to use enum types for ProductType, CalculationType, and FeeType
  • Clean up View.razor markup and update Edit.razor to use new query signature
  • Improves type safety, backend consistency, and separation of concerns
    closes Contract List #627

- Replace stubbed contract data with real API calls for viewing a single contract
- Update GetContractQuery to remove access token parameter
- Add GetContract support to API client, backend API, and request handler
- Refactor View.razor to use code-behind (View.razor.cs) for async loading and permission checks
- Update ModelFactory and APIModelFactory to use enums for product and fee types
- Update models to use enum types for ProductType, CalculationType, and FeeType
- Clean up View.razor markup and update Edit.razor to use new query signature
- Improves type safety, backend consistency, and separation of concerns
@StuartFerguson StuartFerguson merged commit 42eaa6d into main Jan 27, 2026
10 checks passed
@github-actions github-actions Bot deleted the task/#627_contract_list 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.

Contract List

1 participant