Feature-Seite: alle Funktionen aus dem Modul-Register
Deploy / check (push) Has been cancelled
Deploy / deploy (push) Has been cancelled

/features zeigte bisher dieselbe Landing wie /, obwohl die Navigation und
ein Knopf auf der Startseite eine echte Funktionsliste versprachen.

Die Seite listet jetzt alle 35 Bot-Funktionen, nach denselben Gruppen
sortiert wie im Panel, dazu sechs Punkte zum Drumherum (Webinterface,
Texte, API/SSO, eigene Seiten, Team-Rechte, Betrieb).

Die Einträge kommen über das neue öffentliche /api/features aus
src/modules.js — derselben Quelle, aus der die Modul-Schalter kommen. Eine
neue Funktion erscheint damit automatisch auf der Produktseite, statt dass
jemand daran denken muss. Der Endpunkt gibt bewusst nur Name, Beschreibung
und Gruppe heraus, nicht welche Module hier gerade laufen.

Auch die Zahl auf der Startseite kommt von dort, damit nicht zwei Stellen
dieselbe Zahl pflegen.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-31 16:17:50 +02:00
co-authored by Claude Fable 5
parent 2ce274707a
commit a32c267dda
6 changed files with 205 additions and 4 deletions
+3 -2
View File
@@ -1,9 +1,10 @@
// Rahmen der Bot-Produktseite — eigene Navigation, orange Leitfarbe.
// Das Dashboard ist dieselbe Setup-Seite wie bisher, nur unter /dashboard.
// Das Dashboard ist dieselbe Config-Seite wie bisher, nur unter /dashboard.
import { useEffect, useState } from 'react';
import { Routes, Route, NavLink, Navigate, useLocation } from 'react-router-dom';
import { apiGet } from './api.js';
import BotLanding from './pages/BotLanding.jsx';
import BotFeatures from './pages/BotFeatures.jsx';
import BotCommands from './pages/BotCommands.jsx';
import Settings from './pages/Settings.jsx';
import Impressum from './pages/Impressum.jsx';
@@ -82,7 +83,7 @@ export default function BotApp() {
<main className="main">
<Routes>
<Route path="/" element={<BotLanding />} />
<Route path="/features" element={<BotLanding />} />
<Route path="/features" element={<BotFeatures />} />
<Route path="/commands" element={<BotCommands />} />
<Route path="/dashboard" element={<Settings me={me} />} />
<Route path="/impressum" element={<Impressum />} />