diff --git a/.gitignore b/.gitignore index 7d2be36..000e689 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /bin/* /obj/* +/.vs/* diff --git a/.vs/AuthorBuddy.Web.slnx/FileContentIndex/022cc7de-d0a9-44a3-b418-cc6014f757b7.vsidx b/.vs/AuthorBuddy.Web.slnx/FileContentIndex/022cc7de-d0a9-44a3-b418-cc6014f757b7.vsidx deleted file mode 100644 index a89c6b3..0000000 Binary files a/.vs/AuthorBuddy.Web.slnx/FileContentIndex/022cc7de-d0a9-44a3-b418-cc6014f757b7.vsidx and /dev/null differ diff --git a/.vs/AuthorBuddy.Web.slnx/FileContentIndex/81a60a76-7785-43f5-8fdf-42f9a2ae5d73.vsidx b/.vs/AuthorBuddy.Web.slnx/FileContentIndex/81a60a76-7785-43f5-8fdf-42f9a2ae5d73.vsidx deleted file mode 100644 index 106f133..0000000 Binary files a/.vs/AuthorBuddy.Web.slnx/FileContentIndex/81a60a76-7785-43f5-8fdf-42f9a2ae5d73.vsidx and /dev/null differ diff --git a/.vs/AuthorBuddy.Web.slnx/FileContentIndex/afd9a883-4f98-4088-ba2a-3fe915fad1ab.vsidx b/.vs/AuthorBuddy.Web.slnx/FileContentIndex/afd9a883-4f98-4088-ba2a-3fe915fad1ab.vsidx deleted file mode 100644 index bb690eb..0000000 Binary files a/.vs/AuthorBuddy.Web.slnx/FileContentIndex/afd9a883-4f98-4088-ba2a-3fe915fad1ab.vsidx and /dev/null differ diff --git a/.vs/AuthorBuddy.Web.slnx/v18/DocumentLayout.backup.json b/.vs/AuthorBuddy.Web.slnx/v18/DocumentLayout.backup.json index 1bdeed5..0f355bc 100644 --- a/.vs/AuthorBuddy.Web.slnx/v18/DocumentLayout.backup.json +++ b/.vs/AuthorBuddy.Web.slnx/v18/DocumentLayout.backup.json @@ -18,8 +18,16 @@ "DocumentGroups": [ { "DockedWidth": 200, - "SelectedChildIndex": 0, + "SelectedChildIndex": 2, "Children": [ + { + "$type": "Bookmark", + "Name": "ST:0:0:{cce594b6-0c39-4442-ba28-10c64ac7e89f}" + }, + { + "$type": "Bookmark", + "Name": "ST:0:0:{aa2115a1-9712-457b-9047-dbb71ca2cdd2}" + }, { "$type": "Document", "DocumentIndex": 0, @@ -45,14 +53,6 @@ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001642|", "WhenOpened": "2026-05-14T10:14:25.605Z", "EditorCaption": "" - }, - { - "$type": "Bookmark", - "Name": "ST:0:0:{cce594b6-0c39-4442-ba28-10c64ac7e89f}" - }, - { - "$type": "Bookmark", - "Name": "ST:0:0:{aa2115a1-9712-457b-9047-dbb71ca2cdd2}" } ] } diff --git a/.vs/AuthorBuddy.Web.slnx/v18/DocumentLayout.json b/.vs/AuthorBuddy.Web.slnx/v18/DocumentLayout.json index 0f355bc..bba768b 100644 --- a/.vs/AuthorBuddy.Web.slnx/v18/DocumentLayout.json +++ b/.vs/AuthorBuddy.Web.slnx/v18/DocumentLayout.json @@ -3,12 +3,12 @@ "WorkspaceRootPath": "E:\\ollama_net\\ollama\\AuthorBuddy.Web\\", "Documents": [ { - "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|E:\\ollama_net\\ollama\\AuthorBuddy.Web\\AuthorBuddy.Web.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}", - "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:AuthorBuddy.Web.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}" + "AbsoluteMoniker": "D:0:0:{4F4697EF-EFFA-26AC-C8A1-C9859805D247}|AuthorBuddy.Web.csproj|e:\\ollama_net\\ollama\\authorbuddy.web\\authorbuddy.web.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}", + "RelativeMoniker": "D:0:0:{4F4697EF-EFFA-26AC-C8A1-C9859805D247}|AuthorBuddy.Web.csproj|solutionrelative:authorbuddy.web.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}" }, { - "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|E:\\ollama_net\\ollama\\AuthorBuddy.Web\\appsettings.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}", - "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:appsettings.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}" + "AbsoluteMoniker": "D:0:0:{4F4697EF-EFFA-26AC-C8A1-C9859805D247}|AuthorBuddy.Web.csproj|e:\\ollama_net\\ollama\\authorbuddy.web\\appsettings.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}", + "RelativeMoniker": "D:0:0:{4F4697EF-EFFA-26AC-C8A1-C9859805D247}|AuthorBuddy.Web.csproj|solutionrelative:appsettings.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}" } ], "DocumentGroupContainers": [ @@ -18,12 +18,8 @@ "DocumentGroups": [ { "DockedWidth": 200, - "SelectedChildIndex": 2, + "SelectedChildIndex": 1, "Children": [ - { - "$type": "Bookmark", - "Name": "ST:0:0:{cce594b6-0c39-4442-ba28-10c64ac7e89f}" - }, { "$type": "Bookmark", "Name": "ST:0:0:{aa2115a1-9712-457b-9047-dbb71ca2cdd2}" @@ -51,8 +47,7 @@ "RelativeToolTip": "appsettings.json", "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001642|", - "WhenOpened": "2026-05-14T10:14:25.605Z", - "EditorCaption": "" + "WhenOpened": "2026-05-14T10:14:25.605Z" } ] } diff --git a/AuthorBuddy.Web.slnx b/AuthorBuddy.Web.slnx new file mode 100644 index 0000000..ac5de96 --- /dev/null +++ b/AuthorBuddy.Web.slnx @@ -0,0 +1,3 @@ + + + diff --git a/Components/Layout/MainLayout.razor b/Components/Layout/MainLayout.razor index 02ac5b6..4afa5ac 100644 --- a/Components/Layout/MainLayout.razor +++ b/Components/Layout/MainLayout.razor @@ -52,21 +52,33 @@ @if (activeSection == "projects") { } @@ -89,6 +101,7 @@ @code { private string? activeSection; + private bool showProjectList; private List? projects; private string statusText = "Bereit"; private bool isBusy; diff --git a/wwwroot/app.css b/wwwroot/app.css index c40d247..93bcca8 100644 --- a/wwwroot/app.css +++ b/wwwroot/app.css @@ -78,6 +78,27 @@ body { color: var(--border-color); } +.nav-item-toggle { + display: flex; + align-items: center; + gap: 4px; + font-weight: bold; +} + +.nav-item-toggle .nav-icon { + font-size: 10px; + width: 12px; +} + +.nav-sublist { + padding-left: 8px; +} + +.nav-item-sub { + padding: 4px 16px; + font-size: 12px; +} + /* Status bar */ .status-bar { background: var(--status-bar-bg);