jupyterlab / jupyter-ai

A generative AI extension for JupyterLab
https://jupyter-ai.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
2.99k stars 299 forks source link

Chat help message is too long to fit on a laptop-sized screen #851

Open JasonWeill opened 1 week ago

JasonWeill commented 1 week ago

On a laptop-sized screen with a maximized/zoomed browser window (not full screen), at default (100%) zoom, there is not enough height in the browser tab's viewport to accommodate the entire Jupyternaut welcome/help message. We need to shrink the message, such as by collapsing the command list or the magic command information, to provide welcome information and attribution that's visible on laptops and tablets.

This screenshot is from Firefox at 100% zoom, with the left panel at its default width, and with a browser viewport that's 783 px tall. This would be reasonable on a laptop with a small screen, with OS and browser taking up some of the Y axis, and with JupyterLab's own UI taking up some more of the remainder.

image

JasonWeill commented 1 week ago

On a 14" MacBook Pro, with the menu bar and Dock visible, a zoomed Firefox window has 780 pixels of Y axis available. Enlarging the Dock or adding more browser chrome (e.g., with more toolbars) would reduce this further.

ellisonbg commented 1 week ago

Good call out, we may need to move away from showing a full catalog of all of the slash commands.

michaelchia commented 1 week ago

may i suggest that we separate the help and welcome messages? so the welcome message may just include "Enter /help to view list of commands" in place of the commands.