Commit Graph

5 Commits

Author SHA1 Message Date
Matthew Raymer
6991027391 fix: resolve all critical linting errors
- Fix syntax error in stale-data-ux.ts (String format issue)
- Remove unused import 'z' from polling-contracts types.ts
- All critical errors now resolved (0 errors, 452 warnings)

Linting status:  0 errors, 452 warnings (down from 39 errors + 425 warnings)
All build-blocking issues have been resolved.
2025-10-07 06:34:36 +00:00
Matthew Raymer
09661a520f refactor: remove dead code and unused files
- Remove duplicate web implementation (src/web.ts - 1,129 lines)
- Remove unused DailyNotification wrapper class (src/daily-notification.ts - 288 lines)
- Remove unused callback registry (src/callback-registry.ts - 413 lines)
- Remove unused example files (5 files, ~1,500 lines)
- Remove unused TypeScript modules (moved to test-apps/shared/typescript/)
- Remove unused interfaces (ContentHandler, ScheduleOptions)
- Remove outdated documentation files (VERIFICATION_*, GLOSSARY, etc.)
- Update import paths in test apps to use moved TypeScript modules
- Clean up README and USAGE.md references to deleted files

Total cleanup: ~3,330+ lines of dead code removed
Files deleted: 20 files
Files modified: 6 files (import path updates and documentation cleanup)

This significantly reduces codebase complexity and maintenance burden.
2025-10-07 05:19:09 +00:00
Matthew Raymer
c548db1cfd feat(testing): update test apps with generic polling and add CI/CD pipeline
- Update iOS and Android test apps with generic polling interface support
- Add testGenericPolling(), testPollingSchedule(), and testPollingResults() methods
- Include comprehensive testing of GenericPollingRequest creation and validation
- Add PollingScheduleConfig testing with cron expressions and platform adapters
- Test PollingResult handling with watermark CAS and acknowledgment flows
- Update test-apps/README.md with generic polling testing capabilities
- Add .github/workflows/ci.yml with automated testing pipeline
- Include linting, unit tests (workspaces), and k6 smoke test execution
- Add k6/poll-ack-smoke.js for fault-injection testing of poll and ack endpoints
- Support cross-platform testing with consistent TypeScript interfaces
- Include platform-specific optimizations (WorkManager, BGTaskScheduler, Service Workers)

Provides comprehensive testing infrastructure for the generic polling system.
2025-10-07 04:44:27 +00:00
Matthew Raymer
e4e6186973 feat: Enhance test apps with comprehensive UI patterns
- Add complete UI components to all test apps (Android, iOS, Electron)
- Implement permission management dialogs and status displays
- Add configuration panels with settings toggles and time pickers
- Create status dashboards with real-time monitoring
- Add platform-specific UI components:
  - Android: Battery optimization, exact alarm, reboot recovery
  - iOS: Background refresh, rolling window, BGTaskScheduler
  - Electron: Service worker, push notifications, debug info
- Implement error handling UI with user-friendly displays
- Add responsive design with mobile-first approach
- Update shared components with enhanced logging capabilities
- Update test apps README with comprehensive UI documentation

UI Components Added:
 Permission management (dialogs, status, settings integration)
 Configuration panels (settings, time pickers, content types)
 Status dashboards (real-time monitoring, performance metrics)
 Platform-specific features (battery, background refresh, etc.)
 Error handling (user-friendly displays, retry mechanisms)
 Testing tools (debug panels, log export, test notifications)
 Responsive design (mobile-first, touch-friendly)
 Accessibility (WCAG 2.1 AA compliance)

The test apps now serve as complete reference implementations
demonstrating all UI patterns required for plugin integration.
2025-09-28 05:42:53 +00:00
Matthew Raymer
fe82fd2147 feat: Update test-apps for TimeSafari integration with Endorser.ch API patterns
- Add comprehensive configuration system with timesafari-config.json
- Create shared config-loader.ts with TypeScript interfaces and mock services
- Update Android test app to use TimeSafari community notification patterns
- Update iOS test app with rolling window and community features
- Update Electron test app with desktop-specific TimeSafari integration
- Enhance test API server to simulate Endorser.ch API endpoints
- Add pagination support with afterId/beforeId parameters
- Implement parallel API requests pattern for offers, projects, people, items
- Add community analytics and notification bundle endpoints
- Update all test app UIs for TimeSafari-specific functionality
- Update README with comprehensive TimeSafari testing guide

All test apps now demonstrate:
- Real Endorser.ch API integration patterns
- TimeSafari community-building features
- Platform-specific optimizations (Android/iOS/Electron)
- Comprehensive error handling and performance monitoring
- Configuration-driven testing with type safety
2025-09-24 07:38:53 +00:00