1.7 KiB
1.7 KiB
Changelog
2025-12-26 - Date/Time Handling & Comment Pagination
Problem
- Comment infinite scroll pagination failed: older comments weren't loading
- Root cause: Backend used
LocalDateTime(no timezone info), frontend's JavaScriptDateinterpreted it as local time, then converted to UTC when sending back - causing a 1-hour timezone shift
Solution
- Migrated all date fields from
LocalDateTimetoInstantacross all entities (Comment, ApplicationForm, Notification, User, ApplicationFormVersion) Instantrepresents a point in time in UTC and is:- Supported by JPA's
@CreatedDate/@LastModifiedDateannotations (unlikeOffsetDateTime) - Serialized by Jackson as ISO-8601 with
Zsuffix (e.g.,2025-12-26T08:13:48.608921Z) - Correctly parsed by JavaScript as UTC, ensuring round-trip consistency
- Supported by JPA's
2025-11-23 - Pipeline
- Gitea pipeline seems not to be stable enough yet. Jobs don't get assigned runners consistently. Especially the backend job.
- Switch to local nektos act runner also led to issues
- metadata-action not working properly: https://github.com/docker/metadata-action/issues/542
- Failing connection to gradle daemon during frontend job
- Finally switched to simple shell scripts for CI/CD
2025-11-02 - Form Element Management API
- New input field with title and text needed to be added to application forms
- Adding new form elements to existing application forms caused type conflicts: frontend needed to add
CreateFormElementDto(without ID) to arrays ofFormElementDto(with ID) - Implemented separate endpoint for adding form elements:
POST /application-forms/{applicationFormId}/sections/{sectionId}/form-elements