port-nimara-client-portal/server
Matt 41a6f7f1c8 feat: Implement EOI document validation and orphaned data cleanup
- Add new /api/eoi/validate-document endpoint to check document existence
- Automatically clean up orphaned database records when documents don't exist in Documenso
- Update EOISection component to validate documents on mount
- Enhanced delete-generated-document endpoint to handle already-deleted documents
- Updated check-signature-status endpoint with validation logic
- Prevents EOI section from showing when document no longer exists
- Self-healing system that fixes data inconsistencies automatically

Key improvements:
- Validates document existence before showing EOI management UI
- Cleans up documensoID, signature links, and status fields when document is missing
- Graceful handling of 404 errors from Documenso API
- Background validation with user-friendly notifications
- Prevents phantom EOI states that appear generated but don't exist
2025-06-12 17:04:45 +02:00
..
api feat: Implement EOI document validation and orphaned data cleanup 2025-06-12 17:04:45 +02:00
plugins updates 2025-06-10 14:05:09 +02:00
tasks updates 2025-06-10 14:32:20 +02:00
utils Improve email session management and add IMAP connection pooling 2025-06-12 15:53:12 +02:00