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 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Generated
+2
-2
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Generated
+2
-2
@@ -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",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "events-hub-frontend",
|
||||
"version": "2.25.0",
|
||||
"version": "2.25.1",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev -p 3200",
|
||||
|
||||
@@ -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() {
|
||||
<div className="mb-3 flex flex-wrap gap-2">{FILTERS.map(f => <button key={f.key} className={filter === f.key ? "btn-primary" : "btn-secondary"} onClick={() => setFilter(f.key)}>{f.label}</button>)}</div>
|
||||
<div className="mb-4 grid gap-2 md:grid-cols-3">
|
||||
<SearchInput value={query} onChange={setQuery} placeholder="Search a church or domain" />
|
||||
<select className="input" aria-label="Product" value={product} onChange={e => setProduct(e.target.value)}>{PRODUCTS.map(p => <option key={p.key} value={p.key}>{p.label}</option>)}</select>
|
||||
<select className="input" aria-label="Product" value={product} onChange={e => setProduct(e.target.value)}>{PRODUCT_FILTERS.map(p => <option key={p.key} value={p.key}>{p.label}</option>)}</select>
|
||||
<select className="input" aria-label="Job type" value={type} onChange={e => setType(e.target.value)}>{TYPES.map(t => <option key={t} value={t}>{t || "Every job type"}</option>)}</select>
|
||||
</div>
|
||||
{!jobs ? <Loading /> : (
|
||||
|
||||
Reference in New Issue
Block a user