Skip to content

feat(console): advance Studio member-first frontend flows#456

Merged
AbigailDeng merged 14 commits intodevfrom
feat/2026-04-27_studio-invoke-closeout
Apr 27, 2026
Merged

feat(console): advance Studio member-first frontend flows#456
AbigailDeng merged 14 commits intodevfrom
feat/2026-04-27_studio-invoke-closeout

Conversation

@AbigailDeng
Copy link
Copy Markdown
Contributor

Summary

This PR moves more of Studio's Build / Bind / Invoke / Observe frontend flow onto the new member-first backend contracts.

What changed

  • added shared Studio member roster/detail models and decoders
  • added studioApi.listMembers, studioApi.createMember, and studioApi.getMember
  • updated the Studio left rail to enrich published members with backend roster authority
  • updated workflow member creation to register backend member authority after creating the draft
  • switched Observe to prefer member runs / member audit when memberId is available
  • passed memberId through Bind / Invoke / Observe runtime control flows
  • updated Build -> Bind to prefer bindMemberWorkflow when the current workflow maps to a backend member
  • updated tests to cover the new member-first API and Studio behavior

Why

PR #428 landed backend member authority, roster, detail, binding, invoke, and runs routes. Studio frontend was still partially service-first, especially around Build -> Bind and Observe.

This PR closes a large part of that gap so the selected Studio member stays the main subject through the user flow.

Impacted paths

  • apps/aevatar-console-web/src/shared/studio/models.ts
  • apps/aevatar-console-web/src/shared/studio/api.ts
  • apps/aevatar-console-web/src/pages/studio/index.tsx
  • related Studio API and page tests

Verification

Passed:

pnpm --dir apps/aevatar-console-web test -- --runInBand src/shared/studio/api.test.ts src/pages/studio/components/bind/StudioMemberBindPanel.test.tsx src/pages/studio/components/StudioMemberInvokePanel.test.tsx src/pages/studio/index.test.tsx
pnpm --dir apps/aevatar-console-web exec tsc --noEmit --pretty false

tsc still reports pre-existing unrelated errors in Teams pages/tests:

  • apps/aevatar-console-web/src/pages/teams/home.tsx:917
  • apps/aevatar-console-web/src/pages/teams/home.tsx:981
  • apps/aevatar-console-web/src/pages/teams/runtime/teamRuntimeLens.test.ts:77
  • apps/aevatar-console-web/src/pages/teams/runtime/teamRuntimeLens.test.ts:430

Follow-up

The remaining backend API gap for full Studio de-serviceId cleanup is tracked in #454.

@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.90%. Comparing base (7c89f22) to head (f9c4dc9).

@@            Coverage Diff             @@
##              dev     #456      +/-   ##
==========================================
- Coverage   70.90%   70.90%   -0.01%     
==========================================
  Files        1209     1209              
  Lines       87045    87045              
  Branches    11411    11411              
==========================================
- Hits        61722    61716       -6     
- Misses      20876    20881       +5     
- Partials     4447     4448       +1     
Flag Coverage Δ
ci 70.90% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 3 files 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.

@AbigailDeng AbigailDeng merged commit bafcd70 into dev Apr 27, 2026
12 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.

feat(console-web): Member-first Invoke flow and Studio closeout

1 participant