mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-13 22:13:47 +00:00
Added detailed plugin information to the plugins page (#1013)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
b371b3d54f
commit
f912af321f
26 files changed
+884
-95
No files matched your search
@@ -0,0 +1,28 @@
|
||||
using Microsoft.AspNetCore.Components;
|
||||
|
||||
namespace AIStudio.Components;
|
||||
|
||||
/// <summary>
|
||||
/// Opens a link from the metadata of a plugin: a website in the browser, or a new mail in the mail
|
||||
/// program.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The button only appears when there is something to open. A support contact may be plain text, such as
|
||||
/// a name or a phone number, and the links which the Assistant Builder fills in for every plugin tell
|
||||
/// nothing about the plugin itself. A disabled button would only leave the user wondering why it cannot
|
||||
/// be clicked.
|
||||
/// </remarks>
|
||||
public partial class PluginLinkButton : MSGComponentBase
|
||||
{
|
||||
/// <summary>
|
||||
/// The text to link, as the plugin states it.
|
||||
/// </summary>
|
||||
[Parameter, EditorRequired]
|
||||
public string Url { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// The size of the button.
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
public Size Size { get; set; } = Size.Medium;
|
||||
}
|
||||
Reference in new issue
Block a user