-
Notifications
You must be signed in to change notification settings - Fork 93
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
Display active runtime metadata in console pane #6156
Conversation
E2E Tests 🚀 |
src/vs/workbench/contrib/positronConsole/browser/components/consoleInstanceInfoButton.css
Outdated
Show resolved
Hide resolved
src/vs/workbench/contrib/positronConsole/browser/components/consoleInstanceInfoButton.css
Outdated
Show resolved
Hide resolved
src/vs/workbench/contrib/positronConsole/browser/components/consoleInstanceInfoButton.tsx
Outdated
Show resolved
Hide resolved
src/vs/workbench/contrib/positronConsole/browser/components/consoleInstanceInfoButton.tsx
Show resolved
Hide resolved
src/vs/workbench/services/runtimeSession/common/positronMultipleConsoleSessionsFeatureFlag.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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!
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
There was a problem hiding this 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!
No need to check if a session is undefined because we are guaranteed to get a session
243e45c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG!
There was a problem hiding this 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!
src/vs/workbench/contrib/positronConsole/browser/components/consoleInstanceInfoButton.tsx
Show resolved
Hide resolved
popupPosition='auto' | ||
width={400} | ||
> | ||
<div className='console-instance-info'> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
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!
src/vs/workbench/contrib/positronConsole/browser/components/consoleInstanceInfoButton.tsx
Outdated
Show resolved
Hide resolved
32e4dcc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
!
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
Bug Fixes
QA Notes
Screenshots
Feature Flag
![Screenshot 2025-01-29 at 2 19 30 PM](https://private-user-images.githubusercontent.com/5605859/407957462-84154034-f7a7-4696-b016-61c4aa3c9370.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMTcyNTcsIm5iZiI6MTczOTExNjk1NywicGF0aCI6Ii81NjA1ODU5LzQwNzk1NzQ2Mi04NDE1NDAzNC1mN2E3LTQ2OTYtYjAxNi02MWM0YWEzYzkzNzAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDlUMTYwMjM3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NmI4OTk4MDNmNTMxODg3OGJlYmExMmY4OGY5OTRlODRjNGQ5ZDhiY2RlNDhkNDYyOTdkZTU3OWJlNDUyMDg4MyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.3n5YMD507OH2dMrax933F5B1-hbT8esJS-wIEd6BkFo)
Popup
![Screenshot 2025-01-29 at 4 38 16 PM](https://private-user-images.githubusercontent.com/5605859/407957798-fc819ef6-ad75-4e59-9217-47b97c965b41.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMTcyNTcsIm5iZiI6MTczOTExNjk1NywicGF0aCI6Ii81NjA1ODU5LzQwNzk1Nzc5OC1mYzgxOWVmNi1hZDc1LTRlNTktOTIxNy00N2I5N2M5NjViNDEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDlUMTYwMjM3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Mjk4M2QxZTI2N2I4M2VjZDcwMzAyM2U2N2I5OTk1ZmNiMjBlMTI2NDYwZmVlMzJhMTUwZmM0Y2ZjODlmZjliNCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.QmXz7YFL4r-bdTX9OnL434tO2PEFLLT3XgGjqHyMnTs)
Real-Time Session State Updates
Screen.Recording.2025-01-29.at.4.38.32.PM.mov