Implement complete Phase 2 features including: - Operator Dashboard (React + Vite + Tailwind): * Real-time session monitoring with live event feed * Vote tallies and witness cap tracking * Moderation queue for content review * Manual controls for session management * Analytics dashboard with event timelines * Accessible at /operator route - Structured Logging Service: * JSON-formatted logs with session/phase/event correlation * Configurable log levels (debug/info/warn/error) * Child loggers with inherited context * Production-ready logging architecture - Transcript & Vote UI enhancements: * Live SSE transcript stream with dedupe * Verdict/sentence poll bars with real-time updates * Phase-gated voting controls - Witness Caps & Recap System: * Token and time-based witness response limits * Configurable truncation markers * Judge recap events at configurable cadence - End-to-End Testing: * Full round E2E test with caps and recap * Integration tests for all new features * 102 tests passing (100 pass, 2 skipped) - Documentation & Configuration: * Updated API docs with new endpoints * Event taxonomy with new event types * README with dashboard and logging sections * Makefile targets for dashboard dev/build * Environment variables for all features Closes #17 Closes #18 Closes #19 Closes #20 Closes #21
24 lines
649 B
JavaScript
24 lines
649 B
JavaScript
/** @type {import('tailwindcss').Config} */
|
|
export default {
|
|
content: ['./dashboard/index.html', './dashboard/**/*.{js,ts,jsx,tsx}'],
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
primary: {
|
|
50: '#fdf2f8',
|
|
100: '#fce7f3',
|
|
200: '#fbcfe8',
|
|
300: '#f9a8d4',
|
|
400: '#f472b6',
|
|
500: '#ec4899',
|
|
600: '#db2777',
|
|
700: '#be185d',
|
|
800: '#9d174d',
|
|
900: '#831843',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
plugins: [],
|
|
};
|