mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
Feature flag out the workshop
This commit is contained in:
parent
44691dd5a8
commit
1c438be158
@ -43,28 +43,4 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<AvaloniaResource Include="Assets\**" />
|
<AvaloniaResource Include="Assets\**" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<AdditionalFiles Include="Screens\Workshop\Layout\LayoutDetailsView.axaml" />
|
|
||||||
<AdditionalFiles Include="Screens\Workshop\Layout\LayoutListView.axaml" />
|
|
||||||
<AdditionalFiles Include="Screens\Workshop\Profile\ProfileDetailsView.axaml" />
|
|
||||||
<AdditionalFiles Include="Screens\Workshop\Profile\ProfileListView.axaml" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<UpToDateCheckInput Remove="Screens\Workshop\Categories\Profile\ProfileDetailsView.axaml" />
|
|
||||||
<UpToDateCheckInput Remove="Screens\Workshop\Categories\Profile\ProfileListView.axaml" />
|
|
||||||
<UpToDateCheckInput Remove="Controls\AcrylicBlur\AcrylicBlur.axaml" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<Compile Update="Screens\Workshop\Enries\EntryListView.axaml.cs">
|
|
||||||
<DependentUpon>ProfileListEntryView.axaml</DependentUpon>
|
|
||||||
<SubType>Code</SubType>
|
|
||||||
</Compile>
|
|
||||||
<Compile Update="Screens\Workshop\SubmissionWizard\SubmissionWizardView.axaml.cs">
|
|
||||||
<DependentUpon>StartupWizardView.axaml</DependentUpon>
|
|
||||||
<SubType>Code</SubType>
|
|
||||||
</Compile>
|
|
||||||
</ItemGroup>
|
|
||||||
</Project>
|
</Project>
|
||||||
@ -16,6 +16,7 @@ public static class Routes
|
|||||||
public static List<IRouterRegistration> ArtemisRoutes = new()
|
public static List<IRouterRegistration> ArtemisRoutes = new()
|
||||||
{
|
{
|
||||||
new RouteRegistration<HomeViewModel>("home"),
|
new RouteRegistration<HomeViewModel>("home"),
|
||||||
|
#if DEBUG
|
||||||
new RouteRegistration<WorkshopViewModel>("workshop")
|
new RouteRegistration<WorkshopViewModel>("workshop")
|
||||||
{
|
{
|
||||||
Children = new List<IRouterRegistration>()
|
Children = new List<IRouterRegistration>()
|
||||||
@ -26,6 +27,7 @@ public static class Routes
|
|||||||
new RouteRegistration<LayoutDetailsViewModel>("layouts/{entryId:guid}")
|
new RouteRegistration<LayoutDetailsViewModel>("layouts/{entryId:guid}")
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
#endif
|
||||||
new RouteRegistration<SurfaceEditorViewModel>("surface-editor"),
|
new RouteRegistration<SurfaceEditorViewModel>("surface-editor"),
|
||||||
new RouteRegistration<SettingsViewModel>("settings")
|
new RouteRegistration<SettingsViewModel>("settings")
|
||||||
{
|
{
|
||||||
|
|||||||
@ -39,11 +39,13 @@ public class SidebarViewModel : ActivatableViewModelBase
|
|||||||
SidebarScreen = new SidebarScreenViewModel(MaterialIconKind.Abacus, ROOT_SCREEN, "", null, new ObservableCollection<SidebarScreenViewModel>()
|
SidebarScreen = new SidebarScreenViewModel(MaterialIconKind.Abacus, ROOT_SCREEN, "", null, new ObservableCollection<SidebarScreenViewModel>()
|
||||||
{
|
{
|
||||||
new(MaterialIconKind.HomeOutline, "Home", "home"),
|
new(MaterialIconKind.HomeOutline, "Home", "home"),
|
||||||
|
#if DEBUG
|
||||||
new(MaterialIconKind.TestTube, "Workshop", "workshop", null, new ObservableCollection<SidebarScreenViewModel>
|
new(MaterialIconKind.TestTube, "Workshop", "workshop", null, new ObservableCollection<SidebarScreenViewModel>
|
||||||
{
|
{
|
||||||
new(MaterialIconKind.FolderVideo, "Profiles", "workshop/profiles/1", "workshop/profiles"),
|
new(MaterialIconKind.FolderVideo, "Profiles", "workshop/profiles/1", "workshop/profiles"),
|
||||||
new(MaterialIconKind.KeyboardVariant, "Layouts", "workshop/layouts/1", "workshop/layouts"),
|
new(MaterialIconKind.KeyboardVariant, "Layouts", "workshop/layouts/1", "workshop/layouts"),
|
||||||
}),
|
}),
|
||||||
|
#endif
|
||||||
new(MaterialIconKind.Devices, "Surface Editor", "surface-editor"),
|
new(MaterialIconKind.Devices, "Surface Editor", "surface-editor"),
|
||||||
new(MaterialIconKind.SettingsOutline, "Settings", "settings")
|
new(MaterialIconKind.SettingsOutline, "Settings", "settings")
|
||||||
});
|
});
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
<Styles.Resources>
|
<Styles.Resources>
|
||||||
<ResourceDictionary>
|
<ResourceDictionary>
|
||||||
<ResourceDictionary.MergedDictionaries>
|
<ResourceDictionary.MergedDictionaries>
|
||||||
<MergeResourceInclude Source="TreeView.axaml"></MergeResourceInclude>
|
<MergeResourceInclude Source="TreeView.axaml"/>
|
||||||
</ResourceDictionary.MergedDictionaries>
|
</ResourceDictionary.MergedDictionaries>
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
</Styles.Resources>
|
</Styles.Resources>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user