π¨ Palette: Disable chat input while neuro-link is offline#74
π¨ Palette: Disable chat input while neuro-link is offline#74teerthsharma wants to merge 1 commit into
Conversation
β¦the neuro-link is offline. Specifically, I added dynamic disabled states and tooltips to the ChatInterface input field and send button based on the `tunnelStatus`. This prevents ghost interactions when the system is offline and provides immediate contextual feedback regarding the system state. Co-authored-by: teerthsharma <78080953+teerthsharma@users.noreply.github.com>
|
π Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a π emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
π‘ What: Disabled the input field and send button in
ChatInterfacewhen the system'stunnelStatusis not'LOCKED'.π― Why: Previously, users could type and attempt to send messages while the neuro-link was disconnected or connecting. This led to failed dispatches and poor user feedback. Now, the interface explicitly explains why interactions are disabled (e.g., "Waiting for neuro-link...") using dynamic placeholders and tooltips.
πΈ Before/After: The button and input now accurately reflect visual disabled states (
opacity-50,cursor-not-allowed) when offline.βΏ Accessibility: Dynamically added explicit
aria-labelandtitleattributes on the send button depending on the system's connection status, providing screen readers and mouse users immediate contextual clarity on the disabled state.PR created automatically by Jules for task 43071599361518803 started by @teerthsharma