[PR #632] [MERGED] feat: |Admin Portal| optimized UI #668

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

📋 Pull Request Information

Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/632
Author: @dreamhunter2333
Created: 4/12/2025
Status: Merged
Merged: 4/12/2025
Merged by: @dreamhunter2333

Base: mainHead: feature/dev


📝 Commits (1)

  • f7236cf feat: |Admin Portal| optimized UI

📊 Changes

4 files changed (+28 additions, -12 deletions)

View changed files

📝 frontend/src/views/admin/Account.vue (+4 -2)
📝 frontend/src/views/admin/UserManagement.vue (+22 -8)
📝 frontend/src/views/index/AccountSettings.vue (+1 -1)
📝 frontend/src/views/user/UserSettings.vue (+1 -1)

📄 Description

PR Type

enhancement


Description

  • Added conditional display for buttons based on count values.

  • Changed button type for logout actions to 'warning'.

  • Updated translation keys for 'User Address Management'.


Changes walkthrough 📝

Relevant files
Enhancement
Account.vue
Conditional display for mail and send box buttons               

frontend/src/views/admin/Account.vue

  • Added conditional display for 'viewMails' button.
  • Added conditional display for 'viewSendBox' button.
  • +4/-2     
    UserManagement.vue
    Update translations and conditional button display             

    frontend/src/views/admin/UserManagement.vue

  • Updated translation keys for 'User Address Management'.
  • Added conditional display for 'userAddressManagement' button.
  • Changed address count display to button with badge.
  • +22/-8   
    AccountSettings.vue
    Update logout button type to warning                                         

    frontend/src/views/index/AccountSettings.vue

    • Changed button type for logout action to 'warning'.
    +1/-1     
    UserSettings.vue
    Update logout button type to warning                                         

    frontend/src/views/user/UserSettings.vue

    • Changed button type for logout action to 'warning'.
    +1/-1     

    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/632 **Author:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Created:** 4/12/2025 **Status:** ✅ Merged **Merged:** 4/12/2025 **Merged by:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Base:** `main` ← **Head:** `feature/dev` --- ### 📝 Commits (1) - [`f7236cf`](https://github.com/dreamhunter2333/cloudflare_temp_email/commit/f7236cfa8f5a73fb3809930d43f4d48f77484202) feat: |Admin Portal| optimized UI ### 📊 Changes **4 files changed** (+28 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/views/admin/Account.vue` (+4 -2) 📝 `frontend/src/views/admin/UserManagement.vue` (+22 -8) 📝 `frontend/src/views/index/AccountSettings.vue` (+1 -1) 📝 `frontend/src/views/user/UserSettings.vue` (+1 -1) </details> ### 📄 Description ### **PR Type** enhancement ___ ### **Description** - Added conditional display for buttons based on count values. - Changed button type for logout actions to 'warning'. - Updated translation keys for 'User Address Management'. ___ ### **Changes walkthrough** 📝 <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table> <tr> <td> <details> <summary><strong>Account.vue</strong><dd><code>Conditional display for mail and send box buttons</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> frontend/src/views/admin/Account.vue <li>Added conditional display for 'viewMails' button.<br> <li> Added conditional display for 'viewSendBox' button. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/632/files#diff-1ac8a75932c8a510449efbe046700149bce141b9a325b770922eeaa3486a3d66">+4/-2</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>UserManagement.vue</strong><dd><code>Update translations and conditional button display</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> frontend/src/views/admin/UserManagement.vue <li>Updated translation keys for 'User Address Management'.<br> <li> Added conditional display for 'userAddressManagement' button.<br> <li> Changed address count display to button with badge. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/632/files#diff-2560fba73bfc497305badff34d6455cab25841e772e3e0e2fab4ef88ae43972e">+22/-8</a>&nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>AccountSettings.vue</strong><dd><code>Update logout button type to warning</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> frontend/src/views/index/AccountSettings.vue - Changed button type for logout action to 'warning'. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/632/files#diff-9c838345453bcb12f1b3da5c21d1c2944ff505b6064f3650396c45f4e71e9383">+1/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>UserSettings.vue</strong><dd><code>Update logout button type to warning</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> frontend/src/views/user/UserSettings.vue - Changed button type for logout action to 'warning'. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/632/files#diff-35f5791d54033edbf0f0213a423c946ebf050a864e91de0337b97e3c38ccc856">+1/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></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:18 +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#668
    No description provided.