Skip to content

🎨 Palette: Disable chat input while neuro-link is offline#74

Open
teerthsharma wants to merge 1 commit into
mainfrom
palette/chat-offline-ux-43071599361518803
Open

🎨 Palette: Disable chat input while neuro-link is offline#74
teerthsharma wants to merge 1 commit into
mainfrom
palette/chat-offline-ux-43071599361518803

Conversation

@teerthsharma

Copy link
Copy Markdown
Owner

πŸ’‘ What: Disabled the input field and send button in ChatInterface when the system's tunnelStatus is 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-label and title attributes 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

…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>
@google-labs-jules

Copy link
Copy Markdown
Contributor

πŸ‘‹ 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 @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant