design(chat): remove un-wired dictation and select-mode buttons from composer to match Base44 simplicity

This commit is contained in:
2026-06-12 11:05:01 -07:00
parent 55646f668e
commit 9b13320253
2 changed files with 19 additions and 148 deletions

View File

@@ -2179,42 +2179,6 @@ export function ChatPanel({
>
<Paperclip style={{ width: 14, height: 14 }} />
</button>
<button
type="button"
style={{
...COMPOSER_ACTION_BTN_BASE,
background: "transparent",
color: "#a1a1aa",
border: "1px solid transparent",
cursor: "pointer",
transition: "all 0.1s ease",
}}
onMouseEnter={(e) => {
e.currentTarget.style.background = "#f4f4f5";
e.currentTarget.style.color = "#18181b";
}}
onMouseLeave={(e) => {
e.currentTarget.style.background = "transparent";
e.currentTarget.style.color = "#a1a1aa";
}}
title="Voice dictation"
>
<svg
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
>
<path d="M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z"></path>
<path d="M19 10v2a7 7 0 0 1-14 0v-2"></path>
<line x1="12" x2="12" y1="19" y2="22"></line>
</svg>
</button>
{selectToggle}
</div>
{(() => {
// While the AI is streaming or running tools, the button