Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor HtmlToPdfConverter and update ReportSheetCache #192

Merged
merged 2 commits into from
Sep 29, 2024

Commits on Sep 29, 2024

  1. Refactor HtmlToPdfConverter and update ReportSheetCache

    * Move HtmlToPdfConverter to TournamentManager namespace
    * Add detailed logging and error handling in HtmlToPdfConverter
    * Add BrowserKind to set the kind of browser to use
    * Add ability to create PDF from html content or a file
    * Introduce DisplayMatchDate flag in ReportSheetCache
    * Modify IsOutdated to check DisplayMatchDate flag
    * Update Match constructor to include IServiceProvider
    * Update ReportSheet action to use _serviceProvider for ReportSheetCache
    * Updated ReportSheet.cshtml to conditionally display match date
    * Add html {-webkit-print-color-adjust: exact; } CSS to ReportSheet.cshtml (enables colored output for PDF)
    * Moved PuppeteerSharp package reference to TournamentManager.csproj
    * Added localization for English and German
    axunonb committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    32de102 View commit details
    Browse the repository at this point in the history
  2. SonarCloud recommendations

    axunonb committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    4962469 View commit details
    Browse the repository at this point in the history