mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 04:47:21 +00:00
Added progress messages and quick access to exported files (#1112)
This commit is contained in:
1 parent
7f72da628e
commit
e0d8e18f34
33 files changed
+1130
-23
No files matched your search
@@ -0,0 +1,31 @@
|
||||
using Microsoft.AspNetCore.Components;
|
||||
|
||||
namespace AIStudio.Components;
|
||||
|
||||
/// <summary>
|
||||
/// The content of the notification that a file was exported, see DataFileExportSuccessMessage.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Taking one of the ways to the file leaves the notification open: whoever opened the file often
|
||||
/// wants to see it in its folder afterward, or the other way round.
|
||||
/// </remarks>
|
||||
public partial class FileExportSuccessMessage : MSGComponentBase
|
||||
{
|
||||
/// <summary>
|
||||
/// What was exported.
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
public string Message { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// The file which was written.
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
public string FilePath { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Whether the file may be opened with the default program.
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
public bool OffersOpening { get; set; }
|
||||
}
|
||||
Reference in new issue
Block a user