Skip to content

Add device management functionality to merchant system#112

Merged
StuartFerguson merged 1 commit intomainfrom
task/#77_add_device_to_merchant
May 22, 2025
Merged

Add device management functionality to merchant system#112
StuartFerguson merged 1 commit intomainfrom
task/#77_add_device_to_merchant

Conversation

@StuartFerguson
Copy link
Copy Markdown
Member

@StuartFerguson StuartFerguson commented May 22, 2025

This commit introduces new models, commands, and UI components for device management within the merchant management system. Key changes include:

  • Added test cases in ApiClientTests.cs to verify device assignment, contract creation, and deposit functionality.
  • Updated IApiClient interface and implemented device assignment in ApiClient.
  • Created new models: AssignDeviceToMerchantModel and AddMerchantDeviceRequest.
  • Enhanced ModelFactory to convert device assignment models for API requests.
  • Updated UI components to include dialogs for adding devices, with event handling for device assignment.
  • Added integration tests to validate the new device management features.
  • Updated MerchantPageEvents to include device assignment events.

Overall, the code structure remains intact while expanding the application's capabilities.

Fixes #77

This commit introduces new models, commands, and UI components for device management within the merchant management system. Key changes include:

- Added test cases in `ApiClientTests.cs` to verify device assignment, contract creation, and deposit functionality.
- Updated `IApiClient` interface and implemented device assignment in `ApiClient`.
- Created new models: `AssignDeviceToMerchantModel` and `AddMerchantDeviceRequest`.
- Enhanced `ModelFactory` to convert device assignment models for API requests.
- Updated UI components to include dialogs for adding devices, with event handling for device assignment.
- Added integration tests to validate the new device management features.
- Updated `MerchantPageEvents` to include device assignment events.

Overall, the code structure remains intact while expanding the application's capabilities.
@StuartFerguson StuartFerguson merged commit 4e5db9e into main May 22, 2025
15 checks passed
@github-actions github-actions Bot deleted the task/#77_add_device_to_merchant branch July 22, 2025 00:50
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 Device to Merchant

1 participant