diff --git a/src/SharpIDE.Photino/Components/ProblemsPanel.razor b/src/SharpIDE.Photino/Components/ProblemsPanel.razor new file mode 100644 index 0000000..043a379 --- /dev/null +++ b/src/SharpIDE.Photino/Components/ProblemsPanel.razor @@ -0,0 +1,9 @@ +@using SharpIDE.Application.Features.SolutionDiscovery.VsPersistence + + + + +@code { + [Parameter, EditorRequired] + public SharpIdeSolutionModel SolutionModel { get; set; } = null!; +} diff --git a/src/SharpIDE.Photino/Layout/MainLayout.razor b/src/SharpIDE.Photino/Layout/MainLayout.razor index 5babd1a..67703f9 100644 --- a/src/SharpIDE.Photino/Layout/MainLayout.razor +++ b/src/SharpIDE.Photino/Layout/MainLayout.razor @@ -54,6 +54,7 @@ + @@ -80,6 +81,9 @@
@if (_solutionFilePath is not null) { + + + @@ -107,6 +111,7 @@ private string MainContentHeight => _bottomDrawerOpen ? "70%" : "100%"; + private void ClickProblemsPanel() => SwitchOrToggleBottomPanel(BottomPanelType.Problems); private void ClickRunPanel() => SwitchOrToggleBottomPanel(BottomPanelType.Run); private void ClickBuildPanel() => SwitchOrToggleBottomPanel(BottomPanelType.Build); private void SwitchOrToggleBottomPanel(BottomPanelType bottomPanelType) diff --git a/src/SharpIDE.Photino/Models/BottomPanelType.cs b/src/SharpIDE.Photino/Models/BottomPanelType.cs index 036dad6..aba6cbe 100644 --- a/src/SharpIDE.Photino/Models/BottomPanelType.cs +++ b/src/SharpIDE.Photino/Models/BottomPanelType.cs @@ -3,5 +3,6 @@ public enum BottomPanelType { Run, - Build + Build, + Problems }