Skip to content

add useDeviceUiComplexity hook for adaptive UI complexity based on d…#507

Open
NEA-DEV-coder wants to merge 3 commits into
rinafcode:mainfrom
NEA-DEV-coder:main
Open

add useDeviceUiComplexity hook for adaptive UI complexity based on d…#507
NEA-DEV-coder wants to merge 3 commits into
rinafcode:mainfrom
NEA-DEV-coder:main

Conversation

@NEA-DEV-coder
Copy link
Copy Markdown

@NEA-DEV-coder NEA-DEV-coder commented May 30, 2026

Closes #346


…evice capabilities

  • Implemented useDeviceUiComplexity hook to classify device complexity levels (low, mid, high) based on device year class, total memory, and battery saver status.
  • Integrated analytics tracking for device complexity assignment.
  • Updated LessonCarousel component to adjust UI effects based on device complexity.
  • Refactored useAdaptiveFrameRate to utilize the new useDeviceUiComplexity hook for determining animation settings.
  • Added unit tests for useDeviceUiComplexity to ensure correct classification and analytics tracking.

#closes346

…evice capabilities

- Implemented useDeviceUiComplexity hook to classify device complexity levels (low, mid, high) based on device year class, total memory, and battery saver status.
- Integrated analytics tracking for device complexity assignment.
- Updated LessonCarousel component to adjust UI effects based on device complexity.
- Refactored useAdaptiveFrameRate to utilize the new useDeviceUiComplexity hook for determining animation settings.
- Added unit tests for useDeviceUiComplexity to ensure correct classification and analytics tracking.
@RUKAYAT-CODER
Copy link
Copy Markdown
Contributor

Kindly resolve conflict and fix workflow.

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 30, 2026

@NEA-DEV-coder 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement adaptive UI complexity based on device capability

2 participants