Added aria-label and aria-busy attributes to SkillsSkeleton component for
better screen reader support. This ensures assistive technologies properly
announce the loading state to users.
Also updated .gitignore to exclude .auto-claude/ directory.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Fixed translation bug in character counter implementation. Changed hardcoded
English text "characters" to use the translation key so counter displays
correctly in all supported languages (English, German, Serbian).
Code review verification completed:
- Character counter state and logic verified
- Translations in all languages (en/de/sr) verified
- maxLength enforcement verified
- Color feedback logic verified (gray, yellow at 80%, red at limit)
Created comprehensive e2e-verification-report.md with 8 manual test cases
for human testers to complete browser-based verification.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Added comprehensive Configuration & Setup section
- Documented getRequestConfig() function with full implementation
- Explained locale validation logic with examples and security benefits
- Detailed dynamic message loading mechanism and performance comparison
- Documented createNextIntlPlugin() integration in next.config.ts
- Explained plugin composition pattern with MDX
- Added server-side vs client-side translation comparison
- Included best practices for component splitting and performance optimization
- Provided code examples for all patterns and troubleshooting guides
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Added comprehensive documentation for:
- Branch naming conventions with patterns and examples
- Pull request guidelines including pre-submission checklist, PR template, and best practices
- Legacy code explanation for components-vite, pages-vite, and locales-old directories
- Migration status and what to avoid touching during Vite to Next.js migration
- Updated table of contents with new sections
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Created comprehensive test suite for cache.ts covering:
- set() and get() operations with various data types
- TTL expiration logic (default, custom, and edge cases)
- has() method for checking key existence
- delete() method for removing individual keys
- clear() method for removing all keys
- Expiration boundary testing
- Different TTL values for different items
- TTL reset when items are overwritten
- Fixed vitest.config.ts to include src/utils/** tests
- Fixed tsconfig.json to include src/utils/** files
- Used vi.useFakeTimers() for deterministic time-based testing
- All tests properly isolated with beforeEach/afterEach hooks
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Ran npm run build successfully with exit code 0
- Next.js build verified after deletion of components-vite and pages-vite
- No build errors or missing module warnings
- Application builds correctly with cleaned up codebase
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Added 'Missing Scripts' section to scripts/README.md
- Documented generate-blog-images.mjs (referenced in package.json but not implemented)
- Included package.json references, description, recommended actions, and impact
- Suggests either removing references or implementing the script with OpenAI API
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Added comprehensive Content Workflows section to CONTRIBUTING.md
- Documented how to add portfolio projects with TypeScript data structure example
- Documented how to add blog posts using MDX format
- Documented i18n workflow for translations with JSON structure
- Added file location conventions for all locales (de, en, sr)
- Included step-by-step instructions and best practices
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
All automated verification steps completed successfully:
- TypeScript compilation: PASSED (npx tsc --noEmit)
- ESLint verification: PASSED (npm run lint)
- Build verification: PASSED (npm run build)
Implementation verified:
- throttle utility function created with proper TypeScript types
- usePageVisibility hook using Page Visibility API
- useIntersectionObserver hook with configurable options
- GlobalBackground animations conditionally render based on visibility
- Header scroll handler throttled to 100ms intervals
All acceptance criteria met:
✓ Animations pause when tab is inactive
✓ Animations pause when scrolled offscreen
✓ Animations resume when visible again
✓ Scroll handler throttled to ~100ms
✓ No console errors or warnings
✓ No regression in existing functionality
✓ Build succeeds without errors
✓ Linting passes
Verification report created with manual testing instructions.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Add next-intl internationalization support
- Use translation keys from pages.notfound (title, description, backHome)
- Change button from blue to white/zinc design system colors
- Link to default locale homepage
- Convert component to async for getTranslations
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Added Skeleton base component using zinc-700/50 and animate-pulse
- Created SkillsSkeleton with two-column grid layout
- Left column: 8 progress bar skeletons with labels and percentages
- Right column: 2x3 grid of card skeletons matching icon layout
- Replaced loading state with SkillsSkeleton component
- Added 2s delay to useEffect for easier skeleton visibility during testing
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>