v0.5.0 — Reliability, offline detection, and CI
Reliability improvements including database connection hardening, offline state detection, a feedback widget, code quality tooling, and a QR code retry mechanism.
Added
-
Offline detection banner — when a user's internet connection drops, a banner appears immediately across all portal pages. The banner clears automatically when connectivity is restored, without requiring a page refresh.
-
In-app feedback widget — operators, suppliers, and verifiers can submit feedback directly from any page in the platform. Feedback is routed to the Traceable team without leaving the portal.
-
Pre-commit code quality hooks — automated checks now run on every commit before it is accepted, enforcing code formatting and lint rules. This keeps the codebase consistent and catches common issues before they reach CI.
-
Scheduled cron jobs — three automated background jobs are now active: certificate expiry monitoring (notifies operators when supplier certificates are approaching their expiry date), trial expiry management, and data retention cleanup.
-
Draft backup — the DPP creation wizard now saves a local backup of in-progress form data. If a session expires or the browser is closed unexpectedly, the draft is restored on next visit.
-
QR code retry — if QR code generation fails (for example due to a transient network error), a retry button is shown inline without requiring the operator to navigate away.
-
Open Graph metadata on DPP pages — published DPP pages now include Open Graph tags, so sharing a DPP URL in messaging apps, social platforms, or link previews renders the product name and description correctly.
Changed
- The CI pipeline now runs lint, build, and unit tests only. Database migration deployment is handled separately as part of the release process, not as an automatic CI step.