From c4d599cda1d27f2d4b3283da4d933e3595941009 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Sat, 14 Nov 2026 23:28:19 +0000 Subject: [PATCH] Refactor rendez-vous address editing Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- CHANGELOG.md | 2 + src/PostIt/PostIt/Controls/StatusBar.axaml | 29 --- src/PostIt/PostIt/Controls/StatusBar.axaml.cs | 11 - .../Helpers/ServiceCollectionHelpers.cs | 1 + src/PostIt/PostIt/ViewLocator.cs | 1 + .../Commands/PhysicalAddressViewModel.cs | 190 +++++++++++++++ .../ViewModels/Commands/RdvViewModel.cs | 199 ++++++--------- .../Views/Commands/AddressEditorPage.axaml | 53 ++++ .../Views/Commands/AddressEditorPage.axaml.cs | 188 +++++++++++++++ .../PostIt/Views/Commands/RdvPage.axaml | 167 +++++-------- .../PostIt/Views/Commands/RdvPage.axaml.cs | 228 +----------------- 11 files changed, 574 insertions(+), 495 deletions(-) delete mode 100644 src/PostIt/PostIt/Controls/StatusBar.axaml delete mode 100644 src/PostIt/PostIt/Controls/StatusBar.axaml.cs create mode 100644 src/PostIt/PostIt/ViewModels/Commands/PhysicalAddressViewModel.cs create mode 100644 src/PostIt/PostIt/Views/Commands/AddressEditorPage.axaml create mode 100644 src/PostIt/PostIt/Views/Commands/AddressEditorPage.axaml.cs diff --git a/CHANGELOG.md b/CHANGELOG.md index 957f8b11b..76c13a856 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ * [PostIt] Replace the persistent status bar with a global notification service using ephemeral toasts for info/success and dismissible modal alerts for warnings/errors. +* [PostIt] Refactor rendez-vous address editing around a dedicated physical-address view model and a dedicated address editor page so the map remains usable without a ScrollViewer and the main command form stays compact on small screens. + * [PostIt/Administration] Rechercher les utilisateurs côté serveur par login ou nom, par pages de 25 résultats maximum avec navigation précédente/suivante. * [PostIt] Telemetry diff --git a/src/PostIt/PostIt/Controls/StatusBar.axaml b/src/PostIt/PostIt/Controls/StatusBar.axaml deleted file mode 100644 index 2894cfa4e..000000000 --- a/src/PostIt/PostIt/Controls/StatusBar.axaml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - -