Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/src/components/layout/ChannelSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ async function handleLeaveTeam() {

<!-- Empty Category State -->
<div v-if="cat.channels.length === 0" class="px-8 py-3 text-xs text-text-3 italic">
No channels
No channels in this category yet
</div>
</div>
</div>
Expand Down
17 changes: 13 additions & 4 deletions frontend/src/views/main/ChannelView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -266,11 +266,20 @@ function handleKeydown(e: KeyboardEvent) {
class="relative flex flex-col flex-1 min-w-0 z-10 bg-transparent transition-all duration-300"
:class="{ 'mr-0': !uiStore.isRhsOpen }"
>
<!-- No Channel Selected -->
<!-- No Channel Selected / No Channels Exist -->
<div v-if="!currentChannel" class="flex-1 flex items-center justify-center text-slate-500">
<div class="text-center">
<p class="text-lg">Select a channel to start messaging</p>
<p class="text-sm mt-2">Choose a channel from the sidebar</p>
<div class="text-center max-w-sm px-4">
<template v-if="channelStore.channels.length === 0">
<p class="text-lg font-medium text-slate-600">No channels yet</p>
<p class="text-sm mt-2">
Get started by creating a channel or browsing existing ones —
use the <span class="font-semibold">+</span> button in the sidebar.
Comment on lines 270 to +276
Comment on lines +275 to +276
</p>
</template>
<template v-else>
<p class="text-lg font-medium text-slate-600">No channel selected</p>
<p class="text-sm mt-2">Choose a channel from the sidebar to start messaging.</p>
</template>
</div>
</div>

Expand Down
Loading