revert(frontend): Frontend auf letzten funktionierenden Stand 5680179 zurückgesetzt — i18n-Massen-Batch brach Dashboard-Shell in Produktion; Render-Loop-Fix und DSGVO-Antrags-UI liegen sicher in Historie für kontrollierten Wiedereinspiel

This commit is contained in:
Agent Zero
2026-08-27 09:14:21 +02:00
parent bea479bfad
commit 66c11d3d64
119 changed files with 925 additions and 1477 deletions
@@ -4,7 +4,6 @@ import { Loader2 } from 'lucide-react';
import { usePluginStore } from '@/store/pluginStore';
import { ProtectedRoute } from '@/components/common/ProtectedRoute';
import { PluginPage } from './PluginLoader';
import { useTranslation } from 'react-i18next';
/**
* PluginRouteRenderer — catch-all route handler that checks the current URL
@@ -18,7 +17,6 @@ import { useTranslation } from 'react-i18next';
* { path: '*', element: <PluginRouteRenderer /> }
*/
export function PluginRouteRenderer() {
const { t } = useTranslation();
const location = useLocation();
const manifests = usePluginStore((s) => s.manifests);
const loaded = usePluginStore((s) => s.loaded);
@@ -65,7 +63,7 @@ export function PluginRouteRenderer() {
// If manifests haven't loaded yet, show a spinner (not null/blank)
if (!loaded) {
return (
<div className="flex items-center justify-center min-h-[50vh]" role="status" aria-label={t('pluginRouteRenderer.loading')}>
<div className="flex items-center justify-center min-h-[50vh]" role="status" aria-label="Loading">
<Loader2 className="animate-spin h-8 w-8 text-primary-500" aria-hidden="true" />
</div>
);
@@ -74,9 +72,9 @@ export function PluginRouteRenderer() {
// No plugin route matched — show a simple not-found
return (
<div className="flex flex-col items-center justify-center min-h-[50vh] text-secondary-500">
<h2 className="text-2xl font-semibold mb-2">{t('pluginRouteRenderer.pagenotfound')}</h2>
<h2 className="text-2xl font-semibold mb-2">Page Not Found</h2>
<p className="text-sm">
{t('pluginRouteRenderer.thepage')} <code className="bg-secondary-100 px-1 rounded">{location.pathname}</code> {t('pluginRouteRenderer.wasnotfound')}
The page <code className="bg-secondary-100 px-1 rounded">{location.pathname}</code> was not found.
</p>
</div>
);