Skip to content

Conversation

@mezotv
Copy link
Contributor

@mezotv mezotv commented Nov 15, 2025

Adds mintlifys context menu to make it easier for people to use ai together with helix :D

Greptile Overview

Greptile Summary

Added Mintlify's contextual menu configuration to enable AI assistant integrations directly from documentation pages.

Key Changes:

  • Integrated built-in options: copy, chatgpt, claude, and mcp
  • Added custom T3 Chat integration with proper URL query parameters
  • T3 Chat configuration uses dynamic $path variable to reference current page

Implementation Quality:

  • JSON syntax is valid and properly formatted
  • Configuration follows Mintlify's contextual menu specification
  • Custom T3 Chat integration includes proper icon, description, and query structure
  • All built-in AI assistants are correctly referenced

Assessment:
The implementation is clean, syntactically correct, and ready to merge. No issues found.

Important Files Changed

File Analysis

Filename Score Overview
docs.json 5/5 Added contextual AI assistant menu with ChatGPT, Claude, T3 Chat, and MCP options - implementation is clean and syntactically correct

Sequence Diagram

sequenceDiagram
    participant User
    participant DocsPage as Docs Page
    participant ContextMenu as Context Menu
    participant T3Chat as T3 Chat
    participant ChatGPT
    participant Claude
    participant MCP as MCP Server
    
    User->>DocsPage: Visit documentation page
    User->>ContextMenu: Right-click/open context menu
    ContextMenu-->>User: Display options (copy, chatgpt, claude, T3, mcp)
    
    alt User selects Copy
        User->>ContextMenu: Select "copy"
        ContextMenu->>User: Copy page content to clipboard
    end
    
    alt User selects ChatGPT
        User->>ChatGPT: Open with page context
        ChatGPT-->>User: Ready to answer questions
    end
    
    alt User selects Claude
        User->>Claude: Open with page context
        Claude-->>User: Ready to answer questions
    end
    
    alt User selects T3 Chat
        User->>T3Chat: Navigate to https://t3.chat/new
        Note over T3Chat: Query: "Read from https://docs.helix-db.com/$path"
        T3Chat->>DocsPage: Fetch page content
        DocsPage-->>T3Chat: Return page content
        T3Chat-->>User: Ready to answer questions about page
    end
    
    alt User selects MCP
        User->>MCP: Connect via MCP protocol
        MCP-->>User: Ready for AI interactions
    end
Loading

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 file reviewed, no comments

Edit Code Review Agent Settings | Greptile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant