Skip to content

fix(frontend): navigate to demo from any org#3640

Merged
bekossy merged 1 commit intorelease/v0.83.1from
fix/demo-navigation
Feb 6, 2026
Merged

fix(frontend): navigate to demo from any org#3640
bekossy merged 1 commit intorelease/v0.83.1from
fix/demo-navigation

Conversation

@mmabrouk
Copy link
Member

@mmabrouk mmabrouk commented Feb 5, 2026

What changed

  • Update Get Started and Home welcome-card demo CTAs to fall back to switching to the demo org when the current workspace’s project list doesn’t include a demo project.
  • Keep existing behavior when a demo project is already present in the current projects list.

Why

When users are currently in a non-demo organization, the in-memory projects list is scoped to that org/workspace. That means projects.find(p => p.is_demo) can be empty even though a demo org exists and is accessible, which caused a false "Demo project is not available" error.

How to test

  1. Login with a user that has access to the demo org.
  2. While selected on a non-demo org, go to /get-started and click "Explore demo workspace".
  3. On Home, click "Explore demo project" in the welcome cards.
  4. Verify both routes take you into the demo workspace/project instead of erroring.

Lint

  • Ran pnpm lint-fix in web/.

Open with Devin

@vercel
Copy link

vercel bot commented Feb 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agenta-documentation Ready Ready Preview, Comment Feb 5, 2026 8:07pm

Request Review

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Feb 5, 2026
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional findings.

Open in Devin Review

@dosubot dosubot bot added bug Something isn't working Frontend labels Feb 5, 2026
@bekossy bekossy changed the base branch from main to release/v0.83.1 February 6, 2026 13:09
@bekossy bekossy merged commit 9e43de5 into release/v0.83.1 Feb 6, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working Frontend size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants