harvard-lil / h2o

H2O is a web app for creating and reading open educational resources, primarily in the legal field
https://opencasebook.org
GNU Affero General Public License v3.0
35 stars 30 forks source link

Disable export of sections and resources #2033

Closed rebeccacremona closed 10 months ago

rebeccacremona commented 10 months ago

See ENG-300 and ENG-414.

DOCX export of sections is sometimes not coming out right: headings are sometimes displayed in odd and misleading locations.

We believe it's something about reference.docx, some kind of absolute positioning gone wrong... but we aren't sure.

We don't love this but... for now, disable the exporting of individual sections and resources so that people don't encounter mixed up exports: they can always export the entire casebook, and delete the pages they don't need.

codecov-commenter commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (51c4b7c) 76.59% compared to head (33d1ba1) 76.53%. Report is 1 commits behind head on develop.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #2033 +/- ## =========================================== - Coverage 76.59% 76.53% -0.06% =========================================== Files 64 64 Lines 7066 7066 =========================================== - Hits 5412 5408 -4 - Misses 1654 1658 +4 ``` | [Files](https://app.codecov.io/gh/harvard-lil/h2o/pull/2033?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=harvard-lil) | Coverage Δ | | |---|---|---| | [web/main/urls.py](https://app.codecov.io/gh/harvard-lil/h2o/pull/2033?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=harvard-lil#diff-d2ViL21haW4vdXJscy5weQ==) | `100.00% <ø> (ø)` | | | [web/main/views.py](https://app.codecov.io/gh/harvard-lil/h2o/pull/2033?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=harvard-lil#diff-d2ViL21haW4vdmlld3MucHk=) | `72.07% <ø> (ø)` | | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/harvard-lil/h2o/pull/2033/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=harvard-lil)

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