Only offer the import queue where there is one

59d6dae · Gabriel Morell · 2026-09-04 15:37

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

Files changed

modified apps/room_sanctum/lib/room_sanctum_web/live/cfg_source_live/show.html.heex
+7 −1
@@ -262,8 +262,14 @@ gl_available_projects={@gitlab_available_projects}
262 262 <%!-- This bar is one feed's progress, which cannot say
263 263 whether that feed is running or sat behind three
264 264 others in a queue with a concurrency of one. The
265 − import queue can, so it is one click from here. --%>
265 + import queue can, so it is one click from here.
266 +
267 + GTFS only: that queue imports static timetables and
268 + holds nothing else, so on a weather or bikeshare
269 + source the link goes somewhere its own source will
270 + never appear. --%>
266 271 <.link
272 + :if={@source.type == :gtfs}
267 273 navigate={Routes.source_work_path(@socket, :index)}
268 274 class="btn btn-xs btn-ghost gap-1 font-normal"
269 275 title="What the import queue is doing, across every source"

Parents: 6208ca7