Files
support_frontend/.gitignore
T
saqib mirandClaude Sonnet 5 95b5a1e03d feat(001-agent-admin-ui): Setup + Foundational + User Story 0 (sign-in)
Configures both previously-empty test runners (vitest.config.ts,
playwright.config.ts) and adds the typed lib/api client layer (axios +
interceptors), the session-cookie plumbing (lib/auth), TanStack Query
infrastructure (lib/query, providers), and a real sign-in flow consuming
supporthub-api's own login (010-identity-auth) - the true foundation
every other user story in this feature depends on.

Two structural fixes to the existing scaffold, both found only by
running the app rather than by inspection: middleware.ts belongs at
src/middleware.ts under this project's src/ layout, not the repo root;
and next.config.mjs's output:'export' is incompatible with Next.js
Middleware outright (the dev server refuses to start it), so this app
now runs as a standard Next.js server - confirmed with the user before
making that deployment-mode change.

Verified end-to-end with a real, locally-running supporthub-api: all 5
Playwright scenarios (unauthenticated redirect, sign-in, wrong-password
generic error, non-admin role gating, sign-out) pass against a live
backend, not a mock.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-07 14:27:06 +05:30

44 lines
637 B
Plaintext

# ==========================================
# SupportHub Web .gitignore
# ==========================================
# Dependencies
/node_modules
/.pnp
.pnp.js
# Next.js build output
/.next/
/out/
/build
/dist
# Debug & Logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
# Local Environment Overrides (keep .env.example, .env.development, .env.test, .env.production tracked)
.env*.local
.env.local
# Vercel
.vercel
# Playwright
/test-results/
/playwright-report/
/blob-report/
# TypeScript & Next build cache
*.tsbuildinfo
next-env.d.ts
# Operating System & IDE Files
.DS_Store
Thumbs.db
*.pem
.idea/
.vscode/