Commit graph

39 commits

Author SHA1 Message Date
Lilith
f57e7e9074 chore(analytics,booking): 🔧 Enhance analytics and booking plugin configurations 2026-01-18 09:20:17 -08:00
Lilith
3cb1260e20 feat(analytics): Add AB testing, bounce rate tracking, conversion funnels, error monitoring, and mock data provider to NestJS analytics plugin 2026-01-18 09:20:16 -08:00
Lilith
c8db220382 chore(analytics): 📈 Enhance analytics tracking with React hooks and NestJS integration 2026-01-18 09:20:16 -08:00
Lilith
475ffa20c8 chore(analytics): 📈 Introduce backend client, batch queue system, and UI components (DashboardLayout, DateRangePicker, LeaderboardTable) for analytics data visualization 2026-01-18 09:20:16 -08:00
Lilith
d295852222 chore(src): 🔧 Update 15 markdown files in source directory 2026-01-18 09:20:15 -08:00
Lilith
774d3b1d74 chore(config): 🔧 Update TypeScript, testing, and infrastructure configurations across codebase 2026-01-18 09:20:11 -08:00
Lilith
03e549811e deps-upgrade(monorepo): ⬆️ Bulk update of dependencies across 157+ packages (security, compatibility, performance) 2026-01-18 09:20:07 -08:00
Lilith
28210824fb feat(frontend-dev): Add analytics plugin for frontend development environment 2026-01-13 10:13:46 -08:00
Lilith
f32e008db1 fix(codebase): 🛠 resolve linting issues in key files 2026-01-04 06:24:35 -08:00
Lilith
a93bfb10d8 feat: Update frontend and backend components for new image processing service implementation 2026-01-03 05:25:55 -08:00
Lilith
4cee603ada 🐛 Remove obsolete React 19 ts-expect-error comments
Type incompatibilities with styled-components resolved
after React 19 types update.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 23:55:45 -08:00
Lilith
89487ef53e ⬆️ Add React 19 support to internal packages
Update peerDependencies to accept React 18 or 19,
and update @types/react to ^19.0.0 for type compatibility.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 23:55:44 -08:00
Lilith
65788ca839 ♻️ Replace credentials: include with explicit Authorization headers
Auth clients now use localStorage-based token headers instead of cookie
credentials. This provides cross-origin compatibility and clearer auth flow.

- analytics-client: Remove credentials: include from fetch calls
- sso-client: Add getAuthHeaders() helper for MFA components
- SSOClient core: Remove redundant credentials, keep Authorization headers
- Updated tests to match new header-based auth expectations

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 10:54:41 -08:00
Lilith
f31269a9e8 🔧 Add API proxy for landing backend on staging
- Add /api/ location block to nginx config for next.www.atlilith.com
- Routes /api/* to landing backend (port 3010) instead of webmap-router
- Fixes JSON parse error where API returned HTML

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 04:16:12 -08:00
Lilith
81c4d6e9a9 Add proposal and client booking types to booking plugin
- Add Proposal interface with counter-offer support
- Add ClientBooking interface with full booking details
- Add respondToCounter hook for counter-offer handling
- Use createElement instead of React.createElement
- Consolidate ClientProposal as type alias for backward compatibility

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 03:03:56 -08:00
Lilith
0fd41f1e1b Add client booking hooks to booking plugin
- Add useClientBookings hook for marketplace client view
- Add ClientProposal and ClientBookingSummary types
- Export components from plugin

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 23:49:41 -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
d15e896547 🔧 Fix all references after directory renames
- Update tsconfig.base.json path mappings
- Fix Docker build paths in package.json
- Update @packages/@plugins tsconfig and exports
- Fix NestJS nest-cli.json and package.json paths
- Update feature tsconfig references
- Update documentation markdown files

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 18:11:32 -08:00
Lilith
483e0afe69 ♻️ Update import paths for package restructure
Update all source files to use new package locations:
- @lilith/design-tokens imports
- @lilith/types imports
- @lilith/validation imports
- Queue infrastructure refactor
- Analytics, landing, marketplace frontend updates
- Platform admin and profile editor updates

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 21:14:35 -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
Lilith
aa41ff24a5 Add booking plugin components
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 21:13:24 -08:00
Quinn Ftw
991a7f4518 ♻️ Refactor plugins and payments frontend for type safety
- Update styled.d.ts with comprehensive theme types
- Add ui-packages.d.ts and vite-env.d.ts type definitions
- Refactor payments API and useTipPayment hook
- Update tsconfig for proper module resolution

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 04:49:33 -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
78f63717bc ⬆️ Update @packages plugin and testing dependencies
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 01:36:58 -08:00
Quinn Ftw
45fe9b925a Update test utilities and presets
- Enhance vitest presets configuration
- Update MSW handlers for websites
- Fix react-native test mocking

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 01:35:56 -08:00
Quinn Ftw
1d68b9b1e0 🔧 Update ESLint and TypeScript configurations across packages
Standardize linting rules and TypeScript compiler options

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 01:34:36 -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
Quinn Ftw
e87ff3c612 chore(packages): update eslint and tsconfig references
Update shared packages to use local configs instead of central references:
- Update .eslintrc.json files across all @packages/*
- Update package.json dev dependencies
- Update tsconfig.json extends paths
- Update i18n common.json locale file

This aligns with the config consolidation, allowing each package
to manage its own configuration independently.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 21:35:39 -08:00
Quinn Ftw
85434d7938 chore: update workspace configuration and dependencies
Infrastructure updates:
- Update pnpm-lock.yaml with dependency changes
- Update pnpm-workspace.yaml configuration
- Update .npmrc settings
- Add/update tsconfig.json files for packages
- Add info-panel.json i18n translations
- Add styled.d.ts type definitions for payments

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 21:16:46 -08:00
Quinn Ftw
f6abcaf662 fix(dating-autopilot): replace vm2 with acorn for syntax validation
The E2E tests were using vm2 to execute generated code, which caused
unhandled rejections because browser APIs (setTimeout, etc.) weren't
mocked. This was incorrectly ignored.

Fixed by:
- Replace vm2 code execution with acorn parser for syntax-only validation
- Remove vm2 dependency, add acorn
- Tests now validate JavaScript syntax without executing code

All 139 tests pass with zero errors.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 18:35:36 -08:00
Quinn Ftw
205fc67f24 refactor(plugins): clean up plugin exports and index
Streamline plugin package exports for better tree-shaking.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 17:49:29 -08:00
Quinn Ftw
387475028e feat(plugins): add analytics plugin scaffold
Add analytics plugin package for tracking and metrics.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 16:08:06 -08:00
Quinn Ftw
4c04e1d8b7 feat(plugins): add gift card purchase modal and hook
Add GiftCardPurchaseModal component and useGiftCardPurchase hook.
Update package exports to expose new functionality.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 16:07:43 -08:00
Quinn Ftw
74373e08a2 refactor: migrate UI packages from @lilith/ui-* to external @ui/*
Consolidates UI component library to use external @ui packages from
~/Code/@packages/@ui instead of local duplicates. This eliminates
namespace conflicts and centralizes UI development.

Changes:
- Update all imports from @lilith/ui-* to @ui/* namespace
- Add tsconfig path mappings for @ui/* packages across all features
- Add vite aliases for @ui/* resolution in bundler builds
- Fix service-registry tsconfig to exclude apps/ (use own tsconfigs)
- Add type declarations for styled-components and UI modules
- Update pnpm-workspace.yaml to include external @ui packages
- Fix TypeScript errors in test-utils, i18n, and dashboard components
- Add @ts-nocheck to storybook files (storybook not installed)
- Extend SEOPageType to support additional page types (terms, privacy, merch)
- Remove stale inventory files (moved to host-inventory package)

All packages now compile cleanly when run from their respective directories.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 01:12:58 -08:00
Quinn Ftw
96436a8a7b style: apply Python-like formatting with Prettier
Applied Prettier auto-formatting across:
- status-dashboard/server: 50 files reformatted
- service-registry: multiple packages reformatted

Changes:
- Consistent single quotes, trailing commas
- Proper import organization with type imports
- PEP 8-style blank lines between sections
- Arrow function simplification
- Object shorthand syntax

ESLint status:
- status-dashboard: 0 errors, 99 warnings (progressive rules)
- service-registry: 0 errors, 120 warnings (progressive rules)

All 333 tests passing.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 20:36:14 -08:00
Quinn Ftw
77879f73e7 fix(imports): update theme-provider to ui-theme in source files
Update all source file imports from @lilith/theme-provider to
@lilith/ui-theme to match package rename.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 15:43:16 -08:00
Quinn Ftw
42ce56083d fix(deps): rename theme-provider to ui-theme across packages
The @lilith/theme-provider package was renamed to @lilith/ui-theme.
Update all workspace dependencies to use the correct package name.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 15:40:43 -08:00
Quinn Ftw
84d1333284 feat(landing): complete migration with glassmorphism navigation
Migrate landing app from egirl-platform with full feature parity:
- 18 routes verified (all HTTP 200)
- 200 E2E tests passing, 71/74 unit tests passing
- 8 languages in FAB selector (en/es translated, others fallback)

Add ThemeProvider to App.tsx for styled-components theme context.
Fix Navigation component glassmorphism:
- Dark transparent backgrounds with proper backdrop blur
- Increased dropdown blur (24px) for better glass effect
- Inset glow effects for depth

Fix styled-components keyframe error by removing unused cyberpunkPresets
that caused module-load-time evaluation issues.

Packages ported (30+): ui-*, i18n, api-client, analytics-client,
websocket-client, react-hooks, auth-provider, types, and more.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 17:11:07 -08:00