massenergize / api

Backend Code for Massenergize Portal. This provides the API to the backend database, and is shared by the various front-end portal projects.
MIT License
5 stars 9 forks source link

Feat: improve translation filters #1151

Closed abdullai-t closed 3 months ago

abdullai-t commented 3 months ago

Summary / Highlights

This PR introduces several enhancements and fixes to the translation filters and middleware functionality. The key changes include:

Details (Give details about what this PR accomplishes, include any screenshots etc)

Testing Steps (Provide details on how your changes can be tested)

Requirements (place an x in each [ ])

Transparency (Project board)
codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 76.31579% with 9 lines in your changes missing coverage. Please review.

Project coverage is 55.74%. Comparing base (40260eb) to head (98a3610). Report is 1 commits behind head on main.

Files Patch % Lines
src/_main_/utils/translation/__init__.py 64.28% 5 Missing :warning:
src/api/middlewares/translation_middleware.py 55.55% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1151 +/- ## ========================================== - Coverage 55.95% 55.74% -0.22% ========================================== Files 462 461 -1 Lines 34054 33875 -179 ========================================== - Hits 19055 18883 -172 + Misses 14999 14992 -7 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.