From 36c1599a09975e5af4f10701ad32e707cdb02f1a Mon Sep 17 00:00:00 2001 From: Maurice Date: Fri, 30 Oct 2026 19:02:46 +0100 Subject: [PATCH] place-contrib: settle the second CI round - The plugin RPC fallback tests build PlacesRpc with its origin bookkeeping. - The e2e guard and contract cases send their requests one after another; the test server reset connections opened all at once. - The job's two cron registrations are tagged @txIndependent: neither writes. - The panel draws its fold head itself instead of importing it from pages/. --- .../components/Admin/PlaceContribPanel.tsx | 14 ++++++++---- .../nest/place-contrib/place-contrib.job.ts | 1 + server/tests/e2e/place-contrib.e2e.test.ts | 22 +++++++++---------- .../tests/unit/plugins/rpc-fallbacks.test.ts | 7 ++++-- 4 files changed, 26 insertions(+), 18 deletions(-) diff --git a/client/src/components/Admin/PlaceContribPanel.tsx b/client/src/components/Admin/PlaceContribPanel.tsx index 00e76df7c..4f7ee256e 100644 --- a/client/src/components/Admin/PlaceContribPanel.tsx +++ b/client/src/components/Admin/PlaceContribPanel.tsx @@ -1,8 +1,7 @@ import type { PlaceContribField, PlaceContribState } from '@trek/shared'; -import { HeartHandshake, Undo2 } from 'lucide-react'; +import { ChevronRight, HeartHandshake, Undo2 } from 'lucide-react'; import { useState } from 'react'; import { useTranslation } from '../../i18n'; -import FoldSummary from '../../pages/admin/FoldSummary'; import type { TranslationFn } from '../../types'; import { getApiErrorMessage } from '../../utils/apiError'; import { StatusPill } from '../Settings/settingsKit'; @@ -156,11 +155,18 @@ export default function PlaceContribPanel() { {(agreed || state.consent.decision === 'off') && (
- + {/* The admin page's fold head (pages/admin/FoldSummary), which a component cannot import. */} + +