Repository navigation
🎨 Palette: [UX improvement] Accessible realtime connection states - #49
Conversation
- Added a visually appealing empty state with an accessible loading spinner to `server.cjs` waiting page. - Added dynamic connection state styling (transitions, text, and `aria-live` region) to `frame-template.html` and `helper.js`. - Fixed an outdated string assertion in `server.test.js`. - Documented learning in `.Jules/palette.md`. Co-authored-by: pakorn269 <[email protected]>
|
👋 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 real-time visual and accessible feedback for the WebSocket connection state on the brainstorming server's companion window. The UI now visually displays when it is "Connected", "Connecting...", or "Disconnected" instead of appearing frozen when connection drops. It also includes an accessible loading spinner for the initial empty state.
🎯 Why: Connection drops created a confusing "frozen" state for users, and screen reader users were not notified when the connection restored or dropped. The empty state was also visually unpolished.
📸 Before/After: The waiting screen now has a loading spinner. The top-right corner now dynamically reflects connection status and uses
aria-live="polite".♿ Accessibility: Added
aria-live="polite"to the status container so screen readers will announce connection lifecycle changes, and addedaria-hidden="true"to the CSS spinner.PR created automatically by Jules for task 10184444376421016414 started by @pakorn269