The app now follows Windows 11: Mica window with its own title bar, a
navigation pane, in-window dialogs, snackbars and the system accent color.
MaterialDesignThemes is gone.
- Shell: resizable FluentWindow (min 960x600) that remembers its size,
position and maximized state. The title bar has a command search box
(Ctrl+K), an admin-session indicator with "End admin session", and a More
menu. The pane has Home, Favorites, History, Recipes, My commands and the
catalog with its twelve categories and counts; the selection stays in sync
with the view-model through NavigationKey.
- MainViewModel keeps the shell only; the catalog's browsing, filters,
detail and run logic moved to CatalogViewModel. The catalog gets risk and
admin-only filter chips, the estimated duration and an expanded command
line in the detail panel, and a splitter between detail and console.
- One shared console for catalog, recipes and user commands: virtualized,
batched, capped at 10,000 lines with a "N earlier lines" note, Copy all,
Save to file, "Waiting for administrator permission…" status and Restart
now (asks first, never while a command runs).
- Confirmation, update and bug-report dialogs are Fluent content dialogs;
Cancel stays the default and Run appears for a Dangerous command only
once its name or id is typed. The Legal Gate, terms viewer, crash dialog
and command palette are Fluent windows; the Legal Gate lets you pick the
language first.
- Theme: light, dark or system through ApplicationThemeManager, accent from
Windows, High Contrast always wins. Font size scales every text and
control live. Pages set the theme text color themselves (the navigation
frame doesn't pass it down), and list text dims instead of recoloring so
it stays readable on a selected row; search matches are bold and
underlined.
- A finished run notifies with a snackbar (and flashes the taskbar button)
when the console isn't visible; the taskbar shows progress while running.
- Catalog icons map to Fluent System Icons (IconMap), checked by a test.
- The presentation namespace is now CommandForge.Desktop: a namespace named
CommandForge.Wpf hid WPF-UI's root namespace in XAML-generated code. The
project, assembly and exe keep the name CommandForge.Wpf.
- IElevationService raises SessionChanged when the elevated helper starts or
stops.
- Strings: about 45 new keys in all five languages; twelve unused keys
removed. A test now scans the UI sources so every key the XAML or code
uses must exist in every language.
BREAKING CHANGE: new look and layout; settings, history, recipes and user
commands carry over unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- RunSafety (Application) holds the rules for single runs, History re-runs, reverts and recipes:
Dangerous always asks with typing; Caution asks unless turned off; a restore point is offered
only for risky admin commands or catalog-flagged ones — never for per-user tweaks, where it
only added a UAC prompt.
- Type-to-confirm accepts the title Unicode-normalized and case-insensitively, or the command id:
Vietnamese input methods that type decomposed accents (and long CJK titles typed through an
IME) could not confirm before. Run is a CanExecute gate in the view-model, Cancel is the
default/Esc button, and the typing box gets focus.
- Recipes no longer run Dangerous steps after a single Yes/No: an overview prompt (No by default)
is followed by the same confirmation each risky step gets on its own, and one restore point
before the chain. Steps unavailable on this PC are kept when the recipe is saved again.
- Restore points: "Windows already made one in the last 24 hours" is reported as skipped (exit 2)
instead of as created; any other failure asks before running the command anyway (No default).
- A run that does not start (already running, stopped at the restore point) is never recorded in
Recent/History; History's Run again/Undo are disabled while a command runs; Clear asks first.
- Console output goes into an OutputBuffer: one notification per batch instead of per line,
capped at 10,000 lines; an unexpected failure is reported in the console instead of crashing.
- Every run is logged as a one-line summary (id, exit code, duration — never its output).
- New IDialogService/IClipboardService/IShellService/IFileDialogService keep view-models free of
MessageBox/Clipboard/Process calls (and testable); new strings in all five languages.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>