mailcow / mailcow-dockerized

mailcow: dockerized - 🐮 + 🐋 = 💕
https://mailcow.email
GNU General Public License v3.0
8.25k stars 1.12k forks source link

Enhance UTF-8 Handling in Additional Admin Panel Locations in Mailcow UI #5885

Open hatsadin09 opened 1 month ago

hatsadin09 commented 1 month ago

Summary

Improve the handling of UTF-8 email addresses and domain names by displaying their human-readable format in additional sections of the Mailcow admin panel.

Description:

Current Behavior: While Mailcow now displays UTF-8 domains in their human-readable format alongside their Punycode representations on the domain management page, there are still three sections in the admin panel that do not handle UTF-8 characters correctly. These sections display only the Punycode (ACE) versions of UTF-8 domains, which can cause confusion and make domain management more difficult.

Suggested Feature:

Extend the feature that displays UTF-8 domains in their human-readable format to the following sections of the admin panel:

  1. Mailbox Management: Display the UTF-8 email addresses in their original format alongside their Punycode representations. 1
  2. Add Mailbox Popup: Ensure that UTF-8 email addresses and domains are displayed in their human-readable format. 2
  3. Add Resource Popup: Show UTF-8 domains in their original, readable format alongside the Punycode versions. 3
  4. Other Dropdowns in the Panel: Ensure that any dropdowns or selection fields throughout the panel display UTF-8 characters in their human-readable format.

Motivation

This enhancement will provide administrators with a more consistent and user-friendly experience when managing domains and email addresses with UTF-8 characters. It eliminates the need to mentally convert Punycode to UTF-8 or use external tools, streamlining the management process and reducing the risk of errors.

Additional context

The proposed changes aim to further improve the usability of the Mailcow administrative interface by ensuring that all sections handle UTF-8 characters consistently. Displaying domains and email addresses in both Punycode and UTF-8 formats meets the system's technical requirements while enhancing readability for administrators, facilitating more efficient and error-free management of UTF-8 domains and addresses.