Move MCP button to first position before paperclip icon

- Position MCP button as the leftmost action button
- Improves visibility and accessibility of MCP functionality
- User requested positioning change

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Nirmal Arya 2025-06-24 21:17:48 -04:00
parent 0cbff1e657
commit 3ed7829ff6
2 changed files with 5 additions and 2 deletions

View File

@ -2,7 +2,10 @@
"permissions": {
"allow": [
"Bash(docker-compose:*)",
"Bash(curl:*)"
"Bash(curl:*)",
"Bash(docker logs:*)",
"Bash(git add:*)",
"Bash(git commit:*)"
],
"deny": []
}

View File

@ -238,10 +238,10 @@ export const ChatBox: React.FC<ChatBoxProps> = (props) => {
</ClientOnly>
<div className="flex justify-between items-center text-sm p-4 pt-2">
<div className="flex gap-1 items-center">
<McpConnection />
<IconButton title="Upload file" className="transition-all" onClick={() => props.handleFileUpload()}>
<div className="i-ph:paperclip text-xl"></div>
</IconButton>
<McpConnection />
<IconButton
title="Enhance prompt"
disabled={props.input.length === 0 || props.enhancingPrompt}