Skip to content

feat: Complete Frontend Overhaul — Auth, Dashboard, Integrations, Chat#15

Open
A5HW1NRA7AN wants to merge 7 commits into
mainfrom
feat/frontend-overhaul
Open

feat: Complete Frontend Overhaul — Auth, Dashboard, Integrations, Chat#15
A5HW1NRA7AN wants to merge 7 commits into
mainfrom
feat/frontend-overhaul

Conversation

@A5HW1NRA7AN
Copy link
Copy Markdown
Collaborator

Summary

Complete re-engineering of the frontend from a single-page script into a multi-page authenticated SPA.

Changes

Frontend (New Pages)

  • Login & Register — Glassmorphic auth pages hitting real Django endpoints
  • Dashboard Overview — System status cards (Orchestrator health, recent actions)
  • Integrations — Card grid for Jira, Slack, Linear, HubSpot with connect/disconnect
  • Copilot Chat — Sessions sidebar + voice-to-action interface with animated action feed

Architecture

  • react-router-dom routing with ProtectedRoute guards
  • Zustand auth store with JWT persistence to localStorage
  • Axios backend client with JWT interceptor + optional demo fallbacks
  • Handles DRF paginated responses

Backend/Infra Fixes

  • Fixed backend Dockerfile: install postgresql-client for pg_isready
  • Fixed docker-compose: Gunicorn --bind 0.0.0.0:8000 (v25 default changed)
  • Added @tailwindcss/vite plugin for Tailwind v4

Verification

  • 0 TypeScript errors
  • All 7 backend endpoints tested and passing
  • Registration creates real users in PostgreSQL
  • Login issues real JWT tokens

- Add react-router-dom routing with ProtectedRoute guards
- Add Zustand auth store with JWT persistence (localStorage)
- Add Axios backend client with JWT interceptor + optional demo fallbacks
- Add glassmorphic Login and Register pages (hitting real Django endpoints)
- Add DashboardLayout with sidebar navigation
- Add Overview dashboard page with system status cards
- Add Integrations page with Jira, Slack, Linear, HubSpot cards
- Add Chat page with sessions sidebar + voice-to-action interface
- Fix backend Dockerfile: install postgresql-client for pg_isready
- Fix docker-compose: gunicorn --bind 0.0.0.0:8000 (Gunicorn 25 default changed)
- Add @tailwindcss/vite plugin for Tailwind v4 support
- Handle DRF paginated responses (results array) in frontend
- Login sends username field (Django SimpleJWT contract)
- Register sends organization_name (required by backend serializer)
- 0 TypeScript errors, all backend endpoints verified
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant