[PR #604] [MERGED] feat: |Doc| use shadow DOM render mail html #656

Closed
opened 2026-02-26 21:32:15 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/604
Author: @dreamhunter2333
Created: 3/8/2025
Status: Merged
Merged: 3/8/2025
Merged by: @dreamhunter2333

Base: mainHead: feature/dev


📝 Commits (1)

  • c63453a feat: |Doc| use shadow DOM render mail html

📊 Changes

13 files changed (+1087 additions, -972 deletions)

View changed files

.flake8 (+3 -0)
📝 CHANGELOG.md (+1 -0)
📝 frontend/package.json (+7 -7)
📝 frontend/pnpm-lock.yaml (+395 -352)
📝 frontend/src/components/MailBox.vue (+12 -7)
frontend/src/components/ShadowHtmlComponent.vue (+75 -0)
📝 pages/package.json (+1 -1)
📝 smtp_proxy_server/imap_server.py (+1 -1)
📝 smtp_proxy_server/parse_email.py (+3 -6)
📝 vitepress-docs/package.json (+2 -2)
📝 vitepress-docs/pnpm-lock.yaml (+311 -319)
📝 worker/package.json (+6 -6)
📝 worker/pnpm-lock.yaml (+270 -271)

📄 Description

PR Type

enhancement, dependencies, formatting


Description

  • Implement Shadow DOM for rendering email HTML content.

  • Update dependencies in multiple package files.

  • Add new .flake8 configuration file.

  • Improve formatting and minor code adjustments.


Changes walkthrough 📝

Relevant files
Enhancement
2 files
MailBox.vue
Implement Shadow DOM for email rendering                                 
+12/-7   
ShadowHtmlComponent.vue
New component for Shadow DOM rendering                                     
+75/-0   
Bug fix
1 files
parse_email.py
Fix string formatting in email parsing                                     
+3/-6     
Formatting
1 files
imap_server.py
Minor code formatting adjustment                                                 
+1/-1     
Dependencies
5 files
pnpm-lock.yaml
Update dependencies                                                                           
+270/-271
package.json
Update frontend dependencies                                                         
+7/-7     
package.json
Update worker dependencies                                                             
+6/-6     
package.json
Update VitePress dependencies                                                       
+2/-2     
package.json
Update Wrangler dependency                                                             
+1/-1     
Documentation
1 files
CHANGELOG.md
Add changelog entry for Shadow DOM feature                             
+1/-0     
Configuration changes
1 files
.flake8
Add flake8 configuration file                                                       
+3/-0     
Additional files
2 files
pnpm-lock.yaml +395/-352
pnpm-lock.yaml +311/-319

Need help?
  • Type /help how to ... in the comments thread for any questions about PR-Agent usage.
  • Check out the documentation for more information.

  • 🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

    ## 📋 Pull Request Information **Original PR:** https://github.com/dreamhunter2333/cloudflare_temp_email/pull/604 **Author:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Created:** 3/8/2025 **Status:** ✅ Merged **Merged:** 3/8/2025 **Merged by:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Base:** `main` ← **Head:** `feature/dev` --- ### 📝 Commits (1) - [`c63453a`](https://github.com/dreamhunter2333/cloudflare_temp_email/commit/c63453a8148f3e1a782d20f5fd060632e90c6663) feat: |Doc| use shadow DOM render mail html ### 📊 Changes **13 files changed** (+1087 additions, -972 deletions) <details> <summary>View changed files</summary> ➕ `.flake8` (+3 -0) 📝 `CHANGELOG.md` (+1 -0) 📝 `frontend/package.json` (+7 -7) 📝 `frontend/pnpm-lock.yaml` (+395 -352) 📝 `frontend/src/components/MailBox.vue` (+12 -7) ➕ `frontend/src/components/ShadowHtmlComponent.vue` (+75 -0) 📝 `pages/package.json` (+1 -1) 📝 `smtp_proxy_server/imap_server.py` (+1 -1) 📝 `smtp_proxy_server/parse_email.py` (+3 -6) 📝 `vitepress-docs/package.json` (+2 -2) 📝 `vitepress-docs/pnpm-lock.yaml` (+311 -319) 📝 `worker/package.json` (+6 -6) 📝 `worker/pnpm-lock.yaml` (+270 -271) </details> ### 📄 Description ### **PR Type** enhancement, dependencies, formatting ___ ### **Description** - Implement Shadow DOM for rendering email HTML content. - Update dependencies in multiple package files. - Add new `.flake8` configuration file. - Improve formatting and minor code adjustments. ___ ### **Changes walkthrough** 📝 <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><details><summary>2 files</summary><table> <tr> <td><strong>MailBox.vue</strong><dd><code>Implement Shadow DOM for email rendering</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/604/files#diff-ce7b47744c9011a27a8297d8e5095ccb9609a6849a9afe1a37e04ae47b2636f2">+12/-7</a>&nbsp; &nbsp; </td> </tr> <tr> <td><strong>ShadowHtmlComponent.vue</strong><dd><code>New component for Shadow DOM rendering</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/604/files#diff-dfc3e641d297d1d90e6dfb03d3e7b373bf9b63b932b37ab64b10cf150b572e87">+75/-0</a>&nbsp; &nbsp; </td> </tr> </table></details></td></tr><tr><td><strong>Bug fix</strong></td><td><details><summary>1 files</summary><table> <tr> <td><strong>parse_email.py</strong><dd><code>Fix string formatting in email parsing</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/604/files#diff-2e166c83fd8005d2e05e5cffd7c541e90458bf46357b02177d2a43aa4ebeed95">+3/-6</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></details></td></tr><tr><td><strong>Formatting</strong></td><td><details><summary>1 files</summary><table> <tr> <td><strong>imap_server.py</strong><dd><code>Minor code formatting adjustment</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/604/files#diff-b8c023c1bf96f6f2045f83138d9e04362526b416db6470823f54243283fabd31">+1/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></details></td></tr><tr><td><strong>Dependencies</strong></td><td><details><summary>5 files</summary><table> <tr> <td><strong>pnpm-lock.yaml</strong><dd><code>Update dependencies</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/604/files#diff-b40cf923090a5fb5f6cc0d6ce716c560645419d762871abb50383fdb423288c6">+270/-271</a></td> </tr> <tr> <td><strong>package.json</strong><dd><code>Update frontend dependencies</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/604/files#diff-da6498268e99511d9ba0df3c13e439d10556a812881c9d03955b2ef7c6c1c655">+7/-7</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td><strong>package.json</strong><dd><code>Update worker dependencies</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/604/files#diff-89dc6f41a53ce13f2da5a00dd34868762e6cd0df46eddc9f5c3c4510b1493870">+6/-6</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td><strong>package.json</strong><dd><code>Update VitePress dependencies</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/604/files#diff-3adbfbfaa65ecc60f48c8d009a52c697d4c80d61ee887799df22407fcb73f380">+2/-2</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td><strong>package.json</strong><dd><code>Update Wrangler dependency</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/604/files#diff-74314f72f6616d400be4cb0d161867d8148f23c22d4c12c7188aedb129c00c59">+1/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></details></td></tr><tr><td><strong>Documentation</strong></td><td><details><summary>1 files</summary><table> <tr> <td><strong>CHANGELOG.md</strong><dd><code>Add changelog entry for Shadow DOM feature</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/604/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed">+1/-0</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></details></td></tr><tr><td><strong>Configuration changes</strong></td><td><details><summary>1 files</summary><table> <tr> <td><strong>.flake8</strong><dd><code>Add flake8 configuration file</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/604/files#diff-6951dbb399883798a226c1fb496fdb4183b1ab48865e75eddecf6ceb6cf46442">+3/-0</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></details></td></tr><tr><td><strong>Additional files</strong></td><td><details><summary>2 files</summary><table> <tr> <td><strong>pnpm-lock.yaml</strong></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/604/files#diff-41b1ff3a74ba81fa74c8dd225d66d81573be3f2990e1d98b9b09798b147d40a8">+395/-352</a></td> </tr> <tr> <td><strong>pnpm-lock.yaml</strong></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/604/files#diff-655c1410f6eacceaa9003212a9f840a660ace35e32e60d792be3640ec774af6f">+311/-319</a></td> </tr> </table></details></td></tr></tr></tbody></table> ___ > <details> <summary> Need help?</summary><li>Type <code>/help how to ...</code> in the comments thread for any questions about PR-Agent usage.</li><li>Check out the <a href="https://qodo-merge-docs.qodo.ai/usage-guide/">documentation</a> for more information.</li></details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
    kerem 2026-02-26 21:32:15 +03:00
    Sign in to join this conversation.
    No milestone
    No project
    No assignees
    1 participant
    Notifications
    Due date
    The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

    No due date set.

    Dependencies

    No dependencies set.

    Reference
    starred/cloudflare_temp_email#656
    No description provided.