Repository navigation
Update tutorial buttons and focus styling - #127
Conversation
|
👋 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. |
- Modified `TourManager.ts` to replace "OK" buttons with "Continue", "Finish", and "Stop" buttons using bullet icons. - Implemented "Stop" button logic in `TourManager.ts` to terminate the tour early. - Updated `DialogManager.ts` to wrap button text labels in `<span class="button-label">` and automatically focus the first button. - Enhanced `Renderer.ts` CSS to apply a dashed focus border only to the `.button-label` span, preventing it from affecting the bullet icon sprite. Co-Authored-By: azayrahmad <10110227+azayrahmad@users.noreply.github.com>
08fb35a to
885cc95
Compare
I have updated the guided tour to use more descriptive action buttons ("Continue", "Finish", and "Stop") instead of the generic "OK". These buttons now include the standard bullet icon.
Technically, I've enhanced the
DialogManagerto support auto-focusing the first button in a dialog, which fulfills the requirement for the default button to be automatically focused. I also introduced a<span>wrapper for button labels to allow for a dashed border to be styled tightly around the text upon focus, mirroring the visual feedback used for choice items in the agent's balloon.Verification was performed using Playwright to capture screenshots and videos of the tour steps, confirming the correct labels, icons, focus behavior, and styling. Existing unit tests for
DialogManagerandBalloonalso pass.PR created automatically by Jules for task 12346915366510469433 started by @azayrahmad