Skip to content

Route Create Team to Studio member creation#426

Merged
potter-sun merged 7 commits intodevfrom
fix/2026-04-24_create-team-copy-flow-framing
Apr 27, 2026
Merged

Route Create Team to Studio member creation#426
potter-sun merged 7 commits intodevfrom
fix/2026-04-24_create-team-copy-flow-framing

Conversation

@potter-sun
Copy link
Copy Markdown
Collaborator

Summary

  • Route the Teams home Create Team CTA directly into Studio with a typed create-member intent.
  • Auto-open the existing Studio create-member flow for that intent without creating a backend draft or team fact.
  • Keep /teams/new as a hidden legacy recovery page and update copy/tests to describe initial member draft recovery.
  • Collapse the console shell navigation by default for this focused Studio entry.

Why

The previous Create Team page implied a persisted Team was being created, while the current product flow actually starts team construction by creating the first Studio member. This makes the route and copy honest without introducing backend team semantics.

Closes #319

Validation

  • npm --prefix apps/aevatar-console-web test -- --runInBand apps/aevatar-console-web/src/pages/teams/new.test.tsx apps/aevatar-console-web/src/pages/teams/home.test.tsx apps/aevatar-console-web/src/pages/studio/index.test.tsx apps/aevatar-console-web/src/app.layout.test.ts apps/aevatar-console-web/src/shared/studio/navigation.test.ts apps/aevatar-console-web/src/routesConfig.test.ts apps/aevatar-console-web/src/shared/navigation/navigationMenuSelection.test.ts
  • npm --prefix apps/aevatar-console-web run tsc
  • bash tools/ci/test_stability_guards.sh
  • git diff --check

Note

npm --prefix apps/aevatar-console-web run biome:lint still reports existing unrelated lint debt in the console web package.

…team-copy-flow-framing

# Conflicts:
#	apps/aevatar-console-web/src/pages/studio/index.tsx
#	apps/aevatar-console-web/src/pages/teams/home.tsx
#	apps/aevatar-console-web/src/shared/studio/navigation.ts
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.50%. Comparing base (114ab79) to head (a6c943b).
⚠️ Report is 8 commits behind head on dev.

@@           Coverage Diff           @@
##              dev     #426   +/-   ##
=======================================
  Coverage   70.50%   70.50%           
=======================================
  Files        1198     1198           
  Lines       86188    86188           
  Branches    11297    11297           
=======================================
+ Hits        60764    60766    +2     
+ Misses      21037    21036    -1     
+ Partials     4387     4386    -1     
Flag Coverage Δ
ci 70.50% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Contributor

@AbigailDeng AbigailDeng left a comment

Choose a reason for hiding this comment

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

Two actionable issues stood out in this flow: scope should be preserved when entering create-member from Teams, and the menu-collapse behavior likely needs a controlled state instead of relying on defaultCollapsed. Leaving both inline for easier follow-up.

Comment thread apps/aevatar-console-web/src/pages/teams/home.tsx Outdated
Comment thread apps/aevatar-console-web/src/app.tsx Outdated
@potter-sun potter-sun marked this pull request as ready for review April 27, 2026 06:26
@potter-sun potter-sun merged commit be05a7f into dev Apr 27, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Route Create Team directly to Studio member creation

2 participants