Skip to content

Conversation

@Ribas160
Copy link
Contributor

Closes #108

@codecov-commenter
Copy link

codecov-commenter commented Oct 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.23%. Comparing base (a1b22f3) to head (b454ab1).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #126      +/-   ##
==========================================
+ Coverage   98.22%   98.23%   +0.01%     
==========================================
  Files          68       68              
  Lines        3314     3318       +4     
==========================================
+ Hits         3255     3259       +4     
  Misses         33       33              
  Partials       26       26              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Ribas160 Ribas160 force-pushed the new_pre-translation_report_endpoint_support branch from 777681b to b454ab1 Compare October 30, 2025 13:38
@andrii-bodnar andrii-bodnar requested a review from Copilot October 30, 2025 14:13
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for fetching pre-translation reports from the Crowdin API. It introduces a new endpoint to retrieve detailed report data about pre-translation operations, including language-specific statistics, file information, and skipped translation details.

  • Adds PreTranslationReport method to the TranslationsService
  • Introduces model structs for pre-translation report data
  • Includes comprehensive test coverage for the new functionality

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
crowdin/translations.go Adds PreTranslationReport method to retrieve report data for a specific pre-translation
crowdin/model/translations.go Defines model structs for pre-translation report data including language reports, statistics, and skipped items
crowdin/translations_test.go Adds test case for the new PreTranslationReport method with sample response and expected output

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Member

@andrii-bodnar andrii-bodnar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Ribas160 thank you!

@andrii-bodnar andrii-bodnar merged commit c2d4367 into crowdin:main Oct 30, 2025
9 checks passed
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.

Add new Pre-Translation Report endpoint support

3 participants