Pin Chat
Pin Chat
Overview
Flow ID: pin-chat
Category: Chat Interactions
Estimated Duration: < 5 seconds
User Role: All Users
Complexity: Simple
Purpose: Mark specific conversations as “Important,” keeping them at the very top of the sidebar history list, immune to being pushed down by newer chats.
Trigger
What initiates this flow:
- User manually initiates
Specific trigger: Clicking the Pin Icon on a chat item.
User Intent Analysis
Primary Intent
Keep frequently accessed prompts, useful RAG configurations, or ongoing heavy research projects easily accessible.
Step-by-Step Flow
Main Path (Happy Path)
Step 1: Locate Chat
- User Action: Hover over the chat in sidebar.
Step 2: Pin
- User Action: Click Pin Icon (Thumbtack).
- System Response:
- Chat moves to “Pinned” section at top of list.
- Icon state changes to “Filled/Active”.
Step 3: Unpin (Reversal)
- User Action: Click Pin Icon again.
- System Response: Chat returns to chronological order in normal list.
Design Considerations
- Section Separation: Visually distinguish “Pinned” list from “Recent” list with a divider or header.
- Limit: Soft limit (e.g., 5-10 pins) to prevent “Pin clutter”.
Related Flows
Technical References
src/components/sidebar/chat-list-item.js