You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Chatbot] - Drop custom styles from CodeBlockMessage #934
We want to make it easier to handle Felt changes by dropping more custom styles from ChatBot. Messages have a lot of custom styles in packages/module/src/Message/CodeBlockMessage/CodeBlockMessage.scss.
Let's see what we can drop. We are manually adding a file type to the CodeBlock in packages/module/src/Message/CodeBlockMessage/CodeBlockMessage.tsx. Remove this. We also override CodeBlock to add syntax highlighting in packages/module/src/MarkdownContent/MarkdownRenderer.tsx. If we go with the CodeBlock as-is, we can drop import 'highlight.js/styles/vs2015.css'; and import rehypeHighlight from 'rehype-highlight';
Expected Data Structure
No response
Conversational Flow
No response
Visuals & Mockups
No response
Conversational Accessibility
No response
Validation
This request aligns with PatternFly AI/Chatbot design guidelines.
I have searched for existing chatbot-specific components.
Activity