From 56a6a251124b9b6fc0f15f88fdf34d2346739c1e Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Thu, 4 Dec 2025 14:37:25 +0200 Subject: [PATCH] Queues tab done --- .../admin_tabs/job_queues_tab.vue | 199 ++++++++++++++---- src/i18n/en.json | 35 +++ 2 files changed, 195 insertions(+), 39 deletions(-) diff --git a/src/components/settings_modal/admin_tabs/job_queues_tab.vue b/src/components/settings_modal/admin_tabs/job_queues_tab.vue index 68ac91984..f156a6fa5 100644 --- a/src/components/settings_modal/admin_tabs/job_queues_tab.vue +++ b/src/components/settings_modal/admin_tabs/job_queues_tab.vue @@ -8,67 +8,188 @@

{{ $t('admin_dash.job_queues.queues') }}

- + + + +

{{ $t('admin_dash.job_queues.Gun.title') }}

+
    +
  • +

    {{ $t('admin_dash.job_queues.Gun.connections_pools') }}

    +
      +
    • + +
    • +
    • + +
    • +
    • + +
    • +
    • + + +
    • +
    • + +
    • +
    • + + +
    • +
    • + +
    • +
    +
  • +
  • +

    {{ $t('admin_dash.job_queues.Gun.pools.title') }}

    +
      +
    • +
      {{ $t('admin_dash.job_queues.Gun.pools.default') }}
      +
        +
      • + +
      • +
      • + +
      • +
      • + +
      • +
      + +
    • +
    • +
      {{ $t('admin_dash.job_queues.Gun.pools.federation') }}
      +
        +
      • + +
      • +
      • + +
      • +
      • + +
      • +
      + +
    • +
    • + +
      {{ $t('admin_dash.job_queues.Gun.pools.rich_media') }}
      +
        +
      • + +
      • +
      • + +
      • +
      • + +
      • +
      + +
    • +
    • +
      {{ $t('admin_dash.job_queues.Gun.pools.media') }}
      +
        +
      • + +
      • +
      • + +
      • +
      • + +
      • +
      + +
    • +
    +
  • +
+

{{ $t('admin_dash.job_queues.Hackney.title') }}

+
    +
  • +

    {{ $t('admin_dash.job_queues.Hackney.federation') }}

    +
      +
    • + +
    • +
    • + +
    • +
    + +
  • +
  • +

    {{ $t('admin_dash.job_queues.Hackney.media') }}

    +
      +
    • + +
    • +
    • + +
    • +
    + +
  • +
  • + +

    {{ $t('admin_dash.job_queues.Hackney.rich_media') }}

    +
      +
    • + +
    • +
    • + +
    • +
    + +
  • +
  • +

    {{ $t('admin_dash.job_queues.Hackney.upload') }}

    +
      +
    • + +
    • +
    • + +
    • +
    +
diff --git a/src/i18n/en.json b/src/i18n/en.json index d7d6840ca..adfcb8689 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -1163,6 +1163,25 @@ }, "job_queues": { "Oban": "Oban queues", + "Gun": { + "title": "Gun queues", + "connections_pools": "Gun connections pool", + "pools": { + "title": "Gun worker pools", + "default": "Default pool", + "federation": "Federation pool", + "media": "Media pool", + "rich_media": "Rich media pool", + "upload": "Upload pool" + } + }, + "Hackney": { + "title": "Hackney pools", + "federation": "Federation", + "media": "Media", + "rich_media": "Rich media", + "upload": "Upload" + }, "queues": "Queues" }, "nodb": { @@ -1322,6 +1341,22 @@ } } }, + ":connections_pool": { + ":max_idle_time": { + "label": "Maximum idle time", + "description": "idk" + }, + ":retry": { + "label": "Retry", + "description": "idk" + } + }, + ":pools": { + ":rich_media": { + "label": "Rich media", + "description": "idk" + } + }, "Pleroma_DOT_Formatter": { ":attribute_toggle": { "label": "Set {attr} attribute"