feat: implemented workspace flow

This commit is contained in:
--list
2026-01-13 23:32:18 -08:00
parent a89a48d11e
commit e419a76b5e
22 changed files with 2322 additions and 198 deletions

View File

@@ -1,16 +1,17 @@
<template>
<div class="flex items-center gap-2">
<UserAvatar class="size-6" :photo-url="userPhotoUrl" />
<WorkspaceProfilePic
class="size-6 text-xs"
:workspace-name="workspaceName"
/>
<span>{{ workspaceName ?? 'Personal' }}</span>
<span>{{ workspaceName }}</span>
</div>
</template>
<script setup lang="ts">
import UserAvatar from '@/components/common/UserAvatar.vue'
import { useCurrentUser } from '@/composables/auth/useCurrentUser'
import WorkspaceProfilePic from '@/components/common/WorkspaceProfilePic.vue'
import { useWorkspace } from '@/platform/workspace/composables/useWorkspace'
const { userPhotoUrl } = useCurrentUser()
const { workspaceName } = useWorkspace()
</script>