ui: remove conversation box, text input, ChatBubble (voice-only now)

This commit is contained in:
2026-06-06 00:19:14 -04:00
parent 8f56c44e56
commit d807eb0424
-21
View File
@@ -5,7 +5,6 @@ import Timer from './components/Timer';
import Notes from './components/Notes'; import Notes from './components/Notes';
import WhiteNoise from './components/WhiteNoise'; import WhiteNoise from './components/WhiteNoise';
import KiraAvatar from './components/KiraAvatar'; import KiraAvatar from './components/KiraAvatar';
import ChatBubble from './components/ChatBubble';
import PetZone from './components/PetZone'; import PetZone from './components/PetZone';
import Wardrobe from './components/Wardrobe'; import Wardrobe from './components/Wardrobe';
import Particles from './components/Particles'; import Particles from './components/Particles';
@@ -27,7 +26,6 @@ export default function App() {
loadingPrefs, loadingPrefs,
identify, identify,
setPreference, setPreference,
sendText,
startRecording, startRecording,
stopRecording, stopRecording,
tasks, tasks,
@@ -37,7 +35,6 @@ export default function App() {
const [currentSceneId, setCurrentSceneId] = useState('cozy-room'); const [currentSceneId, setCurrentSceneId] = useState('cozy-room');
const [currentOutfit, setCurrentOutfit] = useState('cozy-hoodie'); const [currentOutfit, setCurrentOutfit] = useState('cozy-hoodie');
const [currentAcc, setCurrentAcc] = useState<string | null>(null); const [currentAcc, setCurrentAcc] = useState<string | null>(null);
const [textInput, setTextInput] = useState('');
const [live2dReady, setLive2dReady] = useState(false); const [live2dReady, setLive2dReady] = useState(false);
const kiraModelRef = useRef<any>(null); const kiraModelRef = useRef<any>(null);
@@ -69,11 +66,6 @@ export default function App() {
else startRecording(); else startRecording();
}; };
const handleTextSend = () => {
if (!textInput.trim()) return;
sendText(textInput.trim());
setTextInput('');
};
const handleWelcome = (name: string) => { const handleWelcome = (name: string) => {
identify(name); identify(name);
@@ -153,19 +145,6 @@ export default function App() {
<Notes /> <Notes />
<TaskList tasks={tasks} addTask={addTask} /> <TaskList tasks={tasks} addTask={addTask} />
</div> </div>
<div className="shrink-0">
<ChatBubble messages={messages} isKiraSpeaking={isKiraSpeaking} userName={userName} />
</div>
<div className="shrink-0 flex gap-2">
<input
value={textInput}
onChange={(e) => setTextInput(e.target.value)}
onKeyDown={(e) => e.key === 'Enter' && handleTextSend()}
placeholder={`hey ${userName}...`}
className="flex-1 bg-white/40 rounded-xl px-3 py-2 text-sm text-kira-plum placeholder-kira-plum/30 border-0 focus:outline-none focus:ring-2 focus:ring-kira-pink/30"
/>
<button onClick={handleTextSend} className="btn-kira px-4 text-sm shrink-0">Send</button>
</div>
</div> </div>
{/* CENTER: Avatar UI overlay (Live2D renders on the background stage) */} {/* CENTER: Avatar UI overlay (Live2D renders on the background stage) */}