Something went wrong. Try again.
Barazo default frontend barazo.forum
Something went wrong. Try again.
feat(onboarding): add global OnboardingProvider to gate all write actions (#139) master
Create a global onboarding context that any write action (likes, replies, new topics) can use to check onboarding completion before proceeding. Previously only the New Topic page had this gate, causing 403 errors when unboarded users tried to like or reply. - Add OnboardingProvider context with ensureOnboarded() fail-open gate - Add shared test utility (mock-onboarding.tsx) - Gate LikeButton.handleToggle with ensureOnboarded() - Gate ReplyComposer.handleSubmit with ensureOnboarded() - Migrate New Topic page from standalone hook to context - Wire OnboardingProvider into layout.tsx provider stack - Add onboarding context mocks to transitive test files
Author Guido X Jansen Committer GitHub Date (Mar 3, 2026, 1:11 PM UTC) Commit bb325c65 bb325c6549f10cb5cdc10742fdc745603123593b Parent c2361249 c236124977d6ac436647422af30e8aad1d723b45