Commit Graph

17 Commits

Author SHA1 Message Date
46ccc797a3 feat: create WebSocket client and real-time sync manager 2025-11-12 08:14:47 +00:00
c3a7d59002 feat: set up WebSocket server infrastructure
- Create type definitions for WebSocket messages and client management
- Implement EventEmitter-based WebSocket server with connection handling
- Add message routing and broadcast capabilities for user subscriptions
- Include comprehensive test suite with 4 passing tests
- Support client presence tracking and message queuing

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 08:13:08 +00:00
cecccd19a1 build: complete Phase 2.1B backend sync integration
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 08:00:39 +00:00
180da4462d test: add E2E tests for highlights sync flow 2025-11-12 07:56:39 +00:00
c50cf86263 feat: create sync status indicator component
Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 07:52:55 +00:00
73171b5f18 feat: implement client-side sync with bulk API
Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 07:50:28 +00:00
82c537d659 feat: implement sync conflict resolver with timestamp-based merging
Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 07:49:13 +00:00
8185009da6 feat: create HighlightsTab component with color picker
Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 07:01:06 +00:00
409675bf73 feat: create highlight sync manager with queue logic
Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 06:59:10 +00:00
90208808a2 feat: create highlight manager with IndexedDB storage
Implemented TDD approach for highlight persistence:
- Created IndexedDB store with 'highlights' object store
- Added indexes for syncStatus and verseId for efficient queries
- Implemented CRUD operations: add, update, get, getAll, delete
- Added query methods: getHighlightsByVerse, getPendingHighlights
- Full test coverage with fake-indexeddb mock
- Added structuredClone polyfill for test environment

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 06:57:30 +00:00
0e2167ade7 feat: add TypeScript types for highlights and sync system
Added highlight system types with strict color and sync status validation:
- HighlightColor type with 4 valid colors (yellow, orange, pink, blue)
- SyncStatus type for tracking sync state (pending, syncing, synced, error)
- BibleHighlight interface with full metadata support
- HighlightSyncQueueItem for offline sync queue management
- CrossReference interface for verse cross-referencing

Includes comprehensive test coverage validating type constraints.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 06:55:10 +00:00
1892403554 feat: implement VersDetailsPanel with notes, bookmarks, and tabs 2025-11-11 19:48:13 +00:00
13d23d979f feat: implement responsive ReadingView with preference support
Implements Task 3 from Bible Reader 2025 plan:
- Created lib/reading-preferences.ts with 4 presets (default, dyslexia, highContrast, minimal)
- Implemented loadPreferences/savePreferences using localStorage
- Added getCSSVariables for dynamic styling
- Created ReadingView component with full mobile responsiveness
- Touch interaction: tap top third shows header, bottom third toggles controls
- Verse text is clickable with hover effects
- Navigation controls (prev/next chapter, settings button)
- Created test file for preferences

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-11 19:35:58 +00:00
66fd575ad5 feat: implement search-first Bible navigator with touch optimization
Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-11 19:21:10 +00:00
18be9bbd55 feat: add types and IndexedDB cache manager for Bible reader 2025
Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-11 19:08:31 +00:00
Claude Assistant
5542a9d6a7 Prepare production branch: remove test files and add Dockerfile
- Remove all test files (__tests__, *.test.*, *.spec.*)
- Remove Jest configuration files (jest.config.js, jest.setup.js)
- Remove test-related scripts from package.json
- Remove Jest dependencies from package.json
- Add production Dockerfile for standalone Next.js app
- Update tsconfig.json exclusions

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-22 14:38:19 +00:00
andupetcu
3b375c869b Add complete Biblical Guide web application with Material UI
Implemented comprehensive Romanian Biblical Guide web app:
- Next.js 15 with App Router and TypeScript
- Material UI 7.3.2 for modern, responsive design
- PostgreSQL database with Prisma ORM
- Complete Bible reader with book/chapter navigation
- AI-powered biblical chat with Romanian responses
- Prayer wall for community prayer requests
- Advanced Bible search with filters and highlighting
- Sample Bible data imported from API.Bible
- All API endpoints created and working
- Professional Material UI components throughout
- Responsive layout with navigation and theme

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-20 14:10:28 +03:00