Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,50 +1,32 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RuntimeIdentifiers>win-x64;linux-x64;osx-x64</RuntimeIdentifiers>
<AvaloniaUseCompiledBindingsByDefault>false</AvaloniaUseCompiledBindingsByDefault>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RuntimeIdentifiers>win-x64;linux-x64;osx-x64</RuntimeIdentifiers>
<AvaloniaUseCompiledBindingsByDefault>false</AvaloniaUseCompiledBindingsByDefault>
</PropertyGroup>

<ItemGroup>
<!--Avalonia-->
<PackageReference Include="Avalonia" Version="11.3.2" />
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.3.2" />
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.3.2" />
<!--Avalonia Extras-->
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0" />
<PackageReference Include="FluentAvaloniaUI" Version="2.4.0" />
<!--Avalonia Behaviors-->
<PackageReference Include="Xaml.Behaviors.Avalonia" Version="11.3.2" />
<PackageReference Include="Xaml.Behaviors.Interactivity" Version="11.3.2" />
<!--Dependency Injection-->
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.7" />
<!--Configuration-->
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="9.0.7" />
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="9.0.7" />
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="9.0.7" />
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="9.0.7" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="9.0.7" />
<!--Logging-->
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.7" />
<PackageReference Include="Serilog" Version="4.3.0" />
<PackageReference Include="Serilog.Extensions.Logging" Version="9.0.2" />
<PackageReference Include="Serilog.Sinks.Console" Version="6.0.0" />
<PackageReference Include="Serilog.Sinks.File" Version="7.0.0" />
</ItemGroup>
<ItemGroup>
<!--Avalonia-->
<PackageReference Include="Avalonia" Version="11.3.2" />
<!--Avalonia Extras-->
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0" />
<PackageReference Include="FluentAvaloniaUI" Version="2.4.0" />
</ItemGroup>

<ItemGroup>
<AvaloniaResource Include="Assets\ic_fluent_chat_24_regular.png" />
<AvaloniaResource Include="Assets\ic_fluent_link_24_filled.png" />
<AvaloniaResource Include="Assets\ic_fluent_link_dismiss_24_filled.png" />
<AvaloniaResource Include="Styles\Icons.axaml" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\PlugHub.Shared\PlugHub.Shared.csproj" />
<ProjectReference Include="..\PlugHub.Shared.Mock\PlugHub.Shared.Mock.csproj" />
</ItemGroup>
<ItemGroup>
<AvaloniaResource Include="Assets\ic_fluent_chat_24_regular.png" />
<AvaloniaResource Include="Assets\ic_fluent_link_24_filled.png" />
<AvaloniaResource Include="Assets\ic_fluent_link_dismiss_24_filled.png" />
<AvaloniaResource Include="Assets\alien-bob.png" />
<AvaloniaResource Include="Styles\Icons.axaml" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\PlugHub.Shared\PlugHub.Shared.csproj" />
<ProjectReference Include="..\PlugHub.Shared.Mock\PlugHub.Shared.Mock.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,10 @@ public IEnumerable<PluginAppEnvDescriptor> GetAppEnvDescriptors()
DescriptorID: Guid.Parse("ba543295-88e8-474a-b370-74594dcc76a8"),
Version: Version,
AppEnv: liveAppEnv => {
liveAppEnv.AppName = "👽 MockHub 👽";
liveAppEnv.WindowTitle = "MockHub";
liveAppEnv.WindowIconPath = "avares://PlugHub.Plugin.Mock/Assets/alien-bob.png";
liveAppEnv.AppName = "MockHub";
liveAppEnv.AppIconPath = "avares://PlugHub.Plugin.Mock/Assets/alien-bob.png";
},
LoadBefore: [],
LoadAfter: [],
Expand Down
30 changes: 14 additions & 16 deletions PlugHub.Plugins/Diagnostics/PlugHub.Plugin.Mock/Styles/Icons.axaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
<Styles xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Design.PreviewWith>
<Border Padding="20">
<!-- Add Controls for Previewer Here -->
</Border>
</Design.PreviewWith>
<Design.PreviewWith>
<Border Padding="20">
<!-- Add Controls for Previewer Here -->
</Border>
</Design.PreviewWith>

<Style>
<Style.Resources>
<!-- Icon Geometries -->
<StreamGeometry x:Key="tab_desktop_new_page_regular">M7 12C7.55228 12 8 11.5523 8 11C8 10.4477 7.55228 10 7 10C6.44772 10 6 10.4477 6 11C6 11.5523 6.44772 12 7 12Z M11 11C11 11.5523 10.5523 12 10 12C9.44772 12 9 11.5523 9 11C9 10.4477 9.44772 10 10 10C10.5523 10 11 10.4477 11 11Z M13 12C13.5523 12 14 11.5523 14 11C14 10.4477 13.5523 10 13 10C12.4477 10 12 10.4477 12 11C12 11.5523 12.4477 12 13 12Z M3 5.5C3 4.11929 4.11929 3 5.5 3H14.5C15.8807 3 17 4.11929 17 5.5V14.5C17 15.8807 15.8807 17 14.5 17H5.5C4.11929 17 3 15.8807 3 14.5V5.5ZM5.5 4C4.67157 4 4 4.67157 4 5.5V14.5C4 15.3284 4.67157 16 5.5 16H14.5C15.3284 16 16 15.3284 16 14.5V7H9.5C8.67157 7 8 6.32843 8 5.5V4H5.5ZM16 5.5C16 4.67157 15.3284 4 14.5 4H9V5.5C9 5.77614 9.22386 6 9.5 6H16V5.5Z</StreamGeometry>
<StreamGeometry x:Key="edit_settings_regular">M21.0304 2.96967C22.4279 4.36713 22.4279 6.63286 21.0304 8.03033L18.386 10.6742C17.8921 10.429 17.3626 10.2449 16.8073 10.1315L17.9393 8.99957L15.0003 6.06057L5.0621 15.9987C4.96981 16.0909 4.9032 16.2057 4.86886 16.3316L3.81901 20.1811L7.66845 19.1312C7.79437 19.0969 7.90915 19.0303 8.00144 18.938L9.13159 17.8072C9.24502 18.3628 9.42932 18.8925 9.67463 19.3866L9.0621 19.9987C8.78522 20.2755 8.44089 20.4754 8.06312 20.5784L2.94743 21.9736C2.38756 22.1263 1.87383 21.6125 2.02652 21.0527L3.42171 15.937C3.52474 15.5592 3.72456 15.2149 4.00144 14.938L15.9698 2.96967C17.3672 1.5722 19.633 1.5722 21.0304 2.96967ZM15.5001 11C15.7932 11 16.0807 11.0245 16.3609 11.0717L16.5342 11.7878C16.7932 12.8616 17.8736 13.5221 18.9474 13.2631L19.0452 13.2369L19.6463 13.058C20.0088 13.525 20.2992 14.0546 20.4999 14.6285L20.0527 15.0588C19.2986 15.7844 19.237 16.9589 19.8838 17.7573L20.0252 17.9142L20.4999 18.3715C20.2994 18.945 20.0092 19.4742 19.647 19.941L19.0452 19.7631C17.9859 19.4501 16.8734 20.0551 16.5604 21.1144L16.5342 21.2122L16.3609 21.9282C16.0807 21.9755 15.7932 22 15.5001 22C15.2067 22 14.9189 21.9754 14.6384 21.9281L14.466 21.2122C14.207 20.1384 13.1266 19.4779 12.0528 19.7369L11.955 19.7631L11.3532 19.941C10.991 19.4742 10.7008 18.945 10.5003 18.3715L10.9475 17.9412C11.7435 17.1753 11.7678 15.9092 11.002 15.1133L10.9475 15.0588L10.5003 14.6285C10.7008 14.055 10.991 13.5258 11.3532 13.059L11.955 13.2369C13.0143 13.5499 14.1268 12.9449 14.4398 11.8856L14.466 11.7878L14.6384 11.0719C14.9189 11.0246 15.2067 11 15.5001 11ZM15.5001 15C14.6995 15 14.0504 15.6716 14.0504 16.5C14.0504 17.3284 14.6995 18 15.5001 18C16.3007 18 16.9498 17.3284 16.9498 16.5C16.9498 15.6716 16.3007 15 15.5001 15ZM17.0304 4.03033L16.0603 4.99957L18.9993 7.93957L19.9698 6.96967C20.7814 6.15799 20.7814 4.842 19.9698 4.03033C19.1581 3.21865 17.8421 3.21865 17.0304 4.03033Z</StreamGeometry>
<StreamGeometry x:Key="error_circle_regular">M12,2 C17.523,2 22,6.478 22,12 C22,17.522 17.523,22 12,22 C6.477,22 2,17.522 2,12 C2,6.478 6.477,2 12,2 Z M12,3.667 C7.405,3.667 3.667,7.405 3.667,12 C3.667,16.595 7.405,20.333 12,20.333 C16.595,20.333 20.333,16.595 20.333,12 C20.333,7.405 16.595,3.667 12,3.667 Z M11.9986626,14.5022358 C12.5502088,14.5022358 12.9973253,14.9493523 12.9973253,15.5008984 C12.9973253,16.0524446 12.5502088,16.4995611 11.9986626,16.4995611 C11.4471165,16.4995611 11,16.0524446 11,15.5008984 C11,14.9493523 11.4471165,14.5022358 11.9986626,14.5022358 Z M11.9944624,7 C12.3741581,6.99969679 12.6881788,7.28159963 12.7381342,7.64763535 L12.745062,7.7494004 L12.7486629,12.2509944 C12.7489937,12.6652079 12.4134759,13.0012627 11.9992625,13.0015945 C11.6195668,13.0018977 11.3055461,12.7199949 11.2555909,12.3539592 L11.2486629,12.2521941 L11.245062,7.7506001 C11.2447312,7.33638667 11.580249,7.00033178 11.9944624,7 Z</StreamGeometry>
<StreamGeometry x:Key="share_stop_regular">M23.75,4.99939 C24.940825,4.99939 25.9156417,5.92455222 25.994809,7.09534127 L26,7.24939 L26,20.75 C26,21.940825 25.074801,22.9156417 23.9040441,22.994809 L23.75,23 L4.25,23 C3.05913667,23 2.08435514,22.074801 2.00519082,20.9040441 L2,20.75 L2,7.24939 C2,6.05852667 2.92516222,5.08374514 4.09595127,5.00458082 L4.25,4.99939 L23.75,4.99939 Z M23.75,6.49939 L4.25,6.49939 C3.8703075,6.49939 3.55650958,6.78154688 3.50684668,7.14762019 L3.5,7.24939 L3.5,20.75 C3.5,21.1296833 3.78215688,21.4434889 4.14823019,21.4931531 L4.25,21.5 L23.75,21.5 C24.1296833,21.5 24.4434889,21.2178347 24.4931531,20.8517677 L24.5,20.75 L24.5,7.24939 C24.5,6.8696975 24.2178347,6.55589958 23.8517677,6.50623668 L23.75,6.49939 Z M10.2174,10.2175 C10.4836727,9.95120909 10.9003587,9.92700083 11.1939793,10.1448752 L11.2781,10.2175 L13.9985,12.9379 L16.7227,10.2212 C17.016,9.92876 17.4908,9.92942 17.7833,10.2227 C18.0492091,10.4893364 18.0728041,10.9060554 17.8545359,11.1993784 L17.7818,11.2834 L15.0591,13.9985 L17.7826,16.722 C18.0755,17.0149 18.0755,17.4897 17.7826,17.7826 C17.5163273,18.0488727 17.0996413,18.0730793 16.8060207,17.8552198 L16.7219,17.7826 L13.9981,15.0588 L11.2784,17.7823 C10.9858,18.0754 10.5109,18.0757 10.2178,17.783 C9.95132727,17.5169091 9.92682975,17.1002397 10.1444502,16.8065455 L10.217,16.7224 L12.9374,13.9982 L10.2174,11.2781 C9.92452,10.9852 9.92452,10.5104 10.2174,10.2175 Z</StreamGeometry>
<StreamGeometry x:Key="link_regular">M34,14 C39.5228475,14 44,18.4771525 44,24 C44,29.4292399 39.6733292,33.8479317 34.2799048,33.9961582 L34,34 L28.25,34 C27.5596441,34 27,33.4403559 27,32.75 C27,32.1027913 27.4918747,31.5704661 28.1221948,31.5064536 L28.25,31.5 L34,31.5 C38.1421356,31.5 41.5,28.1421356 41.5,24 C41.5,19.9390827 38.2725256,16.6319825 34.2427311,16.5038536 L34,16.5 L28.25,16.5 C27.5596441,16.5 27,15.9403559 27,15.25 C27,14.6027913 27.4918747,14.0704661 28.1221948,14.0064536 L28.25,14 L34,14 Z M19.75,14 C20.4403559,14 21,14.5596441 21,15.25 C21,15.8972087 20.5081253,16.4295339 19.8778052,16.4935464 L19.75,16.5 L14,16.5 C9.85786438,16.5 6.5,19.8578644 6.5,24 C6.5,28.0609173 9.72747441,31.3680175 13.7572689,31.4961464 L14,31.5 L19.75,31.5 C20.4403559,31.5 21,32.0596441 21,32.75 C21,33.3972087 20.5081253,33.9295339 19.8778052,33.9935464 L19.75,34 L14,34 C8.4771525,34 4,29.5228475 4,24 C4,18.5707601 8.32667079,14.1520683 13.7200952,14.0038418 L14,14 L19.75,14 Z M13,22.75 L35,22.75 C35.6903559,22.75 36.25,23.3096441 36.25,24 C36.25,24.6472087 35.7581253,25.1795339 35.1278052,25.2435464 L35,25.25 L13,25.25 C12.3096441,25.25 11.75,24.6903559 11.75,24 C11.75,23.3527913 12.2418747,22.8204661 12.8721948,22.7564536 L13,22.75 L35,22.75 L13,22.75 Z</StreamGeometry>
</Style.Resources>
</Style>
<Style>
<Style.Resources>
<!-- Icon Geometries -->
<StreamGeometry x:Key="tab_desktop_new_page_regular">M7 12C7.55228 12 8 11.5523 8 11C8 10.4477 7.55228 10 7 10C6.44772 10 6 10.4477 6 11C6 11.5523 6.44772 12 7 12Z M11 11C11 11.5523 10.5523 12 10 12C9.44772 12 9 11.5523 9 11C9 10.4477 9.44772 10 10 10C10.5523 10 11 10.4477 11 11Z M13 12C13.5523 12 14 11.5523 14 11C14 10.4477 13.5523 10 13 10C12.4477 10 12 10.4477 12 11C12 11.5523 12.4477 12 13 12Z M3 5.5C3 4.11929 4.11929 3 5.5 3H14.5C15.8807 3 17 4.11929 17 5.5V14.5C17 15.8807 15.8807 17 14.5 17H5.5C4.11929 17 3 15.8807 3 14.5V5.5ZM5.5 4C4.67157 4 4 4.67157 4 5.5V14.5C4 15.3284 4.67157 16 5.5 16H14.5C15.3284 16 16 15.3284 16 14.5V7H9.5C8.67157 7 8 6.32843 8 5.5V4H5.5ZM16 5.5C16 4.67157 15.3284 4 14.5 4H9V5.5C9 5.77614 9.22386 6 9.5 6H16V5.5Z</StreamGeometry>
<StreamGeometry x:Key="book_question_mark_regular">M10.9998 8.01752C10.9905 8.42363 10.6584 8.74999 10.25 8.74999C9.5 8.74999 9.5 7.9989 9.5 7.9989L9.5 7.99777L9.50001 7.99539L9.50006 7.99017C9.50032 7.9755 9.50072 7.96084 9.50144 7.94618C9.50262 7.92198 9.50473 7.89159 9.50846 7.8559C9.51591 7.78477 9.52996 7.69092 9.55665 7.58186C9.60973 7.36492 9.71565 7.07652 9.92848 6.78906C10.3825 6.17582 11.1982 5.72727 12.513 5.7501C13.4627 5.76659 14.3059 6.16497 14.834 6.82047C15.371 7.48704 15.5517 8.3902 15.1964 9.27853C14.8342 10.1839 14.0149 10.5437 13.5442 10.7503L13.4932 10.7728C13.2147 10.8957 13.0813 10.9599 13.0013 11.024L13 11.0251L13 11.7492C13.0001 12.1634 12.6643 12.4999 12.2501 12.5C11.8359 12.5 11.5001 12.1643 11.5 11.7501L11.5 11C11.5 10.4769 11.752 10.1029 12.0633 9.85345C12.3134 9.65303 12.6276 9.51483 12.8491 9.4174L12.8875 9.40049C13.4292 9.16137 13.6868 9.01346 13.8036 8.72145C13.9483 8.35977 13.8789 8.02596 13.6659 7.76153C13.4439 7.48604 13.0371 7.25943 12.487 7.24988C11.5518 7.23364 11.2425 7.53509 11.134 7.68162C11.0656 7.77404 11.0309 7.86797 11.0137 7.93838C11.0052 7.973 11.0017 7.99908 11.0003 8.01197L10.9998 8.01752Z M12.25 15.5C12.8023 15.5 13.25 15.0523 13.25 14.5C13.25 13.9477 12.8023 13.5 12.25 13.5C11.6977 13.5 11.25 13.9477 11.25 14.5C11.25 15.0523 11.6977 15.5 12.25 15.5Z M4 4.5C4 3.11929 5.11929 2 6.5 2H18C19.3807 2 20.5 3.11929 20.5 4.5V18.75C20.5 19.1642 20.1642 19.5 19.75 19.5H5.5C5.5 20.0523 5.94772 20.5 6.5 20.5H19.75C20.1642 20.5 20.5 20.8358 20.5 21.25C20.5 21.6642 20.1642 22 19.75 22H6.5C5.11929 22 4 20.8807 4 19.5V4.5ZM5.5 4.5V18H19V4.5C19 3.94772 18.5523 3.5 18 3.5H6.5C5.94772 3.5 5.5 3.94772 5.5 4.5Z</StreamGeometry>
<StreamGeometry x:Key="chat_regular">M14.0038862,2.5 C20.3551608,2.5 25.5038862,7.64872538 25.5038862,14 C25.5038862,20.3512746 20.3551608,25.5 14.0038862,25.5 C12.0828262,25.5 10.2289934,25.0277557 8.57453454,24.1400553 L4.06949813,25.4927799 C3.40830889,25.6913248 2.71135661,25.3162775 2.51281166,24.6550883 C2.44236748,24.4204969 2.44239769,24.1703786 2.5128929,23.935823 L3.86597493,19.4333464 C2.97690068,17.777898 2.50388618,15.9226229 2.50388618,14 C2.50388618,7.64872538 7.65261155,2.5 14.0038862,2.5 Z M14.0038862,4 C8.48103868,4 4.00388618,8.4771525 4.00388618,14 C4.00388618,15.7703119 4.46384891,17.4718347 5.32571954,18.9725127 L5.48656853,19.2525809 L4.08316234,23.9225148 L8.75512584,22.5196672 L9.03501121,22.6802549 C10.5348218,23.5407899 12.2350195,24 14.0038862,24 C19.5267337,24 24.0038862,19.5228475 24.0038862,14 C24.0038862,8.4771525 19.5267337,4 14.0038862,4 Z M10.2538862,15.5 L14.7521489,15.5 C15.1663625,15.5 15.5021489,15.8357864 15.5021489,16.25 C15.5021489,16.6296958 15.219995,16.943491 14.8539195,16.9931534 L14.7521489,17 L10.2538862,17 C9.83967261,17 9.50388618,16.6642136 9.50388618,16.25 C9.50388618,15.8703042 9.78604006,15.556509 10.1521156,15.5068466 L10.2538862,15.5 L14.7521489,15.5 L10.2538862,15.5 Z M10.2538862,11 L17.7583662,11 C18.1725798,11 18.5083662,11.3357864 18.5083662,11.75 C18.5083662,12.1296958 18.2262123,12.443491 17.8601368,12.4931534 L17.7583662,12.5 L10.2538862,12.5 C9.83967261,12.5 9.50388618,12.1642136 9.50388618,11.75 C9.50388618,11.3703042 9.78604006,11.056509 10.1521156,11.0068466 L10.2538862,11 L17.7583662,11 L10.2538862,11 Z</StreamGeometry>
</Style.Resources>
</Style>

</Styles>
</Styles>
Loading