π¨ Palette: [Chat UI] Add disabled states when neuro-link is offline#85
π¨ Palette: [Chat UI] Add disabled states when neuro-link is offline#85teerthsharma wants to merge 1 commit into
Conversation
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: Added dynamic disabled states to the chat input and send button, tied to the kernel's
tunnelStatus.π― Why: Previously, users could attempt to type and send messages even when the neuro-link tunnel was offline, leading to silent failures and a confusing user experience. Now, the input is visibly disabled and explains why.
πΈ Before/After: Visual changes verified via Playwright. When offline, the input displays "Neuro-Link Offline..." and the button is disabled.
βΏ Accessibility: Updated
aria-labelandtitleattributes dynamically to provide screen-reader context for why the elements are disabled ("System offline"). Addeddisabled:opacity-50anddisabled:cursor-not-allowedstyles.PR created automatically by Jules for task 911136967904974849 started by @teerthsharma