Skip to content

feat: add socket persistence, avatar retry, a11y labels, dark mode tokens - #893

Merged
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
amberly-d:feat/amberly-d-socket-avatar-a11y-darkmode
Jul 27, 2026
Merged

feat: add socket persistence, avatar retry, a11y labels, dark mode tokens#893
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
amberly-d:feat/amberly-d-socket-avatar-a11y-darkmode

Conversation

@amberly-d

Copy link
Copy Markdown
Contributor

Closes #829
Closes #830
Closes #831
Closes #832

Summary

Enhances socket reliability, avatar upload UX, accessibility compliance, and dark mode consistency.

Changes

  • src/services/socket/index.ts: Persist outgoing message queue to MMKV with 24h TTL; replay on reconnect
  • src/components/mobile/profile/AvatarUploadProgress.tsx (new): Upload progress indicator component
  • src/hooks/useAvatarUpload.ts (new): Avatar upload hook with 3x retry and exponential backoff
  • src/components/mobile/CourseHeader.tsx: Added accessibility labels
  • src/components/mobile/LessonCarousel.tsx: Added accessibility labels
  • tests/accessibility.test.ts: Accessibility label verification tests
  • tests/avatarUpload.test.ts: Upload retry flow tests
  • tests/darkModeTheme.test.ts: Dark mode token consistency tests
  • tests/socketQueuePersistence.test.ts: Queue persistence and TTL tests

All tests use mocked dependencies and run without network access.

@drips-wave

drips-wave Bot commented Jul 27, 2026

Copy link
Copy Markdown

@amberly-d Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@RUKAYAT-CODER

Copy link
Copy Markdown
Contributor

Thank you for contributing to the project.

@RUKAYAT-CODER
RUKAYAT-CODER merged commit 3304a99 into rinafcode:main Jul 27, 2026
1 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment