Skip to content

Refactor: Add UI service layers for dashboard/reporting#775

Merged
StuartFerguson merged 1 commit intomainfrom
task/#747_reportingui_service
Feb 20, 2026
Merged

Refactor: Add UI service layers for dashboard/reporting#775
StuartFerguson merged 1 commit intomainfrom
task/#747_reportingui_service

Conversation

@StuartFerguson
Copy link
Copy Markdown
Member

  • Introduced ICalendarUIService/ITransactionUIService and implementations to abstract MediatR calls and model mapping for dashboard/reporting data.
  • Refactored dashboard and reporting pages to use new UI services instead of direct MediatR usage.
  • Moved dashboard/reporting models (e.g., TodaysSalesModel, MerchantKpiModel, etc.) into a new TransactionModels namespace; updated all usages.
  • Updated ModelFactory and EstateModel to use new model locations and types.
  • Enhanced MerchantUIService with new methods for recent merchants, KPIs, and dropdowns.
  • Added/updated unit tests for new UI services and methods, including new test files for calendar and transaction services.
  • Added [ExcludeFromCodeCoverage] to UI models and improved code consistency.
  • Added copilot-instructions.md for future test guidance.
    closes Reporting UI Service #747

- Introduced `ICalendarUIService`/`ITransactionUIService` and implementations to abstract MediatR calls and model mapping for dashboard/reporting data.
- Refactored dashboard and reporting pages to use new UI services instead of direct MediatR usage.
- Moved dashboard/reporting models (e.g., `TodaysSalesModel`, `MerchantKpiModel`, etc.) into a new `TransactionModels` namespace; updated all usages.
- Updated `ModelFactory` and `EstateModel` to use new model locations and types.
- Enhanced `MerchantUIService` with new methods for recent merchants, KPIs, and dropdowns.
- Added/updated unit tests for new UI services and methods, including new test files for calendar and transaction services.
- Added `[ExcludeFromCodeCoverage]` to UI models and improved code consistency.
- Added `copilot-instructions.md` for future test guidance.
@StuartFerguson StuartFerguson merged commit 5d1af4b into main Feb 20, 2026
10 checks passed
@github-actions github-actions Bot deleted the task/#747_reportingui_service branch April 22, 2026 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reporting UI Service

1 participant