Open E-L-T opened 3 days ago
Enhanced Condition Checking in blob_image_processor_concern.rb In 'blob_image_processor_concern.rb', a new condition was added to improve the method 'representation_required?'. With this update, the system now checks if the attachments are associated with comments in the system, increasing our ability to customize user interaction based on attachment types.
Improved Display of Comment Attachments in pieces_jointes.html.haml Code was added to 'pieces_jointes.html.haml' that allows the system to display attachments associated with comments. Especially noteworthy changes include the capabilities to generate previews and handle various formats such as images and PDF files. This should improve user experience by providing previews of attachments without requiring to download them first.
Addition of New Rake Tasks for Attachment Handling Two new rake tasks were incorporated in the 'deployment' directory. These tasks can generate previews and handle different versions (variants) for comment-specific attachments. This not only saves time but also provides a more efficient way of handling attachments associated with comments. These enhancements should further improve our content management and display capabilities.
Attention: Patch coverage is 43.75000%
with 18 lines
in your changes missing coverage. Please review.
Project coverage is 80.91%. Comparing base (
68cf6b5
) to head (c6e2daa
).
Files | Patch % | Lines |
---|---|---|
...35809_create_variants_for_pjs_from_messagerie.rake | 23.07% | 10 Missing :warning: |
...21758_create_previews_for_pjs_from_messagerie.rake | 27.27% | 8 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
closes #10500