video-accessibility/frontend
Vadym Samoilenko c1948ea198 feat(ux): T-2/PR-7/PR-8 — status color helper, queue stats widget, upload-final-VTT override
T-2: Extract getJobStatusColor() into utils/jobStatusMessages.ts; StatusBadge now uses the
     shared helper (single source of truth for badge colors).

PR-7: GET /admin/production/queue-stats — returns Celery queue depths via Redis LLEN.
      Production dashboard shows a live panel (10s refresh) with per-queue task counts.

PR-8: POST /admin/production/jobs/{id}/upload-final-vtt — Production/Admin can upload a
      hand-crafted VTT to bypass AI, writing to GCS and advancing the job to PENDING_QC.
      Upload modal added to FailuresList with language + type (captions/ad) selectors.

docker-compose.optical-dev.yml: enable USE_CELERY_FALLBACK=true, set worker replicas=1
      for all pipeline workers (ffmpeg/tts/whisper) with WORKER_CONCURRENCY=2 so the full
      pipeline runs on the 2-CPU optical-dev server until Cloud Run VPC Connector is ready.

Fix: remove unused effectiveMs variable in TimelinePreview (TS6133).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-30 11:12:36 +01:00
..
public initial commit 2025-08-24 16:28:33 -05:00
src feat(ux): T-2/PR-7/PR-8 — status color helper, queue stats widget, upload-final-VTT override 2026-04-30 11:12:36 +01:00
tests initial commit 2025-08-24 16:28:33 -05:00
.env.example initial commit 2025-08-24 16:28:33 -05:00
.env.production fix(frontend): remove /api suffix from VITE_API_BASE_URL (api.ts appends /api/v1 itself) 2026-04-29 22:32:15 +01:00
.gitignore initial commit 2025-08-24 16:28:33 -05:00
Dockerfile initial commit 2025-08-24 16:28:33 -05:00
eslint.config.js initial commit 2025-08-24 16:28:33 -05:00
index.html chore: update page title to Video Accessibility Platform 2026-01-01 10:28:00 -06:00
nginx.conf initial commit 2025-08-24 16:28:33 -05:00
package-lock.json fix(frontend): remove unused useRetryTts; npm audit fix — 0 vulnerabilities 2026-04-29 22:25:18 +01:00
package.json added MSAL microsoft authentication 2025-10-10 09:19:39 -05:00
playwright.config.ts initial commit 2025-08-24 16:28:33 -05:00
postcss.config.js initial commit 2025-08-24 16:28:33 -05:00
README.md initial commit 2025-08-24 16:28:33 -05:00
tailwind.config.js initial commit 2025-08-24 16:28:33 -05:00
tsconfig.app.json bug fixes for frontend when trying to npm run build 2025-10-08 16:47:14 -05:00
tsconfig.json initial commit 2025-08-24 16:28:33 -05:00
tsconfig.node.json initial commit 2025-08-24 16:28:33 -05:00
vite.config.ts added MSAL microsoft authentication 2025-10-10 09:19:39 -05:00

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default tseslint.config([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // Remove tseslint.configs.recommended and replace with this
      ...tseslint.configs.recommendedTypeChecked,
      // Alternatively, use this for stricter rules
      ...tseslint.configs.strictTypeChecked,
      // Optionally, add this for stylistic rules
      ...tseslint.configs.stylisticTypeChecked,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default tseslint.config([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])