Skip to main content

Minty AI Dropdown

Minty AI Dropdown

Component File: src/features/tools/components/MintyAIDropdown.tsx Route: Global (available in header) Access Level: All authenticated users Last Updated: January 18, 2026 Status: ✅ Implemented

Recent Updates (January 18, 2026)

  • Response Feedback - Flag icon on AI responses to report incorrect answers
  • AlignmintGPT Link - Footer link to external app help

Overview

The Minty AI Dropdown is a compact, always-accessible AI assistant interface that appears as a dropdown from the header. It provides quick access to Minty AI's capabilities without navigating away from the current page.

UI Features

Dropdown Interface

  • Trigger button in header with AI icon
  • Expandable chat interface
  • Minimize/maximize toggle
  • Close button

Chat Features

  • Message input with send button
  • Conversation history with database persistence
  • Typing indicator during AI response
  • Quick action suggestions
  • Daily message limit indicator (50 messages/day)

Chat History Management

  • New Chat: Start a fresh conversation
  • Switch Conversations: Click on past conversations to resume them
  • Clear History: Delete all conversation history
  • Conversation titles display up to 2 lines with full text on hover

Context Awareness

  • Knows current page/component
  • Can reference current entity
  • Understands user role and organization tier

Implementation Details

State Management

  • Conversations persisted to chat_conversations table in Supabase
  • Messages persisted to chat_messages table
  • RLS policies ensure users only see their own conversations
  • Rate limiting: 50 messages/day, 20/minute

API Integration

  • Calls chat-completion Edge Function
  • Streams responses for better UX
  • Handles errors gracefully
  • Supports navigation links (nav://) for in-app routing

Response Formatting

  • Plain text responses (no markdown bold formatting)
  • Emoji indicators for different data types
  • Clickable navigation links to app sections

Implementation Status

| Feature | Status |
|---------|--------|
| Dropdown UI | ✅ Complete |
| Chat interface | ✅ Complete |
| AI response streaming | ✅ Complete |
| Context awareness | ✅ Complete |
| Database persistence | ✅ Complete |
| Chat history switching | ✅ Complete |
| Rate limiting | ✅ Complete |

Related Documentation


Synced from IFMmvp-Frontend documentation: pages/components/11-MINTGPT-DROPDOWN.md

Ready to Get Started?

See how Alignmint can simplify your nonprofit's operations. Schedule a free demo with our team and we'll walk you through everything.

Questions? Email us at steven@getalignmint.org

Ready to get started?Start Plus Trial