Skip to content

feat(workspace): 2/5 Store and composables with tests#8182

Closed
simula-r wants to merge 1 commit intofeat/workspace-1-foundationfrom
feat/workspace-2-store
Closed

feat(workspace): 2/5 Store and composables with tests#8182
simula-r wants to merge 1 commit intofeat/workspace-1-foundationfrom
feat/workspace-2-store

Conversation

@simula-r
Copy link
Contributor

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

Stack: 2/5 ← depends on #8181

Core Pinia store for workspace state, token refresh, and member management. Includes useWorkspaceUI for role-based permissions and useInviteUrlLoader for invite handling. 1,400+ lines of tests (59% coverage). Store not instantiated until flag enabled.

Files: teamWorkspaceStore.ts, useWorkspaceUI.ts, useInviteUrlLoader.ts, useWorkspaceSwitch.ts + tests

┆Issue is synchronized with this Notion page by Unito

- Add teamWorkspaceStore with state management and token refresh
- Add useWorkspaceUI composable for role-based permissions
- Add useInviteUrlLoader for invite URL handling
- Add useWorkspaceSwitch hook
- Include comprehensive test coverage (1400+ lines)
@simula-r simula-r requested a review from a team as a code owner January 20, 2026 20:17
@dosubot dosubot bot added the size:XXL This PR changes 1000+ 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

🎨 Storybook Build Status

Build completed successfully!

⏰ Completed at: 01/20/2026, 08:19:14 PM UTC

🔗 Links


🎉 Your Storybook is ready for review!

@github-actions
Copy link

github-actions bot commented Jan 20, 2026

🎭 Playwright Tests: ⚠️ Passed with flaky tests

Results: 503 passed, 0 failed, 2 flaky, 8 skipped (Total: 513)

❌ Failed Tests

📊 Browser Reports
  • chromium: View Report (✅ 493 / ❌ 0 / ⚠️ 1 / ⏭️ 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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant