weak-head / nimbus

Nimbus is engineered to optimize data backup processes and efficiently orchestrate service deployments for homelabs and dev environments.
MIT License
1 stars 0 forks source link

Refactor and simplify report generation #4

Open weak-head opened 4 months ago

weak-head commented 4 months ago

Description

The report generation logic is cumbersome and heavily duplicated. It should be simplified and unified.

Proposed changes

The following report generation flow is expected:

  1. Operation Result is converted to the Generic Report Model
  2. Generic Report Model is used to create a report in different formats:
    • Text Report
    • Html Report
    • Pdf Report