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
4 stars 8 forks source link

Feat: Add "Rewiring America" embed #1073

Closed frimpongopoku closed 2 weeks ago

frimpongopoku commented 2 weeks ago

Summary / Highlights

Made a route that renders the rewiring America page; "Rewiring America" guys have not made provision for React embeds, so it had to be implemented this way. So on the frontend, the Iframe just loads the embed through the backend here. Works with frontend PR : https://github.com/massenergize/frontend-portal/pull/1366

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-commenter commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 60.00000% with 6 lines in your changes missing coverage. Please review.

Project coverage is 54.49%. Comparing base (557c4a3) to head (f8bdf94). Report is 4 commits behind head on main.

Files Patch % Lines
src/api/decorators.py 55.55% 4 Missing :warning:
src/website/views.py 66.66% 2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1073 +/- ## ========================================== - Coverage 54.49% 54.49% -0.01% ========================================== Files 430 430 Lines 32157 32169 +12 ========================================== + Hits 17524 17530 +6 - Misses 14633 14639 +6 ```

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