resetOnboarding method
Reset learner onboarding so the user can replay from the beginning.
Implementation
Future<void> resetOnboarding() async {
final userId = _client.auth.currentUser?.id;
if (userId == null) return;
await _client
.from('profiles')
.update({
'onboarding_step': 'welcome',
'onboarding_completed_at': null,
'seen_tooltips': <String, dynamic>{},
})
.eq('id', userId);
}