mirror of
				https://github.com/MindWorkAI/AI-Studio.git
				synced 2025-11-04 04:20:20 +00:00 
			
		
		
		
	
		
			Some checks are pending
		
		
	
	Build and Release / Read metadata (push) Waiting to run
				
			Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-apple-darwin, osx-arm64, macos-latest, aarch64-apple-darwin, dmg updater) (push) Blocked by required conditions
				
			Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-pc-windows-msvc.exe, win-arm64, windows-latest, aarch64-pc-windows-msvc, nsis updater) (push) Blocked by required conditions
				
			Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-apple-darwin, osx-x64, macos-latest, x86_64-apple-darwin, dmg updater) (push) Blocked by required conditions
				
			Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-pc-windows-msvc.exe, win-x64, windows-latest, x86_64-pc-windows-msvc, nsis updater) (push) Blocked by required conditions
				
			Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-unknown-linux-gnu, linux-x64, ubuntu-22.04, x86_64-unknown-linux-gnu, appimage deb updater) (push) Blocked by required conditions
				
			Build and Release / Build app (linux-arm64) (push) Blocked by required conditions
				
			Build and Release / Prepare & create release (push) Blocked by required conditions
				
			Build and Release / Publish release (push) Blocked by required conditions
				
			
		
			
				
	
	
		
			52 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			52 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
@inherits SettingsPanelBase
 | 
						|
 | 
						|
<ExpansionPanel HeaderIcon="@Icons.Material.Filled.Person4" HeaderText="Configure Profiles">
 | 
						|
    <MudText Typo="Typo.h4" Class="mb-3">Your Profiles</MudText>
 | 
						|
    <MudJustifiedText Typo="Typo.body1" Class="mb-3">
 | 
						|
        Store personal data about yourself in various profiles so that the AIs know your personal context.
 | 
						|
        This saves you from having to explain your context each time, for example, in every chat. When you
 | 
						|
        have different roles, you can create a profile for each role.
 | 
						|
    </MudJustifiedText>
 | 
						|
 | 
						|
    <MudJustifiedText Typo="Typo.body1" Class="mb-3">
 | 
						|
        Are you a project manager in a research facility? You might want to create a profile for your project
 | 
						|
        management activities, one for your scientific work, and a profile for when you need to write program
 | 
						|
        code. In these profiles, you can record how much experience you have or which methods you like or
 | 
						|
        dislike using. Later, you can choose when and where you want to use each profile.
 | 
						|
    </MudJustifiedText>
 | 
						|
    <MudTable Items="@this.SettingsManager.ConfigurationData.Profiles" Hover="@true" Class="border-dashed border rounded-lg">
 | 
						|
        <ColGroup>
 | 
						|
            <col style="width: 3em;"/>
 | 
						|
            <col/>
 | 
						|
            <col style="width: 40em;"/>
 | 
						|
        </ColGroup>
 | 
						|
        <HeaderContent>
 | 
						|
            <MudTh>#</MudTh>
 | 
						|
            <MudTh>Profile Name</MudTh>
 | 
						|
            <MudTh>Actions</MudTh>
 | 
						|
        </HeaderContent>
 | 
						|
        <RowTemplate>
 | 
						|
            <MudTd>@context.Num</MudTd>
 | 
						|
            <MudTd>@context.Name</MudTd>
 | 
						|
            <MudTd>
 | 
						|
                <MudStack Row="true" Class="mb-2 mt-2" Wrap="Wrap.Wrap">
 | 
						|
                    <MudButton Variant="Variant.Filled" Color="Color.Info" StartIcon="@Icons.Material.Filled.Edit" OnClick="() => this.EditProfile(context)">
 | 
						|
                        Edit
 | 
						|
                    </MudButton>
 | 
						|
                    <MudButton Variant="Variant.Filled" Color="Color.Error" StartIcon="@Icons.Material.Filled.Delete" OnClick="() => this.DeleteProfile(context)">
 | 
						|
                        Delete
 | 
						|
                    </MudButton>
 | 
						|
                </MudStack>
 | 
						|
            </MudTd>
 | 
						|
        </RowTemplate>
 | 
						|
    </MudTable>
 | 
						|
 | 
						|
    @if(this.SettingsManager.ConfigurationData.Profiles.Count == 0)
 | 
						|
    {
 | 
						|
        <MudText Typo="Typo.h6" Class="mt-3">No profiles configured yet.</MudText>
 | 
						|
    }
 | 
						|
 | 
						|
    <MudButton Variant="Variant.Filled" Color="@Color.Primary" StartIcon="@Icons.Material.Filled.AddRoad" Class="mt-3 mb-6" OnClick="@this.AddProfile">
 | 
						|
        Add Profile
 | 
						|
    </MudButton>
 | 
						|
</ExpansionPanel> |