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

Add description field to kernelInfo #3399

Merged
merged 5 commits into from
Jan 4, 2024
Merged

Conversation

colombod
Copy link
Member

@colombod colombod commented Jan 4, 2024

This Pr adds support for description text on KernelInfo.
The description property is forwarded to ProxyKernels too.

Removed unused code with mermaid extension.

KernelInfo.Description = """
This Kernel can compile and execute C# code and display the results.
The language is C# Scripting, a dialect of C# that is used for interactive programming.
""";
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this displayed anywhere in the UI? Will we need to localize this description for users who are on other languages?

@shyamnamboodiripad
Copy link
Contributor

Should we add a description for the composite kernel created by the dotnet-interactive tool?

@colombod
Copy link
Member Author

colombod commented Jan 4, 2024 via email

@colombod colombod merged commit 679b09d into dotnet:main Jan 4, 2024
4 checks passed
@shyamnamboodiripad
Copy link
Contributor

... I added already the description to the composite kernel in the extension and on js and html kernels too

Ah I was referring to the composite kernel that is created in this method. Not super important though - we can always add it later.

@colombod colombod deleted the Add_description branch January 4, 2024 21:50
@colombod
Copy link
Member Author

colombod commented Jan 5, 2024

That composite kernel (like the one in the dotnet tool) doesn't do anything special besides routing, there is no need for custom description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants