From a45d994c18b662eea374cb98f1eef00964cebbe3 Mon Sep 17 00:00:00 2001 From: Justin Paul Date: Fri, 8 May 2026 09:39:18 -0400 Subject: [PATCH] Phase 1: versioning, menu bar, About dialog, right-click context menu - Directory.Build.props sets Version=0.1.0 (semver pre-1.0 = beta) plus Authors / Product / RepositoryUrl, picked up by all three projects. - MainWindow gets a real menu bar (File / Server / Help) replacing the old toolbar. File: New endpoint / Import / Export / Backups (last three are stubs for the next phase) / Exit. Server: Settings / Restart service. Help: About. - Drop the Refresh button - the 3 s polling loop covers it. - DataGridRow gets a right-click context menu: Edit / Copy URL / toggle Enabled / Delete. - New About dialog reads AssemblyInformationalVersion at runtime and links jpaul.me + the GitHub repo via clickable hyperlinks. - Ctrl+N input binding for new-endpoint. Co-Authored-By: Claude Opus 4.7 (1M context) --- Directory.Build.props | 14 +++++ src/WebhookServer.Gui/MainWindow.xaml | 51 +++++++++++++------ .../ViewModels/MainViewModel.cs | 35 +++++++++++++ src/WebhookServer.Gui/Views/AboutDialog.xaml | 42 +++++++++++++++ .../Views/AboutDialog.xaml.cs | 28 ++++++++++ 5 files changed, 155 insertions(+), 15 deletions(-) create mode 100644 Directory.Build.props create mode 100644 src/WebhookServer.Gui/Views/AboutDialog.xaml create mode 100644 src/WebhookServer.Gui/Views/AboutDialog.xaml.cs diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..65b6f43 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,14 @@ + + + + 0.1.0 + Justin Paul + Justin Paul + Webhook Server + Copyright (c) Justin Paul + https://jpaul.me + https://github.com/recklessop/webhook-server + git + + + diff --git a/src/WebhookServer.Gui/MainWindow.xaml b/src/WebhookServer.Gui/MainWindow.xaml index 121535b..17ea76f 100644 --- a/src/WebhookServer.Gui/MainWindow.xaml +++ b/src/WebhookServer.Gui/MainWindow.xaml @@ -8,6 +8,9 @@ mc:Ignorable="d" Title="Webhook Server" Height="600" Width="1000" d:DataContext="{d:DesignInstance Type=vm:MainViewModel}"> + + + @@ -19,21 +22,25 @@ - -