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: add Block structure models #1167

Closed archx3 closed 1 month ago

archx3 commented 2 months ago

Introduced new models for Block, BlockSection, BlockRow, BlockColumn, and BlockContent to manage blocks with nested sections, rows, and columns. Ensured each model includes appropriate fields and relationships, with timestamps for creation and updates. The changes increase flexibility for handling complex block layouts.

Summary / Highlights

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 2 months ago

Codecov Report

Attention: Patch coverage is 31.86813% with 62 lines in your changes missing coverage. Please review.

Project coverage is 56.61%. Comparing base (03dc385) to head (b0e92ca). Report is 25 commits behind head on main.

Files with missing lines Patch % Lines
src/_main_/utils/blocks/__init__.py 0.00% 62 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1167 +/- ## ========================================== - Coverage 56.67% 56.61% -0.07% ========================================== Files 473 474 +1 Lines 34834 34925 +91 ========================================== + Hits 19743 19772 +29 - Misses 15091 15153 +62 ```

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