From 482d2150ab5aa4a432705da39a5980899e35330d Mon Sep 17 00:00:00 2001 From: Flaky Date: Mon, 20 Apr 2026 14:46:42 +0100 Subject: [PATCH] move dialogs and windows into dedicated folders --- UI/TagHierarchyManager.UI.csproj | 95 ++++++++++++++----- UI/Views/{ => Dialogs}/DeleteTagDialog.axaml | 0 .../{ => Dialogs}/DeleteTagDialog.axaml.cs | 0 UI/Views/{ => Dialogs}/ErrorDialog.axaml | 0 UI/Views/{ => Dialogs}/ErrorDialog.axaml.cs | 0 UI/Views/{ => Dialogs}/ImportDialog.axaml | 0 UI/Views/{ => Dialogs}/ImportDialog.axaml.cs | 0 .../{ => Dialogs}/UnsavedCancelDialog.axaml | 0 .../UnsavedCancelDialog.axaml.cs | 0 .../{ => Dialogs}/UnsavedChangesDialog.axaml | 0 .../UnsavedChangesDialog.axaml.cs | 0 UI/Views/{ => Windows}/AboutWindow.axaml | 0 UI/Views/{ => Windows}/AboutWindow.axaml.cs | 0 UI/Views/{ => Windows}/BulkAddWindow.axaml | 0 UI/Views/{ => Windows}/BulkAddWindow.axaml.cs | 0 .../DatabaseSettingsWindow.axaml | 0 .../DatabaseSettingsWindow.axaml.cs | 0 UI/Views/{ => Windows}/MainWindow.axaml | 0 UI/Views/{ => Windows}/MainWindow.axaml.cs | 0 UI/Views/{ => Windows}/RecentsWindow.axaml | 0 UI/Views/{ => Windows}/RecentsWindow.axaml.cs | 0 21 files changed, 69 insertions(+), 26 deletions(-) rename UI/Views/{ => Dialogs}/DeleteTagDialog.axaml (100%) rename UI/Views/{ => Dialogs}/DeleteTagDialog.axaml.cs (100%) rename UI/Views/{ => Dialogs}/ErrorDialog.axaml (100%) rename UI/Views/{ => Dialogs}/ErrorDialog.axaml.cs (100%) rename UI/Views/{ => Dialogs}/ImportDialog.axaml (100%) rename UI/Views/{ => Dialogs}/ImportDialog.axaml.cs (100%) rename UI/Views/{ => Dialogs}/UnsavedCancelDialog.axaml (100%) rename UI/Views/{ => Dialogs}/UnsavedCancelDialog.axaml.cs (100%) rename UI/Views/{ => Dialogs}/UnsavedChangesDialog.axaml (100%) rename UI/Views/{ => Dialogs}/UnsavedChangesDialog.axaml.cs (100%) rename UI/Views/{ => Windows}/AboutWindow.axaml (100%) rename UI/Views/{ => Windows}/AboutWindow.axaml.cs (100%) rename UI/Views/{ => Windows}/BulkAddWindow.axaml (100%) rename UI/Views/{ => Windows}/BulkAddWindow.axaml.cs (100%) rename UI/Views/{ => Windows}/DatabaseSettingsWindow.axaml (100%) rename UI/Views/{ => Windows}/DatabaseSettingsWindow.axaml.cs (100%) rename UI/Views/{ => Windows}/MainWindow.axaml (100%) rename UI/Views/{ => Windows}/MainWindow.axaml.cs (100%) rename UI/Views/{ => Windows}/RecentsWindow.axaml (100%) rename UI/Views/{ => Windows}/RecentsWindow.axaml.cs (100%) diff --git a/UI/TagHierarchyManager.UI.csproj b/UI/TagHierarchyManager.UI.csproj index d726768..3d55423 100644 --- a/UI/TagHierarchyManager.UI.csproj +++ b/UI/TagHierarchyManager.UI.csproj @@ -9,16 +9,61 @@ - + PublicResXFileCodeGenerator Resources.Designer.cs - - UnsavedCancelDialog.axaml - Code + + AboutWindow.axaml + Code + + + + BulkAddWindow.axaml + Code + + + + DatabaseSettingsWindow.axaml + Code + + + + DeleteTagDialog.axaml + Code + + + + ErrorDialog.axaml + Code + + + + ImportDialog.axaml + Code + + + + MainWindow.axaml + Code + + + + RecentsWindow.axaml + Code + + + + UnsavedCancelDialog.axaml + Code + + + + UnsavedChangesDialog.axaml + Code @@ -31,35 +76,23 @@ - - - - + + + + None All - - - - - + + + + + - - AboutWindow.axaml - Code - - - DatabaseSettingsWindow.axaml - Code - - - MainWindow.axaml - Code - App.axaml Code @@ -67,12 +100,22 @@ - + + + + + + + + + + + diff --git a/UI/Views/DeleteTagDialog.axaml b/UI/Views/Dialogs/DeleteTagDialog.axaml similarity index 100% rename from UI/Views/DeleteTagDialog.axaml rename to UI/Views/Dialogs/DeleteTagDialog.axaml diff --git a/UI/Views/DeleteTagDialog.axaml.cs b/UI/Views/Dialogs/DeleteTagDialog.axaml.cs similarity index 100% rename from UI/Views/DeleteTagDialog.axaml.cs rename to UI/Views/Dialogs/DeleteTagDialog.axaml.cs diff --git a/UI/Views/ErrorDialog.axaml b/UI/Views/Dialogs/ErrorDialog.axaml similarity index 100% rename from UI/Views/ErrorDialog.axaml rename to UI/Views/Dialogs/ErrorDialog.axaml diff --git a/UI/Views/ErrorDialog.axaml.cs b/UI/Views/Dialogs/ErrorDialog.axaml.cs similarity index 100% rename from UI/Views/ErrorDialog.axaml.cs rename to UI/Views/Dialogs/ErrorDialog.axaml.cs diff --git a/UI/Views/ImportDialog.axaml b/UI/Views/Dialogs/ImportDialog.axaml similarity index 100% rename from UI/Views/ImportDialog.axaml rename to UI/Views/Dialogs/ImportDialog.axaml diff --git a/UI/Views/ImportDialog.axaml.cs b/UI/Views/Dialogs/ImportDialog.axaml.cs similarity index 100% rename from UI/Views/ImportDialog.axaml.cs rename to UI/Views/Dialogs/ImportDialog.axaml.cs diff --git a/UI/Views/UnsavedCancelDialog.axaml b/UI/Views/Dialogs/UnsavedCancelDialog.axaml similarity index 100% rename from UI/Views/UnsavedCancelDialog.axaml rename to UI/Views/Dialogs/UnsavedCancelDialog.axaml diff --git a/UI/Views/UnsavedCancelDialog.axaml.cs b/UI/Views/Dialogs/UnsavedCancelDialog.axaml.cs similarity index 100% rename from UI/Views/UnsavedCancelDialog.axaml.cs rename to UI/Views/Dialogs/UnsavedCancelDialog.axaml.cs diff --git a/UI/Views/UnsavedChangesDialog.axaml b/UI/Views/Dialogs/UnsavedChangesDialog.axaml similarity index 100% rename from UI/Views/UnsavedChangesDialog.axaml rename to UI/Views/Dialogs/UnsavedChangesDialog.axaml diff --git a/UI/Views/UnsavedChangesDialog.axaml.cs b/UI/Views/Dialogs/UnsavedChangesDialog.axaml.cs similarity index 100% rename from UI/Views/UnsavedChangesDialog.axaml.cs rename to UI/Views/Dialogs/UnsavedChangesDialog.axaml.cs diff --git a/UI/Views/AboutWindow.axaml b/UI/Views/Windows/AboutWindow.axaml similarity index 100% rename from UI/Views/AboutWindow.axaml rename to UI/Views/Windows/AboutWindow.axaml diff --git a/UI/Views/AboutWindow.axaml.cs b/UI/Views/Windows/AboutWindow.axaml.cs similarity index 100% rename from UI/Views/AboutWindow.axaml.cs rename to UI/Views/Windows/AboutWindow.axaml.cs diff --git a/UI/Views/BulkAddWindow.axaml b/UI/Views/Windows/BulkAddWindow.axaml similarity index 100% rename from UI/Views/BulkAddWindow.axaml rename to UI/Views/Windows/BulkAddWindow.axaml diff --git a/UI/Views/BulkAddWindow.axaml.cs b/UI/Views/Windows/BulkAddWindow.axaml.cs similarity index 100% rename from UI/Views/BulkAddWindow.axaml.cs rename to UI/Views/Windows/BulkAddWindow.axaml.cs diff --git a/UI/Views/DatabaseSettingsWindow.axaml b/UI/Views/Windows/DatabaseSettingsWindow.axaml similarity index 100% rename from UI/Views/DatabaseSettingsWindow.axaml rename to UI/Views/Windows/DatabaseSettingsWindow.axaml diff --git a/UI/Views/DatabaseSettingsWindow.axaml.cs b/UI/Views/Windows/DatabaseSettingsWindow.axaml.cs similarity index 100% rename from UI/Views/DatabaseSettingsWindow.axaml.cs rename to UI/Views/Windows/DatabaseSettingsWindow.axaml.cs diff --git a/UI/Views/MainWindow.axaml b/UI/Views/Windows/MainWindow.axaml similarity index 100% rename from UI/Views/MainWindow.axaml rename to UI/Views/Windows/MainWindow.axaml diff --git a/UI/Views/MainWindow.axaml.cs b/UI/Views/Windows/MainWindow.axaml.cs similarity index 100% rename from UI/Views/MainWindow.axaml.cs rename to UI/Views/Windows/MainWindow.axaml.cs diff --git a/UI/Views/RecentsWindow.axaml b/UI/Views/Windows/RecentsWindow.axaml similarity index 100% rename from UI/Views/RecentsWindow.axaml rename to UI/Views/Windows/RecentsWindow.axaml diff --git a/UI/Views/RecentsWindow.axaml.cs b/UI/Views/Windows/RecentsWindow.axaml.cs similarity index 100% rename from UI/Views/RecentsWindow.axaml.cs rename to UI/Views/Windows/RecentsWindow.axaml.cs -- 2.51.2