We have improved our system to prevent previews of deleted templates and campaigns.
Problem Statement:
šŸ’„
Previously, users could preview templates or campaigns even if they were deleted, causing confusion as they then expect to see active content.
What We Did?
šŸ˜Ž
To address this issue, we:
  1. Implemented a status check for templates and campaigns during the preview request.
  2. Updated the system to return a "404 Not Found" error message if the requested template or campaign is deleted and display a clear display of the "404 Not Found" error.
Benefits:
šŸš€
  1. Eliminates confusion by ensuring only active templates and campaigns can be previewed.
  2. Provides a clear "404 Not Found" error message for deleted content.
Enhances user experience by preventing access to outdated or removed resources.