[PR #421] [MERGED] feat: UI: add WorkerConfig && release v0.7.3 #573

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

📋 Pull Request Information

Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/421
Author: @dreamhunter2333
Created: 8/18/2024
Status: Merged
Merged: 8/18/2024
Merged by: @dreamhunter2333

Base: mainHead: feature/dev


📝 Commits (1)

  • a2b356a feat: UI: add WorkerConfig && release v0.7.3

📊 Changes

5 files changed (+122 additions, -5 deletions)

View changed files

📝 CHANGELOG.md (+1 -1)
📝 frontend/src/views/Admin.vue (+29 -4)
frontend/src/views/admin/WorkerConfig.vue (+42 -0)
📝 worker/src/admin_api/index.ts (+4 -0)
worker/src/admin_api/worker_config.ts (+46 -0)

📄 Description

PR Type

Enhancement


Description

  • Added a new WorkerConfig component to the Admin view, including its integration into the UI with new tabs for quick setup and maintenance.
  • Created a new WorkerConfig Vue component that fetches and displays worker configuration data.
  • Introduced a new API endpoint in the backend to fetch worker configuration settings.
  • Implemented a new module in the backend to handle the worker configuration API logic.

Changes walkthrough 📝

Relevant files
Enhancement
Admin.vue
Add WorkerConfig component and integrate into Admin view 

frontend/src/views/Admin.vue

  • Added import for WorkerConfig component.
  • Introduced new tab qucickSetup with nested tabs including
    workerconfig.
  • Added workerconfig tab under maintenance.
  • Updated localization strings for English and Chinese.
  • +29/-4   
    WorkerConfig.vue
    Create and display WorkerConfig component                               

    frontend/src/views/admin/WorkerConfig.vue

  • Created new WorkerConfig component.
  • Fetches worker configuration data from API.
  • Displays configuration data in a card.
  • +42/-0   
    index.ts
    Add API endpoint for fetching worker configuration             

    worker/src/admin_api/index.ts

  • Imported worker_config module.
  • Added new API endpoint to fetch worker configuration.
  • +4/-0     
    worker_config.ts
    Implement worker configuration API module                               

    worker/src/admin_api/worker_config.ts

  • Created new module to handle worker configuration API.
  • Defined getConfig function to return various configuration settings.
  • +46/-0   

    💡 PR-Agent usage:
    Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions


    🔄 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/421 **Author:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Created:** 8/18/2024 **Status:** ✅ Merged **Merged:** 8/18/2024 **Merged by:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Base:** `main` ← **Head:** `feature/dev` --- ### 📝 Commits (1) - [`a2b356a`](https://github.com/dreamhunter2333/cloudflare_temp_email/commit/a2b356a50018f39ba44469359eff4faa9128d911) feat: UI: add WorkerConfig && release v0.7.3 ### 📊 Changes **5 files changed** (+122 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -1) 📝 `frontend/src/views/Admin.vue` (+29 -4) ➕ `frontend/src/views/admin/WorkerConfig.vue` (+42 -0) 📝 `worker/src/admin_api/index.ts` (+4 -0) ➕ `worker/src/admin_api/worker_config.ts` (+46 -0) </details> ### 📄 Description ### **PR Type** Enhancement ___ ### **Description** - Added a new `WorkerConfig` component to the Admin view, including its integration into the UI with new tabs for quick setup and maintenance. - Created a new `WorkerConfig` Vue component that fetches and displays worker configuration data. - Introduced a new API endpoint in the backend to fetch worker configuration settings. - Implemented a new module in the backend to handle the worker configuration API logic. ___ ### **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>Admin.vue</strong><dd><code>Add WorkerConfig component and integrate into Admin view</code>&nbsp; </dd></summary> <hr> frontend/src/views/Admin.vue <li>Added import for <code>WorkerConfig</code> component.<br> <li> Introduced new tab <code>qucickSetup</code> with nested tabs including <br><code>workerconfig</code>.<br> <li> Added <code>workerconfig</code> tab under <code>maintenance</code>.<br> <li> Updated localization strings for English and Chinese.<br> </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/421/files#diff-78137b072a7fa52c6d503efb9a3d32c07da5073dd5ca32ac48b1402ac2481a55">+29/-4</a>&nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>WorkerConfig.vue</strong><dd><code>Create and display WorkerConfig component</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> frontend/src/views/admin/WorkerConfig.vue <li>Created new <code>WorkerConfig</code> component.<br> <li> Fetches worker configuration data from API.<br> <li> Displays configuration data in a card.<br> </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/421/files#diff-0a7535ad031e2c50763c979ca587db2ba76d02feb93f6ad607fb2d55fa8b38c4">+42/-0</a>&nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>index.ts</strong><dd><code>Add API endpoint for fetching worker configuration</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> worker/src/admin_api/index.ts <li>Imported <code>worker_config</code> module.<br> <li> Added new API endpoint to fetch worker configuration.<br> </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/421/files#diff-b470c4c47ce4a700cd8aac644d07d8a747d439bb6d69e9392a198b3a931fe2e7">+4/-0</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>worker_config.ts</strong><dd><code>Implement worker configuration API module</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> worker/src/admin_api/worker_config.ts <li>Created new module to handle worker configuration API.<br> <li> Defined <code>getConfig</code> function to return various configuration settings.<br> </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/421/files#diff-49df0a54d190cb8ea3788432fae88000683da8e61a5c4d0d184c8b7f0015a0ae">+46/-0</a>&nbsp; &nbsp; </td> </tr> </table></td></tr></tr></tbody></table> ___ > 💡 **PR-Agent usage**: >Comment `/help` on the PR to get a list of all available PR-Agent tools and their descriptions --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
    kerem 2026-02-26 21:31:51 +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#573
    No description provided.