Skip to content

refactor(tutor-setup): enforce minimum loading duration for tutor setup & clean up loading animation and optimize code#2903

Open
nur-alam wants to merge 3 commits into
devfrom
tutor-onboarding
Open

refactor(tutor-setup): enforce minimum loading duration for tutor setup & clean up loading animation and optimize code#2903
nur-alam wants to merge 3 commits into
devfrom
tutor-onboarding

Conversation

@nur-alam

@nur-alam nur-alam commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

enforce minimum loading duration for tutor setup
wait with dynamic calculation based on onboarding start time to ensure at least 6000ms total loading screen display

Remove unused isLoadingTextLooping state variable and related checks in the loading animation logic. Cache the sample course import flag to avoid repeated form data lookups.

nur-alam added 2 commits July 14, 2026 15:49
Remove unused `isLoadingTextLooping` state variable and related checks in the loading animation logic. Cache the sample course import flag to avoid repeated form data lookups. Add a 2-second delay before fading out the loading screen.
replace fixed 2000ms wait with dynamic calculation based on onboarding start time to ensure at least 6000ms total loading screen display
@nur-alam nur-alam changed the title refactor(tutor-setup): clean up loading animation and optimize code refactor(tutor-setup): enforce minimum loading duration for tutor setup & clean up loading animation and optimize code Jul 14, 2026
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.

1 participant