LePatron.email icon indicating copy to clipboard operation
LePatron.email copied to clipboard

Export Quality Control: Warning Regarding HTML File Size

Open the2ne opened this issue 4 months ago • 0 comments

Objective:

The objective is to enhance the quality control process for exports by discontinuing HTML code minification and providing users with warnings regarding the potential consequences of exporting large HTML files.

Functional Description:

Currently, during the export process, HTML code is minified if its size exceeds 102KB. However, this practice poses challenges for users who need to modify the HTML within their campaign management tools. To address this issue, we aim to modify the export process to refrain from minifying HTML code. Additionally, we need to implement a mechanism to inform users about the implications of exporting large HTML files, emphasizing potential performance issues or compatibility concerns without imposing restrictions on their actions.

Image

List of Tasks:

  • [ ] Disable HTML Minification: Modify the export process to exclude HTML minification for all exported files, regardless of size.
  • [ ] Implement Size Threshold Warning: Develop a feature to detect when the HTML file size exceeds 102KB and display a warning message to users during the export process.
  • [ ] Define Warning Content: Determine the content and tone of the warning message, emphasizing the potential consequences of exporting large HTML files, such as decreased performance or compatibility issues.
    • FR : Poids trop élevé : Le HTML exporté dépasse les 102ko, cela risque de tronqué l'email sur Gmail
    • EN : Excessive Size: The exported HTML exceeds 102KB, which may result in clipping email on Gmail
  • [ ] User Acknowledgment Mechanism: Implement a mechanism for users to acknowledge the warning message, indicating their understanding of the potential risks associated with exporting large HTML files.
  • [ ] Integration with Export Workflow: Integrate the warning message and acknowledgment mechanism seamlessly into the existing export workflow, ensuring a smooth user experience. By completing these tasks, we aim to improve the export process by providing users with relevant warnings regarding large HTML file sizes, empowering them to make informed decisions while maintaining flexibility in their workflow.

the2ne avatar Feb 28 '24 14:02 the2ne