Skip to content

Refactor operator data loading and API integration#689

Merged
StuartFerguson merged 1 commit intomainfrom
task/#639_view_single_operator
Jan 27, 2026
Merged

Refactor operator data loading and API integration#689
StuartFerguson merged 1 commit intomainfrom
task/#639_view_single_operator

Conversation

@StuartFerguson
Copy link
Copy Markdown
Member

Refactored Edit and View pages to use OnAfterRenderAsync for initial data loading and permission checks. Removed hardcoded estate IDs and access tokens, now retrieving them dynamically. Updated OperatorQueries and API client interfaces to simplify operator retrieval, including a new GetOperator method. Improved DTO-to-model conversion with extension methods. Moved View.razor logic to a code-behind file and added new operator properties for custom merchant/terminal numbers. Cleaned up obsolete code and improved overall maintainability.

closes #639

Refactored Edit and View pages to use OnAfterRenderAsync for initial data loading and permission checks. Removed hardcoded estate IDs and access tokens, now retrieving them dynamically. Updated OperatorQueries and API client interfaces to simplify operator retrieval, including a new GetOperator method. Improved DTO-to-model conversion with extension methods. Moved View.razor logic to a code-behind file and added new operator properties for custom merchant/terminal numbers. Cleaned up obsolete code and improved overall maintainability.
@StuartFerguson StuartFerguson merged commit 6d23d3d into main Jan 27, 2026
10 checks passed
@github-actions github-actions Bot deleted the task/#639_view_single_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.

View Single Operator

1 participant