Skip to content

feat(workspace): 5/5 Core flow integration (highest risk)#8185

Closed
simula-r wants to merge 1 commit intofeat/workspace-4-integrationfrom
feat/workspace-5-core
Closed

feat(workspace): 5/5 Core flow integration (highest risk)#8185
simula-r wants to merge 1 commit intofeat/workspace-4-integrationfrom
feat/workspace-5-core

Conversation

@simula-r
Copy link
Contributor

@simula-r simula-r commented Jan 20, 2026

Stack: 5/5 ← depends on #8184 | ⚠️ Highest risk - touches auth and routing

Enables the feature: adds teamWorkspacesEnabled flag (returns false if !isCloud), modifies getAuthHeader() to use workspace tokens, initializes store in router guard, switches CurrentUserButton popover. Review focus: token fallback chain, router error handling.

Critical files: useFeatureFlags.ts, firebaseAuthStore.ts, router.ts, CurrentUserButton.vue, GraphCanvas.vue

┆Issue is synchronized with this Notion page by Unito

- Add teamWorkspacesEnabled feature flag with isCloud guard
- Update firebaseAuthStore.getAuthHeader() to prioritize workspace token
- Add getFirebaseAuthHeader() for user-scoped endpoints
- Initialize workspace store in router guard before app loads
- Load invite from URL in GraphCanvas after app initialization
- Update CurrentUserButton to show workspace popover when enabled

BREAKING: When teamWorkspacesEnabled flag is true:
- API calls use workspace-scoped tokens
- User menu shows workspace context
- Settings panel shows workspace mode layout
@simula-r simula-r requested review from a team and pythongosssss as code owners January 20, 2026 20:19
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Jan 20, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 20, 2026

Important

Review skipped

Auto reviews are limited based on label configuration.

🚫 Review skipped — only excluded labels are configured. (1)
  • backport

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link

github-actions bot commented Jan 20, 2026

🎭 Playwright Tests: ❌ Failed

Results: 499 passed, 1 failed, 3 flaky, 8 skipped (Total: 511)

❌ Failed Tests

📊 Browser Reports
  • chromium: View Report (✅ 489 / ❌ 1 / ⚠️ 2 / ⏭️ 8)
  • chromium-2x: View Report (✅ 2 / ❌ 0 / ⚠️ 0 / ⏭️ 0)
  • chromium-0.5x: View Report (✅ 1 / ❌ 0 / ⚠️ 0 / ⏭️ 0)
  • mobile-chrome: View Report (✅ 7 / ❌ 0 / ⚠️ 1 / ⏭️ 0)

@github-actions
Copy link

github-actions bot commented Jan 20, 2026

🎨 Storybook Build Status

Build completed successfully!

⏰ Completed at: 01/20/2026, 08:21:10 PM UTC

🔗 Links


🎉 Your Storybook is ready for review!

@simula-r simula-r closed this Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant