feat: Phase 4-5 — demo mode, polish, deploy, and bug fixes

Add demo mode with mock data provider, Docker deployment, Playwright
tests, PostHog analytics, error boundaries, and SEO metadata. Fix
residences API response unwrapping, kanban drag-and-drop with optimistic
updates, trailing slash proxy redirects, and column name mismatches with
Go API.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Trey t
2026-03-03 11:37:41 -06:00
parent 5a50d77515
commit 7884ebbfd4
133 changed files with 3904 additions and 300 deletions
+16
View File
@@ -0,0 +1,16 @@
import { test, expect } from "@playwright/test";
test.describe("Contractors (Demo Mode)", () => {
test.beforeEach(async ({ page }) => {
await page.goto("/demo/app/contractors");
});
test("displays contractor list", async ({ page }) => {
await expect(page.locator("h1, h2").first()).toContainText(/contractors/i);
});
test("navigate to add contractor", async ({ page }) => {
await page.click("text=Add Contractor");
await expect(page).toHaveURL("/demo/app/contractors/new");
});
});