Back to Knowledge Base

Chat Interactions

Delete a Chat Conversation

Overview

Flow ID: delete-chat
Category: Chat Interactions
Estimated Duration: 30 seconds
User Role: All Users
Complexity: Simple

Purpose: This flow allows users to permanently remove a chat conversation from the application. This is useful for cleaning up unwanted conversations, removing test chats, or managing privacy by deleting sensitive conversations.

Related Flows

Prerequisites

Before starting, users must have:

  • Application installed and running
  • At least one chat conversation exists
  • Chat open or accessible from chat list

Step-by-Step Flow

Main Path (Happy Path)

Step 1: Open Chat to Delete

  • User Action: Navigate to and open the chat conversation you want to delete
  • System Response: Chat displays in main area
  • UI Elements Visible:
    • Full chat conversation
    • Chat header with name
    • Actions menu (three dots or hamburger icon)
  • Visual Cues: Active chat interface

Step 2: Access Actions Menu

  • User Action: Click actions menu icon in chat header
  • System Response: Dropdown menu appears with options
  • UI Elements Visible:
    • Menu with options:
      • Edit Name
      • Download as Text
      • Download as PDF
      • Delete Chat (typically red text or with warning color)
    • Each option with icon
  • Visual Cues:
    • Delete option in red or warning color
    • Trash icon next to Delete Chat

Step 3: Select Delete Chat

  • User Action: Click "Delete Chat" option
  • System Response: Confirmation dialog appears
  • UI Elements Visible:
    • Confirmation modal overlaying chat
    • Warning message: "Are you sure you want to delete this chat?" or similar
    • Chat name shown to confirm which chat
    • Warning text: "This action cannot be undone"
    • Two buttons:
      • "Cancel" (gray or secondary style)
      • "Delete" or "Confirm Delete" (red, warning style)
  • Visual Cues:
    • Modal centered and prominent
    • Warning colors (red) for delete action
    • Clear distinction between cancel and confirm

Step 4: Confirm Deletion

  • User Action: Read confirmation message and click "Delete" or "Confirm Delete" button
  • System Response:
    • Modal closes
    • Chat is deleted
    • User redirected to chat list or new chat screen
    • Brief success notification may appear
  • UI Elements Visible:
    • Loading indicator briefly
    • Transition to chat list or new chat screen
    • Success message: "Chat deleted" (brief toast notification)
    • Deleted chat no longer appears in sidebar
  • Visual Cues:
    • Smooth transition animation
    • Toast notification with success message

Final Step: Chat Deleted

  • Success Indicator:
    • Chat no longer appears in chat list sidebar
    • Cannot access deleted chat
    • Redirect to chat list or new chat page
    • Success notification appeared
  • System State Change:
    • Chat record removed from database
    • Chat ID no longer valid
    • Chat data deleted (conversation history removed)
    • Cannot be recovered
  • Next Possible Actions:
    • Start new chat
    • Open different existing chat
    • Continue with other application features

Alternative Paths & Strategies

Strategy A: Delete from Chat List (without opening)

When to use: Want to delete chat without viewing it

Steps:

  1. In chat list sidebar, locate chat to delete
  2. Right-click on chat name (if context menu supported)
  3. Select "Delete" from context menu
  4. Confirm deletion
  5. Chat removed from list

QA Note: Right-click context menu not confirmed in knowledge base. Current method requires opening chat. Included as potential enhancement.

Strategy B: Cancel Deletion

When to use: User clicks delete but changes their mind

Steps:

  1. Access actions menu, click "Delete Chat"
  2. Confirmation dialog appears
  3. Click "Cancel" instead of "Delete"
  4. Dialog closes
  5. Chat remains intact, no changes made

Error States & Recovery

Error 1: Deletion Fails

Cause: Database error or system issue
User Experience:

  • Error message: "Failed to delete chat" or similar
  • Chat remains in list
  • May show error notification

Recovery Steps:

  1. Try deleting again
  2. Refresh page
  3. Verify chat still exists
  4. Try again after refresh
  5. If persists, restart application and retry

QA Note: Deletion is simple database operation. Failure indicates system issue, very rare.

Error 2: Cannot Confirm Deletion

Cause: Modal or button unresponsive
User Experience:

  • Confirmation dialog appears but clicking "Delete" doesn't work
  • Button doesn't respond
  • Modal stuck on screen

Recovery Steps:

  1. Try clicking "Cancel" to close dialog
  2. Refresh page
  3. Try deletion process again
  4. If modal stuck, restart application

QA Note: UI interaction issue. Rare and indicates bug.

Error 3: Chat Reappears After Deletion

Cause: Cache or sync issue
User Experience:

  • Chat appears deleted but shows up again after page refresh
  • Deletion didn't persist
  • Confusing state

Recovery Steps:

  1. Try deleting again
  2. Verify deletion completes
  3. Refresh page to confirm
  4. If persists, indicates system error requiring restart

QA Note: Data persistence issue. Should not occur in normal operation.

Version History

Date Version Author Changes
2025-10-04 1.1 Iternal Technologies Initial comprehensive documentation

Notes

Important Considerations:

  • Deletion is permanent and cannot be undone
  • All messages in conversation are deleted
  • Chat settings and persona configurations are lost
  • No backup is created automatically
  • Consider exporting before deleting if content may be needed later

Best Practices:

  • Export important conversations before deleting
  • Double-check you're deleting the correct chat
  • Review conversation one last time before confirming
  • Use descriptive names to avoid confusion about which chat is which
  • Regularly clean up test or unnecessary chats to keep list manageable

Common User Questions:

  • "Can I recover a deleted chat?" - No, deletion is permanent
  • "Is there a trash bin?" - No, deletion is immediate and permanent
  • "Should I export before deleting?" - Yes, if there's any chance you'll need the content later
  • "Does deletion free up space?" - Yes, but typically minimal unless chat is very large
  • "Will this affect my other chats?" - No, only the selected chat is deleted

Trigger

What initiates this flow:

  • User manually initiates

Specific trigger: User wants to delete a conversation, typically because:

  • Chat is no longer needed
  • Want to clean up chat list
  • Conversation was created by mistake or for testing
  • Need to remove sensitive or private information
  • Managing storage space

User Intent Analysis

Primary Intent

Permanently remove a chat conversation from the system to clean up the interface, manage privacy, or delete unwanted content.

Secondary Intents

  • Organize chat list by removing clutter
  • Free up storage space
  • Protect privacy by removing sensitive conversations
  • Remove accidental or test chats

Subintents

  • Ensure deletion is intentional (avoid accidental deletion)
  • Confirm conversation is truly gone
  • Understand deletion is permanent
Free Trial

Download Blockify for your PC

Experience our 100% Local and Secure AI-powered chat application on your Windows PC

✓ 100% Local and Secure ✓ Windows 10/11 Support ✓ Requires GPU or Intel Ultra CPU
Start AirgapAI Free Trial
Free Trial

Try Blockify via API or Run it Yourself

Run a full powered version of Blockify via API or on your own AI Server, requires Intel Xeon or Intel/NVIDIA/AMD GPUs

✓ Cloud API or 100% Local ✓ Fine Tuned LLMs ✓ Immediate Value
Start Blockify API Free Trial