Add interactive docstring tooltips to ShellV2#1917
Conversation
- Created `generate-docs.js` script to parse Eldritch documentation from markdown. - Integrated doc generation into `npm start` and `npm build`. - Implemented `DocTooltip` component for displaying function signatures and descriptions. - Updated `useShellTerminal` to detect words under cursor and fetch documentation. - Updated `ShellTerminal` to render tooltips on hover. - Updated `ShellCompletions` to display info icon and tooltips for completion items. Co-authored-by: KCarretto <16250309+KCarretto@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. |
Summary
Previous Results
Insights
Slowest Tests
🎉 No failed tests in this run. | 🍂 No flaky tests in this run. Github Test Reporter by CTRF 💚 🔄 This comment has been updated |
- Created `generate-docs.js` script to parse Eldritch documentation from markdown. - Integrated doc generation into `npm start` and `npm build`. - Implemented `DocTooltip` component using `react-markdown` for rendering formatted descriptions. - Updated `useShellTerminal` to detect words under cursor and fetch documentation. - Updated `ShellTerminal` to render tooltips on hover. - Updated `ShellCompletions` to display info icon and tooltips for completion items. Co-authored-by: KCarretto <16250309+KCarretto@users.noreply.github.com>
- Created `generate-docs.js` script to parse Eldritch documentation from markdown. - Integrated doc generation into `npm start` and `npm build`. - Implemented `DocTooltip` component using `react-markdown` for rendering formatted descriptions. - Updated `useShellTerminal` to detect words under cursor and fetch documentation. - Updated `ShellTerminal` to render tooltips on hover. - Updated `ShellCompletions` to display info icon and tooltips for completion items using intelligent lookup. Co-authored-by: KCarretto <16250309+KCarretto@users.noreply.github.com>
- Created `generate-docs.js` script to parse Eldritch documentation from markdown. - Integrated doc generation into `npm start` and `npm build`. - Implemented `DocTooltip` component using `react-markdown` for rendering formatted descriptions. - Updated `useShellTerminal` to detect words under cursor and fetch documentation with stable positioning. - Updated `ShellTerminal` to render tooltips on hover. - Updated `ShellCompletions` to display info icon and tooltips for completion items using intelligent lookup. - Fixed tooltip scrolling and Markdown tab rendering. Co-authored-by: KCarretto <16250309+KCarretto@users.noreply.github.com>
* Add interactive docstring tooltips to ShellV2 - Created `generate-docs.js` script to parse Eldritch documentation from markdown. - Integrated doc generation into `npm start` and `npm build`. - Implemented `DocTooltip` component for displaying function signatures and descriptions. - Updated `useShellTerminal` to detect words under cursor and fetch documentation. - Updated `ShellTerminal` to render tooltips on hover. - Updated `ShellCompletions` to display info icon and tooltips for completion items. Co-authored-by: KCarretto <16250309+KCarretto@users.noreply.github.com> * Add interactive docstring tooltips to ShellV2 - Created `generate-docs.js` script to parse Eldritch documentation from markdown. - Integrated doc generation into `npm start` and `npm build`. - Implemented `DocTooltip` component using `react-markdown` for rendering formatted descriptions. - Updated `useShellTerminal` to detect words under cursor and fetch documentation. - Updated `ShellTerminal` to render tooltips on hover. - Updated `ShellCompletions` to display info icon and tooltips for completion items. Co-authored-by: KCarretto <16250309+KCarretto@users.noreply.github.com> * Add interactive docstring tooltips to ShellV2 - Created `generate-docs.js` script to parse Eldritch documentation from markdown. - Integrated doc generation into `npm start` and `npm build`. - Implemented `DocTooltip` component using `react-markdown` for rendering formatted descriptions. - Updated `useShellTerminal` to detect words under cursor and fetch documentation. - Updated `ShellTerminal` to render tooltips on hover. - Updated `ShellCompletions` to display info icon and tooltips for completion items using intelligent lookup. Co-authored-by: KCarretto <16250309+KCarretto@users.noreply.github.com> * Add interactive docstring tooltips to ShellV2 - Created `generate-docs.js` script to parse Eldritch documentation from markdown. - Integrated doc generation into `npm start` and `npm build`. - Implemented `DocTooltip` component using `react-markdown` for rendering formatted descriptions. - Updated `useShellTerminal` to detect words under cursor and fetch documentation with stable positioning. - Updated `ShellTerminal` to render tooltips on hover. - Updated `ShellCompletions` to display info icon and tooltips for completion items using intelligent lookup. - Fixed tooltip scrolling and Markdown tab rendering. Co-authored-by: KCarretto <16250309+KCarretto@users.noreply.github.com> --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> Co-authored-by: KCarretto <16250309+KCarretto@users.noreply.github.com>
Implemented interactive floating docstring tooltips for the ShellV2 terminal and autocomplete menu. The tooltips display function signatures and descriptions parsed from the Eldritch user guide. Hovering over a function name in the terminal or an item in the autocomplete list triggers the tooltip. Used Chakra UI for styling and ensuring visibility with fixed positioning.
PR created automatically by Jules for task 2539696344315748681 started by @KCarretto