Skip to content
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

Display active runtime metadata in console pane #6156

Merged

Conversation

dhruvisompura
Copy link
Contributor

@dhruvisompura dhruvisompura commented Jan 29, 2025

Addresses #5999

Adds a new feature flag called positron.multipleConsoleSessions. When the feature flag is on users can now view details for an active session by clicking on the new info icon button that lives in the console pane action bar. A modal popup will render, containing the details of the session, such as name, state, id, interpreter path, and environment management tool.

The popup provides a link to the session logs in the output pane. When clicked, the user is taken to the output pane and shown the kernel channel for their interpreter.

This is a first pass for the info panel - additional information may be added based off feedback! Follow up work to add additional links to other channels is covered in #6149.

Release Notes

New Features

  • N/A

Bug Fixes

  • N/A

QA Notes

Screenshots

Feature Flag
Screenshot 2025-01-29 at 2 19 30 PM

Popup
Screenshot 2025-01-29 at 4 38 16 PM

Real-Time Session State Updates

Screen.Recording.2025-01-29.at.4.38.32.PM.mov

Copy link

github-actions bot commented Jan 29, 2025

E2E Tests 🚀
This PR will run tests tagged with: @:critical

readme  valid tags

juliasilge
juliasilge previously approved these changes Jan 30, 2025
Copy link
Contributor

@juliasilge juliasilge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working well for me!

Screenshot 2025-01-30 at 4 04 03 PM

Can we open a followup issue to re-examine the treatment of the top action bar of the console at narrower widths? Especially after the coming major UI changes (probably not worth it before). See for example how when I choose the "side-by-side" layout at a moderate app size, I get some not great behavior:

console-bar.mov

softwarenerd
softwarenerd previously approved these changes Jan 30, 2025
Copy link
Contributor

@softwarenerd softwarenerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me, too!

@dhruvisompura dhruvisompura dismissed stale reviews from softwarenerd and juliasilge via 243e45c January 31, 2025 02:28
@softwarenerd softwarenerd self-requested a review January 31, 2025 02:48
softwarenerd
softwarenerd previously approved these changes Jan 31, 2025
Copy link
Contributor

@softwarenerd softwarenerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG!

sharon-wang
sharon-wang previously approved these changes Jan 31, 2025
Copy link
Member

@sharon-wang sharon-wang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also working well for me in dev Server Web and Desktop on Mac 👌

LGTM!

popupPosition='auto'
width={400}
>
<div className='console-instance-info'>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A idea for the future -- thoughts on making the text copy-able? In particular, it would be great if the interpreter path was copy-able.

image

Copy link
Contributor Author

@dhruvisompura dhruvisompura Jan 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed! This is something I noticed and made a note about in the epic around cleanup/improvements!

Copy link
Member

@sharon-wang sharon-wang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:!

@dhruvisompura dhruvisompura merged commit 97ebe00 into main Jan 31, 2025
8 checks passed
@dhruvisompura dhruvisompura deleted the feature/display-active-runtime-metadata-in-console-pane branch January 31, 2025 20:07
@github-actions github-actions bot locked and limited conversation to collaborators Jan 31, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants