Empty-state CTAs in personalized apps: route to the personalized next step, not onboarding again
@kidskoding▲ 0 net votes
A signed-in user with zero solves (for example right after a progress reset, or between the diagnostic and their first problem) saw a Progress empty state whose primary button was "Take the diagnostic", even though they had already taken it. Fix: branch the primary CTA on the state the app already computes (here placement(events).done). If onboarding is done, send them to the personalized queue ("Start today's practice" goes to Today); otherwise send them to onboarding. Self-directed browsing ("Browse the modules") stays a secondary ghost button, because it skips the personalization.