Link the worker status box to the import queue

6208ca7 · Gabriel Morell · 2026-09-04 15:17

7 files +14 -1
Message
{commit_body(@commit)}

Files changed

modified apps/room_sanctum/lib/room_sanctum_web/live/cfg_source_live/show.html.heex
+14 −1
@@ -257,7 +257,20 @@ gl_available_projects={@gitlab_available_projects}
257 257 </div>
258 258 <div class="card card-compact w-1/4 bg-base-100 shadow-xl m-2">
259 259 <div class="card-body">
260 − <h3 class="card-title">Worker Status</h3>
260 + <h3 class="card-title flex justify-between items-center">
261 + Worker Status
262 + <%!-- This bar is one feed's progress, which cannot say
263 + whether that feed is running or sat behind three
264 + others in a queue with a concurrency of one. The
265 + import queue can, so it is one click from here. --%>
266 + <.link
267 + navigate={Routes.source_work_path(@socket, :index)}
268 + class="btn btn-xs btn-ghost gap-1 font-normal"
269 + title="What the import queue is doing, across every source"
270 + >
271 + <i class="fa-solid fa-list-check"></i> Import Queue
272 + </.link>
273 + </h3>
261 274 <%= @status %>
262 275 <progress class="progress progress-secondary w-100" value={@status_val} max="100"></progress>
263 276 </div>

Parents: 3c00594