馃帹 Palette: Add selection stats to Scratchpad - #18
Conversation
- Update scratchpad footer to display character count of selected text - Add event listeners (mouseup, keyup, focus) to trigger status updates - Improve accessibility by providing more context on text selection
|
馃憢 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. |
This PR adds a "Selection Stats" feature to the Scratchpad Webview.
When a user selects text in the scratchpad, the footer now displays the number of selected characters (e.g., "100 chars, 5 lines (10 selected)").
This improves UX by mimicking VS Code's native status bar behavior for text selection.
Changes:
src/features/scratchpad/scratchpad.htmlto calculate and display selection length.Verification:
acquireVsCodeApiand checks the footer text updates correctly upon selection.PR created automatically by Jules for task 11449244988957597467 started by @Sisyphean-a