mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 18:26:38 +00:00
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:
parent
0cbff1e657
commit
3ed7829ff6
@ -2,7 +2,10 @@
|
|||||||
"permissions": {
|
"permissions": {
|
||||||
"allow": [
|
"allow": [
|
||||||
"Bash(docker-compose:*)",
|
"Bash(docker-compose:*)",
|
||||||
"Bash(curl:*)"
|
"Bash(curl:*)",
|
||||||
|
"Bash(docker logs:*)",
|
||||||
|
"Bash(git add:*)",
|
||||||
|
"Bash(git commit:*)"
|
||||||
],
|
],
|
||||||
"deny": []
|
"deny": []
|
||||||
}
|
}
|
||||||
|
@ -238,10 +238,10 @@ export const ChatBox: React.FC<ChatBoxProps> = (props) => {
|
|||||||
</ClientOnly>
|
</ClientOnly>
|
||||||
<div className="flex justify-between items-center text-sm p-4 pt-2">
|
<div className="flex justify-between items-center text-sm p-4 pt-2">
|
||||||
<div className="flex gap-1 items-center">
|
<div className="flex gap-1 items-center">
|
||||||
|
<McpConnection />
|
||||||
<IconButton title="Upload file" className="transition-all" onClick={() => props.handleFileUpload()}>
|
<IconButton title="Upload file" className="transition-all" onClick={() => props.handleFileUpload()}>
|
||||||
<div className="i-ph:paperclip text-xl"></div>
|
<div className="i-ph:paperclip text-xl"></div>
|
||||||
</IconButton>
|
</IconButton>
|
||||||
<McpConnection />
|
|
||||||
<IconButton
|
<IconButton
|
||||||
title="Enhance prompt"
|
title="Enhance prompt"
|
||||||
disabled={props.input.length === 0 || props.enhancingPrompt}
|
disabled={props.input.length === 0 || props.enhancingPrompt}
|
||||||
|
Loading…
Reference in New Issue
Block a user