Skip to content

Conversation

@imprvhub
Copy link
Contributor

@imprvhub imprvhub commented Jan 30, 2025

Overview

Implemented User Report Settings Templates endpoints to complete API client's reporting capabilities (#192). This adds the missing piece for managing custom report configurations at the user level.

Implementation

  • New UserReportSettingsTemplatesResource class supporting:
    • Template listing (with pagination)
    • Template creation
    • Template retrieval
    • Template updates
    • Template deletion
  • Built as an extension of the base reports architecture

Technical Notes

  • All tests passing successfully (803 tests total)
  • Maintained 95%+ coverage baseline
  • Follows project patterns for consistency
  • No breaking changes introduced

Validation

Implementation validated against official Crowdin API documentation.
Closes #192

imprvhub and others added 4 commits November 27, 2024 23:47
feat: add addToTm parameter support for Upload Translation API (crowdin#185)
Merge #2 feat(api): Add croql parameter support to List Terms API
- Implement UserReportSettingsTemplatesResource class
- Add support for List/Add/Get/Edit/Delete User Report Settings Templates
- Add comprehensive test coverage for new endpoints
- Maintain existing code style and conventions

Resolves crowdin#192
@imprvhub imprvhub changed the title Add support for User Report Settings Templates endpoints (#192) feat: Add support for User Report Settings Templates endpoints (#192) Jan 30, 2025
Resolved whitespace and newline inconsistencies to ensure adherence to flake8 coding standards. These corrections improve code maintainability and align with best practices for Python formatting.
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.37%. Comparing base (e77456f) to head (7b34777).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #196      +/-   ##
==========================================
+ Coverage   99.36%   99.37%   +0.01%     
==========================================
  Files         169      169              
  Lines        7012     7069      +57     
  Branches      158      159       +1     
==========================================
+ Hits         6967     7024      +57     
  Misses         30       30              
  Partials       15       15              

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

@imprvhub imprvhub marked this pull request as ready for review January 30, 2025 05:02
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.

@imprvhub thank you for the contribution!

@andrii-bodnar andrii-bodnar merged commit 8252114 into crowdin:main Jan 30, 2025
8 checks passed
@andrii-bodnar andrii-bodnar changed the title feat: Add support for User Report Settings Templates endpoints (#192) feat: Add support for User Report Settings Templates endpoints Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add 'User Report Settings Templates' endpoints support

3 participants