-
-
Notifications
You must be signed in to change notification settings - Fork 17
UX Improvements for Jupyter Chat Interface #298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Are there instructions on how to update all the UI tests with new screenshots? I am guessing that ~all need to be updated. |
|
@ellisonbg The snapshots can be updated by posting a GitHub comment. Most of the failing tests are not snapshot tests however, so they will require fixing. Looking into this now. |
|
Just fixed 2 major issues caught by the E2E tests:
Just pushed these changes & will continue iterating on the updated test report. |
|
Made some minor updates to attempt fixing every failing E2E test based on the most recent report.
|
|
bot please update snapshots |
|
@dlqqq UI tests seems to be fixed. |
|
I apologies but can i also work on the fixing the UI tests? |
|
@nakul-py Thanks for offering anyways. We need this merged so we can show it off in our Jupyter AI talk at Jupytercon 2025 next week. Maybe you can help us next time 🤗 |
|
Yes @dlqqq My pleasure is to help you guys anytime. |
|
As discussed with @brichet, we should merge this and tag an alpha shortly after. |
UX Improvements for Jupyter Chat Interface
Summary
This PR introduces a comprehensive set of user experience improvements to the Jupyter Chat interface, focusing on visual clarity, usability, and modernization. The changes streamline the chat interaction patterns, reduce visual clutter, and create a more polished, professional appearance throughout the application.
Screenshots
Screenshot 1: Clean Input State
What you're seeing: The new empty chat interface with the modernized input field. Notice:
Screenshot 2: Code Blocks and Message Display (Full View)
What you're seeing: A complete conversation showing multiple UI improvements:
Screenshot 3: Attachment Preview (Input with File)
What you're seeing: The new attachment chip design in the input field:
Screenshot 4: Full Conversation with Attachment
What you're seeing: A complete view showing:
Screenshot 5: Sidebar Chat View
What you're seeing: The chat interface in sidebar mode (narrower layout):
Motivation & UX Benefits
1. Modernized Chat Input Design
The chat input has been completely redesigned with a focus on clarity and modern UX patterns:
2. Enhanced Attachment Experience
Attachments received significant UX improvements to make them more useful and visually appealing:
3. Cleaner Code Block Toolbar
4. Improved Message Display
5. Better Autocomplete Experience
Multiple improvements to the @ mention autocomplete functionality:
6. Responsive Design
Technical Changes
Tooltip+IconButton/Buttonpatternssxprop with CSS variables for theme consistencyChatAreatype to track whether chat is in main area or sidebarTooltippedButton,TooltippedIconButton,ContrastingTooltip)Files Changed
Accessibility Improvements
aria-labelattributesFuture Work