mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-30 23:14:37 +00:00
* fix(onboarding): reset OnboardingOverlay local state on logout userLoadTimedOut, hasWorkspaceFlag, and dismissed survived across logout/re-login because they were local useState never cleared when token became null. Add a useEffect that resets all three on logout so re-login starts from a clean state. Closes #192 * fix(test): address CodeRabbit review — fix test timing and stale docs - Update memory.md to reference correct local state vars (onboardingCompleted instead of hasWorkspaceFlag/dismissed) after upstream refactor - Fix test assertion text ("Skip" not "Set up later") after upstream rename - Reset getOnboardingCompleted mock per-test to prevent cross-test pollution - Remove fake timers approach; use user._id for userReady instead