Skip to content

Fix/comments data structure

David Arsov requested to merge fix/comments-data-structure into dev

This MR refactors how attendance comments are stored and rendered.

Changes

  • Replaces the single String field that stored raw HTML with a JSONB column that stores a typed array of Comment objects.
  • Improve bulk db insert logic in addAttendanceCommentAll
  • Updates the rendering logic to use a centralized template fragment for displaying comments.
  • The visual formatting and output remain unchanged compared to the previous implementation.

Merge request reports

Loading