Coach: Fragebogen beim ersten Mal, dann ein Chat mit dem Coach; Admin-Dashboard lesbar
Der Coach ist jetzt ein Gespraech. Beim ersten Mal ein Onboarding im Apple-Stil — eine Frage pro Bildschirm, 1–7 Tage frei, Trainingsdauer als HH:MM — danach der Chat: die Antworten als erste Nachricht, eine Tipp-Blase mit gemessener Dauer waehrend der Job laeuft, der Plan als Karte mit Routinen-Tabs und Begruendungen, Freitext zum Nachbessern, ein Knopf zum Uebernehmen. Zurueckkommen, Review anfordern, Antworten aendern — alles im selben Chat. Der Aus-Schalter fuer Nutzer ist weg: abschalten kann nur noch der Admin. Das Admin-Dashboard fuehrt in nummerierten Schritten (Provider → Endpunkt → Zugang → Modell → Test) mit Statuspille und Klartext; Limits, Konto und Isolation unter 'Advanced', die Jobs unter 'Activity'.
This commit is contained in:
1 parent
aef950cf7c
commit
18dd33e9d3
23 files changed
+2070
-321
No files matched your search
@@ -26,9 +26,8 @@ import History from './views/History.jsx'
|
||||
import Library from './views/Library.jsx'
|
||||
import Settings from './views/Settings.jsx'
|
||||
import Admin from './views/Admin.jsx'
|
||||
import Coach from './views/Coach.jsx'
|
||||
import CoachChat from './views/CoachChat.jsx'
|
||||
import CoachIntake from './views/CoachIntake.jsx'
|
||||
import CoachProposal from './views/CoachProposal.jsx'
|
||||
import CoachSetup from './views/CoachSetup.jsx'
|
||||
|
||||
bindUI(useUI) // lets the shared controls open sheets without importing the store at module scope
|
||||
@@ -100,9 +99,9 @@ function Shell() {
|
||||
{/* The Coach screens gate themselves on the instance config; the routes exist
|
||||
unconditionally so a deep link from a notification lands somewhere sane
|
||||
rather than on the catch-all. */}
|
||||
<Route path="/coach" element={<Coach />} />
|
||||
<Route path="/coach" element={<CoachChat />} />
|
||||
<Route path="/coach/intake" element={<CoachIntake />} />
|
||||
<Route path="/coach/proposal" element={<CoachProposal />} />
|
||||
<Route path="/coach/proposal" element={<Navigate to="/coach" replace />} />
|
||||
<Route path="/coach/setup" element={<CoachSetup />} />
|
||||
<Route path="/admin" element={user?.admin ? <Admin /> : <Navigate to="/home" replace />} />
|
||||
<Route path="*" element={<Navigate to="/home" replace />} />
|
||||
|
||||
Reference in new issue
Block a user