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

Hotfix: Hide rewiring America under feature flag #1142

Closed abdullai-t closed 3 months ago

abdullai-t commented 3 months ago

Summary / Highlights

This PR implements a feature that allows hiding menu items under feature flags. With this implementation, the rewiring-america route on the frontend is now controlled by a feature flag.

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

https://github.com/user-attachments/assets/17a255df-f794-49fd-9c26-653bbd625695

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 96.66667% with 1 line in your changes missing coverage. Please review.

Please upload report for BASE (v6.2.1-hotfix@ad1c660). Learn more about missing BASE report.

Files Patch % Lines
src/api/tests/unit/utils/test_common.py 66.66% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## v6.2.1-hotfix #1142 +/- ## ================================================ Coverage ? 55.30% ================================================ Files ? 441 Lines ? 32635 Branches ? 0 ================================================ Hits ? 18049 Misses ? 14586 Partials ? 0 ```

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