mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-07-08 08:21:14 +00:00
queue size fixes
Publish Python 🐍distribution 📦 to PyPI and TestPyPI / Build distribution 📦 (push) Has been cancelled
ChangeDetection.io App Test / lint-code (push) Has been cancelled
ChangeDetection.io App Test / lint-translations (push) Has been cancelled
ChangeDetection.io App Test / lint-template-i18n (push) Has been cancelled
Publish Python 🐍distribution 📦 to PyPI and TestPyPI / Test the built package works basically. (push) Has been cancelled
Publish Python 🐍distribution 📦 to PyPI and TestPyPI / Publish Python 🐍 distribution 📦 to PyPI (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-10 (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-11 (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-12 (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-13 (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-14 (push) Has been cancelled
Publish Python 🐍distribution 📦 to PyPI and TestPyPI / Build distribution 📦 (push) Has been cancelled
ChangeDetection.io App Test / lint-code (push) Has been cancelled
ChangeDetection.io App Test / lint-translations (push) Has been cancelled
ChangeDetection.io App Test / lint-template-i18n (push) Has been cancelled
Publish Python 🐍distribution 📦 to PyPI and TestPyPI / Test the built package works basically. (push) Has been cancelled
Publish Python 🐍distribution 📦 to PyPI and TestPyPI / Publish Python 🐍 distribution 📦 to PyPI (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-10 (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-11 (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-12 (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-13 (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-14 (push) Has been cancelled
This commit is contained in:
@@ -74,9 +74,11 @@ $(document).ready(function () {
|
||||
}
|
||||
|
||||
|
||||
// Cache DOM elements for performance
|
||||
// Cache DOM elements for performance.
|
||||
// queue-size-int is a class (not an id) because the count is rendered in
|
||||
// BOTH the desktop sidebar and the hamburger drawer — keep them in sync.
|
||||
const queueBubble = document.getElementById('queue-bubble');
|
||||
const queueSizePagerInfoText = document.getElementById('queue-size-int');
|
||||
const queueSizeNodes = document.querySelectorAll('.queue-size-int');
|
||||
// Only try to connect if authentication isn't required or user is authenticated
|
||||
// The 'is_authenticated' variable will be set in the template
|
||||
if (typeof is_authenticated !== 'undefined' ? is_authenticated : true) {
|
||||
@@ -131,9 +133,8 @@ $(document).ready(function () {
|
||||
|
||||
socket.on('queue_size', function (data) {
|
||||
console.log(`${data.event_timestamp} - Queue size update: ${data.q_length}`);
|
||||
if(queueSizePagerInfoText) {
|
||||
queueSizePagerInfoText.textContent = parseInt(data.q_length).toLocaleString() || 'None';
|
||||
}
|
||||
const formattedCount = parseInt(data.q_length).toLocaleString() || 'None';
|
||||
queueSizeNodes.forEach(node => { node.textContent = formattedCount; });
|
||||
document.body.classList.toggle('has-queue', parseInt(data.q_length) > 0);
|
||||
|
||||
// Update queue bubble in action sidebar
|
||||
|
||||
@@ -123,7 +123,7 @@
|
||||
<li>
|
||||
|
||||
<div class="action-sidebar-li" id="queue-stats-sidebar">
|
||||
{{ _('Queued size') }}: <span id="queue-size-int">{{ queue_size }}</span>
|
||||
{{ _('In queue') }}: <span class="queue-size-int">{{ queue_size }}</span>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
Binary file not shown.
@@ -2350,10 +2350,6 @@ msgstr "Smazat sledování?"
|
||||
msgid "<p><strong>Are you sure you want to delete the selected watches?</strong></p><p>This action cannot be undone.</p>"
|
||||
msgstr "<p><strong>Opravdu chcete smazat vybraná sledování?</strong></p><p>Tuto akci nelze vzít zpět.</p>"
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Queued size"
|
||||
msgstr "Velikost fronty"
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Searching"
|
||||
msgstr "Hledání"
|
||||
@@ -4317,6 +4313,10 @@ msgstr ""
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "In queue"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "A new version is available"
|
||||
msgstr "Je dostupná nová verze"
|
||||
|
||||
Binary file not shown.
@@ -2401,10 +2401,6 @@ msgstr ""
|
||||
"<p><strong>Möchten Sie die ausgewählten Überwachungen wirklich löschen?</strong></p><p>Diese Aktion kann nicht "
|
||||
"rückgängig gemacht werden.</p>"
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Queued size"
|
||||
msgstr "Warteschlangengröße"
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Searching"
|
||||
msgstr "Suchen"
|
||||
@@ -4373,6 +4369,10 @@ msgstr ""
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "In queue"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "A new version is available"
|
||||
msgstr ""
|
||||
|
||||
@@ -2346,10 +2346,6 @@ msgstr ""
|
||||
msgid "<p><strong>Are you sure you want to delete the selected watches?</strong></p><p>This action cannot be undone.</p>"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Queued size"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Searching"
|
||||
msgstr ""
|
||||
@@ -4311,6 +4307,10 @@ msgstr ""
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "In queue"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "A new version is available"
|
||||
msgstr ""
|
||||
|
||||
@@ -2346,10 +2346,6 @@ msgstr ""
|
||||
msgid "<p><strong>Are you sure you want to delete the selected watches?</strong></p><p>This action cannot be undone.</p>"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Queued size"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Searching"
|
||||
msgstr ""
|
||||
@@ -4311,6 +4307,10 @@ msgstr ""
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "In queue"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "A new version is available"
|
||||
msgstr ""
|
||||
|
||||
Binary file not shown.
@@ -2417,10 +2417,6 @@ msgstr ""
|
||||
"<p><strong>¿Está seguro de que desea eliminar los monitores seleccionados?</strong></p><p>Esta acción no se puede "
|
||||
"deshacer.</p>"
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Queued size"
|
||||
msgstr "Tamaño de la cola"
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Searching"
|
||||
msgstr "Buscando"
|
||||
@@ -4397,6 +4393,10 @@ msgstr ""
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "In queue"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "A new version is available"
|
||||
msgstr ""
|
||||
|
||||
Binary file not shown.
@@ -2357,10 +2357,6 @@ msgstr "Supprimer les montres ?"
|
||||
msgid "<p><strong>Are you sure you want to delete the selected watches?</strong></p><p>This action cannot be undone.</p>"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Queued size"
|
||||
msgstr "Taille de la file"
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Searching"
|
||||
msgstr "Recherche"
|
||||
@@ -4326,6 +4322,10 @@ msgstr ""
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "In queue"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "A new version is available"
|
||||
msgstr ""
|
||||
|
||||
Binary file not shown.
@@ -2348,10 +2348,6 @@ msgstr "Eliminare monitoraggi?"
|
||||
msgid "<p><strong>Are you sure you want to delete the selected watches?</strong></p><p>This action cannot be undone.</p>"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Queued size"
|
||||
msgstr "Dimensione coda"
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Searching"
|
||||
msgstr "Ricerca in corso"
|
||||
@@ -4313,6 +4309,10 @@ msgstr ""
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "In queue"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "A new version is available"
|
||||
msgstr ""
|
||||
|
||||
Binary file not shown.
@@ -2365,10 +2365,6 @@ msgstr "ウォッチを削除しますか?"
|
||||
msgid "<p><strong>Are you sure you want to delete the selected watches?</strong></p><p>This action cannot be undone.</p>"
|
||||
msgstr "<p><strong>選択したウォッチを削除してもよいですか?</strong></p><p>この操作は元に戻せません。</p>"
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Queued size"
|
||||
msgstr "キューのサイズ"
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Searching"
|
||||
msgstr "検索中"
|
||||
@@ -4354,6 +4350,10 @@ msgstr ""
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "In queue"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "A new version is available"
|
||||
msgstr "新しいバージョンが利用可能です"
|
||||
|
||||
Binary file not shown.
@@ -2356,10 +2356,6 @@ msgstr "모니터링을 삭제하시겠습니까?"
|
||||
msgid "<p><strong>Are you sure you want to delete the selected watches?</strong></p><p>This action cannot be undone.</p>"
|
||||
msgstr "<p><strong>선택한 모니터링을 삭제하시겠습니까?</strong></p><p>이 작업은 되돌릴 수 없습니다.</p>"
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Queued size"
|
||||
msgstr "대기열 크기"
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Searching"
|
||||
msgstr "검색 중"
|
||||
@@ -4331,6 +4327,10 @@ msgstr ""
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "In queue"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "A new version is available"
|
||||
msgstr "새 버전이 있습니다"
|
||||
|
||||
@@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: changedetection.io 0.55.6\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2026-05-28 14:59+0200\n"
|
||||
"POT-Creation-Date: 2026-05-28 15:42+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -2345,10 +2345,6 @@ msgstr ""
|
||||
msgid "<p><strong>Are you sure you want to delete the selected watches?</strong></p><p>This action cannot be undone.</p>"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Queued size"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Searching"
|
||||
msgstr ""
|
||||
@@ -4310,6 +4306,10 @@ msgstr ""
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "In queue"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "A new version is available"
|
||||
msgstr ""
|
||||
|
||||
Binary file not shown.
@@ -2396,10 +2396,6 @@ msgstr ""
|
||||
"<p><strong>Tem certeza que deseja excluir os monitoramentos selecionados?</strong></p><p>Esta ação não pode ser "
|
||||
"desfeita.</p>"
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Queued size"
|
||||
msgstr "Tamanho da fila"
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Searching"
|
||||
msgstr "Pesquisando"
|
||||
@@ -4369,6 +4365,10 @@ msgstr ""
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "In queue"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "A new version is available"
|
||||
msgstr ""
|
||||
|
||||
Binary file not shown.
@@ -2399,10 +2399,6 @@ msgstr "İzleyiciler Silinsin mi?"
|
||||
msgid "<p><strong>Are you sure you want to delete the selected watches?</strong></p><p>This action cannot be undone.</p>"
|
||||
msgstr "<p><strong>Seçili izleyicileri silmek istediğinizden emin misiniz?</strong></p><p>Bu işlem geri alınamaz.</p>"
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Queued size"
|
||||
msgstr "Sıraya alınmış boyut"
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Searching"
|
||||
msgstr "Aranıyor"
|
||||
@@ -4372,6 +4368,10 @@ msgstr ""
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "In queue"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "A new version is available"
|
||||
msgstr ""
|
||||
|
||||
Binary file not shown.
@@ -2378,10 +2378,6 @@ msgstr "Видалити завдання?"
|
||||
msgid "<p><strong>Are you sure you want to delete the selected watches?</strong></p><p>This action cannot be undone.</p>"
|
||||
msgstr "<p><strong>Ви впевнені, що хочете видалити вибрані завдання?</strong></p><p>Цю дію неможливо скасувати.</p>"
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Queued size"
|
||||
msgstr "Розмір черги"
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Searching"
|
||||
msgstr "Пошук"
|
||||
@@ -4349,6 +4345,10 @@ msgstr ""
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "In queue"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "A new version is available"
|
||||
msgstr ""
|
||||
|
||||
Binary file not shown.
@@ -2351,10 +2351,6 @@ msgstr "删除监控项?"
|
||||
msgid "<p><strong>Are you sure you want to delete the selected watches?</strong></p><p>This action cannot be undone.</p>"
|
||||
msgstr "<p><strong>确定要删除所选监控项吗?</strong></p><p>此操作不可撤销。</p>"
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Queued size"
|
||||
msgstr "队列大小"
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Searching"
|
||||
msgstr "搜索中"
|
||||
@@ -4317,6 +4313,10 @@ msgstr ""
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "In queue"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "A new version is available"
|
||||
msgstr ""
|
||||
|
||||
Binary file not shown.
@@ -2350,10 +2350,6 @@ msgstr "刪除監測任務?"
|
||||
msgid "<p><strong>Are you sure you want to delete the selected watches?</strong></p><p>This action cannot be undone.</p>"
|
||||
msgstr "<p><strong>您確定要刪除所選的監測任務嗎?</strong></p><p>此動作無法復原。</p>"
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Queued size"
|
||||
msgstr "佇列大小"
|
||||
|
||||
#: changedetectionio/blueprint/watchlist/templates/watch-overview.html
|
||||
msgid "Searching"
|
||||
msgstr "搜尋中"
|
||||
@@ -4315,6 +4311,10 @@ msgstr ""
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "In queue"
|
||||
msgstr ""
|
||||
|
||||
#: changedetectionio/templates/sidebar-nav.html
|
||||
msgid "A new version is available"
|
||||
msgstr ""
|
||||
|
||||
Reference in New Issue
Block a user