summaryrefslogtreecommitdiff
path: root/src/main/java
AgeCommit message (Collapse)Author
2025-06-20Improve code quality: Replace instanceof with polymorphism and extract constantsPaul Buetow
Major improvements: 1. Replace instanceof checks with polymorphic methods in VSAbstractEvent hierarchy - Added isInternalEvent(), isMessageReceiveEvent(), etc. methods - Added getEventPriority() for clean event ordering - Added shouldIncreaseTimestamps() to control timestamp behavior - Refactored VSTask to use these polymorphic methods 2. Extract magic numbers and strings to constants - Created VSConstants class for centralized configuration values - Added event priority constants (PRIORITY_HIGHEST, PRIORITY_HIGH, etc.) - Extracted string constants like CLASS_PREFIX - Moved magic numbers to named constants (PERCENTAGE_RANGE, etc.) 3. Update tests to work with new polymorphic approach - Fixed mocking in VSTaskTest to return correct values - All 132 tests passing These changes improve maintainability, reduce coupling, and make the codebase more self-documenting. The polymorphic approach eliminates type checking and makes it easier to add new event types. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-15Add splash screen functionality and update build documentationPaul Buetow
- Add VSSplashScreen component using Java Swing framework - Display splash.png image for 3 seconds on application startup - Scale splash screen to 40% of original size (60% reduction) - Update CLAUDE.md with JAVA_HOME setup instructions for all platforms - Integrate splash screen into VSMain startup sequence 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-12Remove hard-coded German locale and improve English localizationPaul Buetow
- Change default locale from German to English in VSMain.java - Fix language key typos: "loging" → "logging" throughout codebase - Improve English language strings: - "Insert" → "Add" for better UX terminology - "Fullfilled" → "Fulfilled" (spelling correction) - "GLobal" → "Global" (capitalization fix) - "Delete logs" → "Clear logs" (more appropriate action) - Update all references to changed language keys 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-06Modernize UI and fix localization: - Rollback to Swing UI - Update build ↵Paul Buetow
configuration - Fix localization string handling - Add missing localization strings - Improve protocol event handling
2025-06-06Modernize project structure, update Maven config, move sources, add logging ↵Paul Buetow
config, update README and .gitignore