feat(FN-3879): add chat room management in ChatView

- Add useChatRooms hook with room lifecycle state and API integration
- Wire ChatView UI for room selection/creation and update room-focused tests
- Tokenize ChatView and TaskCard color usage to align with dashboard design tokens
- Update architecture docs and include FN-3879 changesets for published CLI package

Fusion-Task-Id: FN-3879
This commit is contained in:
Fusion
2026-05-09 12:34:22 -07:00
committed by gsxdsm
parent cfa4896d38
commit 2278ceff31
9 changed files with 767 additions and 112 deletions

View File

@@ -142,21 +142,27 @@
font-size: var(--space-sm);
}
.chat-thread--rooms-placeholder {
.chat-room-thread-header {
display: flex;
flex-direction: column;
gap: var(--space-sm);
justify-content: center;
align-items: center;
gap: var(--space-sm);
padding: var(--space-md) var(--space-lg);
border-bottom: 1px solid var(--border);
}
.chat-rooms-placeholder-title {
color: var(--text);
font-weight: 600;
.chat-room-thread-members {
margin-left: auto;
display: flex;
gap: var(--space-xs);
overflow-x: auto;
}
.chat-rooms-placeholder-copy {
.chat-room-empty-pane {
display: flex;
align-items: center;
justify-content: center;
color: var(--text-muted);
padding: var(--space-2xl);
}
.chat-sidebar-search-container {
@@ -1387,8 +1393,16 @@
justify-content: center;
}
.chat-thread--rooms-placeholder {
padding: var(--space-lg);
text-align: center;
.chat-room-thread-header {
padding: var(--space-sm) var(--space-md);
}
.chat-room-thread-header .btn-icon {
min-height: 36px;
min-width: 36px;
}
.chat-room-thread-members {
max-width: 50%;
}
}