From 4d9355851c31806798123954312bdc5a9dc1a960 Mon Sep 17 00:00:00 2001 From: "ADA (OpenClaw Agent)" Date: Wed, 2 Sep 2026 09:34:54 +0200 Subject: [PATCH] fix: simplify rendered export choices --- CHANGELOG.md | 5 ++ MainWindow.xaml.cs | 1 - OneNoteExporter.csproj | 2 +- README.md | 4 +- RenderedExportWarningWindow.xaml | 75 +++++++++++------------------ RenderedExportWarningWindow.xaml.cs | 20 ++------ innosetup.iss | 2 +- release.sh | 2 +- 8 files changed, 42 insertions(+), 69 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c45a24..2394e23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.2.2 + +- Simplified the large PDF/XPS export choice to one short explanation and three clear actions. +- Made the whole-notebook option a full-size neutral button and removed persuasive wording. + ## 1.2.1 - Enlarged the large PDF/XPS export dialog so every export option is fully visible. diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs index d85f0d8..df3fb35 100644 --- a/MainWindow.xaml.cs +++ b/MainWindow.xaml.cs @@ -444,7 +444,6 @@ private async Task ConvertNotebookJobsToSectionsAsync( var warningWindow = new RenderedExportWarningWindow( format, - notebookJobs.Count, sectionJobs.Count > 0) { Owner = this diff --git a/OneNoteExporter.csproj b/OneNoteExporter.csproj index 946b166..79102cb 100644 --- a/OneNoteExporter.csproj +++ b/OneNoteExporter.csproj @@ -12,7 +12,7 @@ OneNoteExporter OneNoteExporter - 1.2.1 + 1.2.2 icon.ico diff --git a/README.md b/README.md index 8a33e1a..d050040 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ A Windows desktop application to export OneNote notebooks to portable formats. Talks directly to OneNote Desktop via the COM API. -![version](https://img.shields.io/badge/version-1.2.1-blueviolet?style=flat-square) +![version](https://img.shields.io/badge/version-1.2.2-blueviolet?style=flat-square) ![platform](https://img.shields.io/badge/platform-Windows%2010%2F11-0078D7?style=flat-square&logo=windows&logoColor=white) ![license](https://img.shields.io/badge/license-MIT-brightgreen?style=flat-square) ![built with](https://img.shields.io/badge/built%20with-.NET%2010%20%2F%20WPF-512BD4?style=flat-square&logo=dotnet&logoColor=white) @@ -40,7 +40,7 @@ checksum are available as workflow artifacts for 14 days. To publish a release: 1. Update `` in `OneNoteExporter.csproj` and commit the change. -2. Create and push a matching tag, for example `v1.2.1`. +2. Create and push a matching tag, for example `v1.2.2`. 3. GitHub Actions builds the installer, creates the GitHub release with generated notes, and uploads the installer plus checksum automatically. diff --git a/RenderedExportWarningWindow.xaml b/RenderedExportWarningWindow.xaml index 0c90b13..b46bb3a 100644 --- a/RenderedExportWarningWindow.xaml +++ b/RenderedExportWarningWindow.xaml @@ -2,9 +2,9 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Icon="icon.ico" - Title="Large PDF/XPS export" - Width="700" Height="555" - MinWidth="620" MinHeight="520" + Title="PDF/XPS export" + Width="640" Height="430" + MinWidth="580" MinHeight="400" ResizeMode="CanResizeWithGrip" ShowInTaskbar="False" WindowStartupLocation="CenterOwner" @@ -18,7 +18,6 @@ CornerRadius="8"> - @@ -27,81 +26,61 @@ - - - - - -