Files
orascheandClaude Opus 5.5 67ded6e502 SSR module: dark VITEC cockpit with live charts
Live band with 24 h availability strip, gauges for hit rate, response time, cache fill and client errors, traffic chart 24 h / 7 days from the health log counter deltas drawn with the core Chart.js of EXT:dashboard, warm progress ring with live polling, purge activity timeline, client error cards, link to the site settings. ssr-cockpit.js replaces ssr-warm-progress.js, whose deletion went into a9923e1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 10:52:46 +01:00

43 lines
1.6 KiB
PHP
Executable File

<?php
declare(strict_types=1);
use Evomedien\Vitec\Controller\Backend\ProductTextImportController;
use Evomedien\Vitec\Controller\Backend\StructuredDataController;
/**
* Backend AJAX routes for the VITEC extension.
*
* vitec_structureddata_generate — generate schema.org JSON-LD for a product;
* called by the FormEngine "Structured Data generieren" button. The URL is
* available to JS via TYPO3.settings.ajaxUrls['vitec_structureddata_generate'].
*/
return [
'vitec_structureddata_generate' => [
'path' => '/vitec/structureddata/generate',
'target' => StructuredDataController::class . '::generate',
],
// Click-to-edit in the product text import's "Current value" column:
// read the full raw value / write one field through DataHandler.
'vitec_product_field_get' => [
'path' => '/vitec/product/field/get',
'target' => ProductTextImportController::class . '::fieldGet',
],
'vitec_product_field_save' => [
'path' => '/vitec/product/field/save',
'target' => ProductTextImportController::class . '::fieldSave',
],
// Context menu "Purge from SSR cache" (SsrPurgeItemProvider +
// Resources/Public/Javascript/ssr-context-menu.js).
'vitec_ssr_purge_page' => [
'path' => '/vitec/ssr/purge-page',
'target' => \Evomedien\Vitec\Controller\Backend\SsrController::class . '::purgePage',
],
// Live status of the VITEC SSR cockpit
// (Resources/Public/Javascript/ssr-cockpit.js polls it).
'vitec_ssr_health' => [
'path' => '/vitec/ssr/health',
'target' => \Evomedien\Vitec\Controller\Backend\SsrController::class . '::healthJson',
],
];