From aeccb96c77316cd9d0b4385716310d9ff9c8c27a Mon Sep 17 00:00:00 2001 From: Joshua Oosthuizen Date: Fri, 27 Nov 2026 23:44:39 +0200 Subject: [PATCH] Hub 2.25.1: jobs product filter lists every product The Product filter on Jobs offered only Cross Events and Accounts, so the Church Website's jobs couldn't be picked out. It now comes from lib/products. The API already accepted every product. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 10 ++++++++++ backend/package-lock.json | 4 ++-- backend/package.json | 2 +- frontend/package-lock.json | 4 ++-- frontend/package.json | 2 +- frontend/src/app/(hub)/jobs/page.tsx | 6 ++++-- 6 files changed, 20 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index acdeb19..53e42e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,16 @@ versions follow [Semantic Versioning](https://semver.org/). ## [Unreleased] +## [2.25.1] - 2026-11-27 + +No migration; no API is removed. Frontend only. + +### Fixed + +- **Jobs → Product filter lists every product.** It offered only Cross Events and Accounts, so the + Church Website's (and the App's) jobs couldn't be filtered on; the list now comes from the + products list. The API already accepted every product. + ## [2.25.0] - 2026-11-27 One migration (`20261127120000_customer_demo`: `Customer.isDemo`, `Customer.demoSince`). No diff --git a/backend/package-lock.json b/backend/package-lock.json index 40d2eab..45a5d7d 100644 --- a/backend/package-lock.json +++ b/backend/package-lock.json @@ -1,12 +1,12 @@ { "name": "events-hub-backend", - "version": "2.25.0", + "version": "2.25.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "events-hub-backend", - "version": "2.25.0", + "version": "2.25.1", "hasInstallScript": true, "dependencies": { "@anthropic-ai/sdk": "^1.3.0", diff --git a/backend/package.json b/backend/package.json index 675b7fb..1d59774 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "events-hub-backend", - "version": "2.25.0", + "version": "2.25.1", "private": true, "description": "Cross Events Hub — API for managing Cross Events installs, licences and heartbeats", "main": "src/index.js", diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 56c66e3..e5b8ac1 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "events-hub-frontend", - "version": "2.25.0", + "version": "2.25.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "events-hub-frontend", - "version": "2.25.0", + "version": "2.25.1", "dependencies": { "lucide-react": "^0.536.0", "next": "^15.5.24", diff --git a/frontend/package.json b/frontend/package.json index 51eb896..265fc4d 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "events-hub-frontend", - "version": "2.25.0", + "version": "2.25.1", "private": true, "scripts": { "dev": "next dev -p 3200", diff --git a/frontend/src/app/(hub)/jobs/page.tsx b/frontend/src/app/(hub)/jobs/page.tsx index 4d8a78f..000ddfe 100644 --- a/frontend/src/app/(hub)/jobs/page.tsx +++ b/frontend/src/app/(hub)/jobs/page.tsx @@ -3,6 +3,7 @@ import React, { useEffect, useState } from "react"; import Link from "next/link"; import { fmtDate } from "@/lib/format"; +import { PRODUCTS, PRODUCT_NAMES } from "@/lib/products"; import { useServerPaged } from "@/lib/paging"; import { Loading, Message, PageTitle, Pager, SearchInput } from "@/components/ui"; import { ServersNav, StatusPill, type Job } from "@/components/servers"; @@ -19,7 +20,8 @@ const FILTERS = [ ]; const TYPES = ["", "install", "add-product", "deploy", "adopt", "adopt-undo", "export", "uninstall", "purge", "seed-demo", "env-read", "env-set", "restart", "status", "check-ports", "probe-ports", "frp-read", "frp-write", "update-agent"]; -const PRODUCTS = [{ key: "", label: "Every product" }, { key: "events", label: "Cross Events" }, { key: "accounts", label: "Accounts" }]; +// Every product from lib/products (2.25.1: it listed only Events and Accounts, so the Website's jobs couldn't be picked out). +const PRODUCT_FILTERS = [{ key: "", label: "Every product" }, ...PRODUCTS.map(p => ({ key: p, label: PRODUCT_NAMES[p] }))]; /** Every job sent to a server's agent, newest first, a page at a time (§11: the full report is on each job). */ export default function JobsPage() { @@ -41,7 +43,7 @@ export default function JobsPage() {
{FILTERS.map(f => )}
- +
{!jobs ? : (