Skip to content

334|Refactor: Reviews publishing

Félix David requested to merge Tilix4/stax:334_re_publish_reviews into 3.0

Description of refactor

Changes

  • scene.link_reviews renamed as scene.link_all_reviews.
  • get_text_contents renamed as extract_from_text_contents.
  • utils_note.py deleted.
  • .restore system is abandonned.

Refactor

  • Split scene.publish_reviews into build_pending_notes and export_notes for easier process customizing.
  • All pending note information is held by a pending note sequence under the review sequence.

Features

  • scene.clear_drawings renamed as scene.clear_pending_note and clears the whole pending note instead of only the drawings.

Closes #334 (closed)

How to test it

  1. Make a review
  2. Publish

Checklist

Please check if your MR fulfills the following requirements:

  • Unit tests have been adapted
  • Build was run locally and any changes were pushed
  • Lint has passed locally without error
  • CHANGELOG.md has been updated

FYI: @awesome_dev_too

Edited by Félix David

Merge request reports