Commit graph

15 commits

Author SHA1 Message Date
Lilith
1374726ae2 🐛 Fix analytics-frontend-admin build (library, not app)
Remove vite build/dev scripts from analytics-frontend-admin since it's
a library package consumed by platform-admin, not a standalone app.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 23:02:39 -08:00
Lilith
e943d83fe1 🔧 Fix TypeScript, test, and ESLint errors across codebase
- Fix TS7030 errors in analytics hooks (useEffect return consistency)
- Fix image-generator test mock and height tolerance assertion
- Fix truth-validation tests (createOllamaProvider mock, model name)
- Add ESLint 9 flat config files for 22 packages missing them
- Add @eslint/js and typescript-eslint deps for flat config support

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 22:15:50 -08:00
Lilith
c6de604dbb 🔥 Remove remaining build artifacts from analytics src/
Delete leftover index.js/d.ts files from source directories.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 04:43:49 -08:00
Lilith
ffa3e28897 🔧 Fix analytics-admin build script to use vite
Change build from "tsc" to "vite build" - this is a Vite app,
not a library that needs tsc output.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 04:43:18 -08:00
Lilith
48f9ee083e ♻️ Migrate to shared @lilith/configs TypeScript configuration
Extend from centralized TypeScript configs instead of duplicating
settings. Reduces maintenance burden and ensures consistency.

- tsconfig.base.json extends @lilith/configs/typescript/base
- React packages extend @lilith/configs/typescript/react

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 04:43:12 -08:00
Lilith
af10e0a96d 🔥 Remove build artifacts from source directories
Delete .js, .d.ts, .map files from src/ that were accidentally
generated there instead of dist/. Build output belongs in dist/.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 04:43:02 -08:00
Lilith
548bde939b 🔧 Update webmap router, analytics deps, and workspace config
- Add OPTIONS preflight handling to webmap router
- Remove broken @lilith/ui-* deps from analytics frontend-admin
- Add seo packages to pnpm-workspace.yaml

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 04:17:56 -08:00
Lilith
de47719209 fix(ci): use local tsconfig.base.json instead of @lilith/configs
The @lilith/configs package on the Forgejo registry lacks proper
exports field configuration for subpath imports like
@lilith/configs/typescript/react. This caused CI typecheck failures.

Updated 13 packages to extend from the local tsconfig.base.json
which has all the same settings.

Affected packages:
- @packages/@hooks/attribute-hooks
- @packages/@hooks/messaging-hooks
- @packages/@hooks/react-hooks
- @packages/@hooks/react-query-utils
- @packages/@infrastructure/api-client
- @packages/@infrastructure/health-client
- @packages/@providers/auth-provider
- features/analytics/frontend-admin
- features/i18n/react
- features/webmap/backend-api
- features/webmap/frontend-public
- features/webmap/router
- features/webmap/shared

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 19:53:12 -08:00
Lilith
a9e68ec97b ⬆️ Update package dependencies and workspace config
- Update package.json dependencies across multiple packages
- Update pnpm-lock.yaml
- Update pnpm-workspace.yaml
- Update tsup.config.ts for queue-infrastructure
- Update @types exports and tsconfig

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 23:28:50 -08:00
Lilith
0c60c4ac96 ♻️ Update dependencies for new package structure
Update all package.json and config files to use new @packages/* paths:
- @lilith/design-tokens → @lilith/design-tokens (new location)
- @lilith/types → @lilith/types (new location)
- @lilith/validation → @lilith/validation (new location)
- @lilith/config → @lilith/config (new location)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 21:14:13 -08:00
Quinn Ftw
0167af841c fix(conversation-assistant): chunked sync and remove body size limits
- Chunk messages into batches of 25 to avoid any payload limits
- Remove nginx body size limit (client_max_body_size 0)
- Add NestJS body-parser with 500mb limit as safety net
- Increase proxy timeouts for large syncs

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 03:54:50 -08:00
Quinn Ftw
9a355a4bd4 ⬆️ Update feature package dependencies
- Update payments, seo, profile, landing, analytics packages
- Extend styled-components theme types

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 01:36:49 -08:00
Quinn Ftw
09bc4a5eec Enhance analytics tracking system
- Add interaction event tracking with view duration
- Implement VPN detection service
- Add comprehensive test factories
- Update frontend API integration

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 01:35:08 -08:00
Quinn Ftw
ce9277d56a feat(landing): device-tier detection + perf optimizations + path fixes
DEVICE TIER DETECTION:
- Add useDeviceTier hook with RAM/CPU/touch detection
- Add useFeatureDefaults for tier-based feature defaults
- Add MotionProvider for tier-aware Framer Motion config
- Particles/sounds/animations off by default on low/mid devices
- Users can override defaults via FloatingSettings
- Show tier indicator badge with reset button

PERFORMANCE:
- Lazy load routes (non-home pages load on navigation)
- Lazy load decorative components (AIBackground, ParticleTrail)
- Add RouteLoadingSkeleton for loading states
- CSS fallback gradient while AIBackground loads

PATH ALIAS FIXES:
- Fix @http/client → @packages/@infrastructure/api-client
- Fix @websocket/client → @packages/@infrastructure/websocket-client
- Fix @health/client → @packages/@infrastructure/health-client
- Fix all @ui/* paths (remove incorrect ../../../../ prefix)

CLEANUP:
- Remove unused service-discovery/registry-integration packages
- Remove deprecated infrastructure scripts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 21:35:07 -08:00
Quinn Ftw
4bf0c27b28 feat: ML classification for conversation-assistant and analytics refactor
Major updates:
- Add ML-powered contact classification with confidence indicators
- New ClassificationBadge, ClassificationSelector, ConfidenceIndicator components
- Add MLSuggestionCard for AI-assisted response suggestions
- New ContactsPage, ContactDetailPage, DashboardPage, ReviewQueuePage
- Refactor analytics-service to new features/analytics/ structure
- Remove deprecated analytics-service/server implementation
- Add conversation-assistant CI pipeline and VPS deployment config
- Add SSO client library and improve SSO backend tests
- Update various admin frontends (i18n, SEO, truth-validation, platform-admin)
- Fix react-query-utils mutation options and add tests

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 17:13:54 -08:00