EXPIRY ALERT ' 26
- Expert reviewed
Overview
Test Credentials / Setup: No setup required! Simply click the "Try Demo (Pre-loaded data)" button on the login screen to instantly access a fully populated test account.
Design Decisions & Architecture: Our goal was to build a system that guarantees decisions actually happen, rather than just showing a spreadsheet on a web page.
• Computed Status (Zero Stale Data): Expiry status is computed dynamically at render time using expiry_date and a custom renewal_reminder_days threshold per-document. This eliminates the need for cron jobs, prevents scheduler drift, and ensures a document's status is never stale.
• Smart Risk Flagging: The dashboard automatically separates "Critical" records (high-risk + expiring soon/expired) into a pulsing priority panel, enforcing a visual hierarchy for urgent decisions.
• Concrete Actions: "Mark as Renewed" isn't just a status toggle—it's a first-class workflow that updates the issue/expiry dates, prepends renewal notes, and writes a permanent log to the Audit Trail to satisfy compliance requirements.
• Scope Discipline: As per the brief's constraints, we intentionally omitted heavy document storage (S3/PDF rendering) and complex SMTP infrastructure, focusing 100% of the engineering effort on decision latency and workflow execution.