Timothy Pomeroy b63ce13163 Update READMEs, add data README, remove legacy code, move dev notes to docs 1 month ago
..
e2e 7b7c4f0ac9 Initial commit 1 month ago
playwright-report 7b7c4f0ac9 Initial commit 1 month ago
public 7b7c4f0ac9 Initial commit 1 month ago
src b63ce13163 Update READMEs, add data README, remove legacy code, move dev notes to docs 1 month ago
test-results 7b7c4f0ac9 Initial commit 1 month ago
.gitignore 7b7c4f0ac9 Initial commit 1 month ago
README.md b63ce13163 Update READMEs, add data README, remove legacy code, move dev notes to docs 1 month ago
eslint.config.mjs 7b7c4f0ac9 Initial commit 1 month ago
jest.config.js 7b7c4f0ac9 Initial commit 1 month ago
jest.setup.js 7b7c4f0ac9 Initial commit 1 month ago
next.config.js 7b7c4f0ac9 Initial commit 1 month ago
next.config.ts 7b7c4f0ac9 Initial commit 1 month ago
package-lock.json 7b7c4f0ac9 Initial commit 1 month ago
package.json 7b7c4f0ac9 Initial commit 1 month ago
playwright.config.ts 7b7c4f0ac9 Initial commit 1 month ago
pnpm-lock.yaml 7b7c4f0ac9 Initial commit 1 month ago
pnpm-workspace.yaml 7b7c4f0ac9 Initial commit 1 month ago
postcss.config.js 7b7c4f0ac9 Initial commit 1 month ago
postcss.config.mjs 7b7c4f0ac9 Initial commit 1 month ago
tailwind.config.js 7b7c4f0ac9 Initial commit 1 month ago
tsconfig.json 7b7c4f0ac9 Initial commit 1 month ago

README.md

Watch Finished Web Interface

A modern Next.js web application providing a complete UI for managing the Watch Finished video processing system.

Features

  • Dashboard: Real-time watcher status, task monitoring, and system statistics
  • File Management: Browse, add, edit, and delete processed video files by dataset
  • Task Queue: View processing tasks, monitor progress, and manage the queue
  • Settings Management: Configure datasets, watcher settings, and system preferences
  • Maintenance Tools: Cleanup, purge, and prune operations with easy-to-use forms
  • Real-time Updates: WebSocket integration for live status updates

Tech Stack

  • Framework: Next.js 14 with App Router
  • UI: React with TypeScript
  • Styling: Tailwind CSS
  • State Management: TanStack Query for server state
  • Real-time: Socket.IO client for WebSocket communication
  • Forms: React Hook Form with validation
  • Icons: Heroicons

Main Pages

  • / - Dashboard with system overview and active tasks
  • /files - File management with CRUD operations and maintenance tools
  • /tasks - Task queue monitoring and management
  • /settings - Configuration management for datasets and system settings

Development

# Install dependencies
pnpm install

# Run development server
pnpm run dev

# Run tests
pnpm run test

# Build for production
pnpm run build

Environment Variables

Key Components

  • ClientHomeWidgets: Dashboard widgets for watcher status and API health
  • FileList: Table view of processed files with actions
  • FileCrud: Form component for file management
  • MaintenanceDropdown: Dropdown with cleanup, purge, and prune operations
  • TaskList: Task queue display with progress indicators
  • SettingsCrud: Configuration management interface

Real-time Features

The web app connects to the API service via WebSocket to receive live updates:

  • Task progress updates
  • File processing status changes
  • Watcher start/stop events
  • Maintenance operation results

    
    Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
    
    You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
    
    This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
    
    ## Learn More
    
    To learn more about Next.js, take a look at the following resources:
    
    - [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
    - [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
    
    You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
    
    ## Deploy on Vercel
    
    The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
    
    Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.