From 7ecab242a6f94617ea89ba9eccf8a1835e676ef3 Mon Sep 17 00:00:00 2001 From: jamey Date: Mon, 2 Mar 2026 08:07:44 +0000 Subject: [PATCH] add default queue for cron jobs, fix mobile sidebar scroll MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cron-scheduled workers (retention, dead link checker, pruners) were enqueued to the default queue which wasn't configured — they never ran. Also add overflow-y scroll and sticky positioning to admin sidebar. Co-Authored-By: Claude Opus 4.6 --- assets/css/admin/components.css | 8 ++++++++ config/config.exs | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/assets/css/admin/components.css b/assets/css/admin/components.css index c239e5f..1b84eba 100644 --- a/assets/css/admin/components.css +++ b/assets/css/admin/components.css @@ -63,6 +63,9 @@ z-index: 1; width: 16rem; min-height: 100%; + max-height: 100vh; + max-height: 100dvh; + overflow-y: auto; display: flex; flex-direction: column; background-color: var(--t-surface-sunken); @@ -78,6 +81,11 @@ position: relative; } + .admin-sidebar { + position: sticky; + top: 0; + } + .admin-sidebar-overlay { display: none; } diff --git a/config/config.exs b/config/config.exs index 23b707b..4e76183 100644 --- a/config/config.exs +++ b/config/config.exs @@ -107,7 +107,7 @@ config :berrypod, Oban, {"0 1 * * *", Berrypod.ActivityLog.PruneWorker} ]} ], - queues: [images: 2, sync: 1, checkout: 1, newsletter: 1] + queues: [default: 3, images: 2, sync: 1, checkout: 1, newsletter: 1] # Import environment specific config. This must remain at the bottom # of this file so it overrides the configuration defined above.