nanochat/services/frontend/components/chat
Manmohan Sharma 2b6b7186d3
feat(ui): cleaner input layout + sanitize model-output artifacts
ChatInput: textarea on top, inline tool pills (Think, Search) on the left and send button on the right — single rounded pod, no more bolted-on feel. Smaller pill buttons with subtle ring instead of heavy borders. MessageBubble: add sanitizeModelOutput() that strips training-artifact leaks: <b>/<i>/<strong>/<em> HTML tags, stray standalone '<' markers, leading 'Answer:/Response:' labels, placeholder image markdown. Applied before tool-marker parsing so cleaned text also feeds the <think> card renderer.
2026-04-22 15:31:00 -07:00
..
ChatInput.tsx feat(ui): cleaner input layout + sanitize model-output artifacts 2026-04-22 15:31:00 -07:00
ChatWindow.tsx feat(ui): remove model selector dropdown - single model only 2026-04-22 15:27:38 -07:00
EmptyState.tsx feat: deploy d24 SFT + polished UI redesign with dark mode (#39) 2026-04-16 19:55:16 -04:00
MessageBubble.tsx feat(ui): cleaner input layout + sanitize model-output artifacts 2026-04-22 15:31:00 -07:00
Sidebar.tsx feat(ui): remove model selector dropdown - single model only 2026-04-22 15:27:38 -07:00