Compare commits

..

13 Commits

Author SHA1 Message Date
Nicholas Tindle
ec5a5a4dfd fix(frontend): refresh credits for all onboarding step completions
Move fetchCredits() before the task group check so credits refresh
for hidden steps like VISIT_COPILOT. Confetti still only triggers
for steps displayed in the wallet checklist.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 22:53:21 -06:00
Nicholas Tindle
a79acf25d1 fix(backend): default chat flag to false when LaunchDarkly unavailable
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 22:39:56 -06:00
Nicholas Tindle
6e119f32f3 refactor(platform): move chat flag check to backend onboarding endpoint
Backend /api/onboarding/enabled now checks Flag.CHAT for the user:
- If chat enabled → return false (skip legacy onboarding)
- If chat disabled → return original logic (check store agent count)

Frontend shouldShowOnboarding() restored to original logic since
backend handles the chat flag check server-side with LaunchDarkly.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 22:36:54 -06:00
Nicholas Tindle
cc7d0abf31 Merge branch 'dev' into open-2967-disable-onboarding-redirects 2026-01-27 21:11:35 -06:00
Nicholas Tindle
fa85255ece Add VISIT_COPILOT to OnboardingStep enum
Added 'VISIT_COPILOT' value to the OnboardingStep enum.
2026-01-27 21:10:12 -06:00
Nicholas Tindle
db71e10d9a Add 'VISIT_COPILOT' value to OnboardingStep enum 2026-01-27 21:09:56 -06:00
Nicholas Tindle
9b8d11dfb0 Merge branch 'dev' into open-2967-disable-onboarding-redirects 2026-01-27 20:53:08 -06:00
claude[bot]
efbf61dc06 fix(frontend): add URL type annotation to waitForURL callbacks
Fixes TypeScript implicit 'any' type error in signup.ts and login.page.ts
by adding explicit URL type annotation to the callback parameters.

Co-authored-by: Nicholas Tindle <ntindle@users.noreply.github.com>
2026-01-28 02:27:39 +00:00
claude[bot]
479412eb64 fix(frontend): fix e2e test signup/login redirect URL handling
- Replace Promise.race() with single waitForURL callback in signup.ts
  to avoid race conditions with multiple independent timeouts
- Add /library and /copilot to login.page.ts URL pattern to handle
  new post-login redirect destinations

Co-authored-by: Nicholas Tindle <ntindle@users.noreply.github.com>
2026-01-28 02:10:03 +00:00
claude[bot]
1b0271e912 fix(frontend): update e2e signup tests to handle new post-signup landing pages
After disabling onboarding redirects, users now land on /copilot or /library
instead of /onboarding. This updates the test utility to:
- Wait for /copilot and /library in addition to /onboarding and /marketplace
- Verify authentication on copilot/library pages without requiring marketplace text

Co-authored-by: Nicholas Tindle <ntindle@users.noreply.github.com>
2026-01-28 01:08:41 +00:00
Nicholas Tindle
4f627f500e Update autogpt_platform/frontend/src/app/(platform)/copilot/useCopilotPage.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-27 17:26:51 -06:00
Nicholas Tindle
8cf19af359 Merge branch 'dev' into open-2967-disable-onboarding-redirects 2026-01-27 17:06:01 -06:00
Nicholas Tindle
dc7b489374 feat(platform): disable onboarding redirects and add $5 signup bonus
- Disable automatic onboarding redirects by making shouldShowOnboarding() return false
- Users now land directly on /copilot after signup/login
- Add VISIT_COPILOT onboarding step with 500 credit ($5) reward
- Complete VISIT_COPILOT step automatically when user visits /copilot
- Checklist/wallet remains functional, reward is granted invisibly

OPEN-2967

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 16:53:57 -06:00

Diff Content Not Available