Skip to content

Commit 983d68e

Browse files
committed
feat(gui): Phase 2.2+2.5 — keyboard shortcuts, enhanced context menu, Phase2Tests (v6.18.0)
KeyboardShortcutsDialog (F1): 19 shortcuts, 4 groups, filterable, themed ProcessCmdKey: F1/F5/Ctrl+F/Ctrl+L/Escape handling Context menu: 6→11 items — ⭐ Toggle Favorite, Copy Reg Path, Open in Regedit, Show Dependencies, View History Phase2Tests.cs: 24 new Core.Tests (+24 from 3,166 → 3,190 total) Total: 7,189 tweaks, 3,190 tests (24/24 passing)
1 parent 379020b commit 983d68e

24 files changed

Lines changed: 653 additions & 31 deletions

.github/copilot-instructions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> Auto-loaded by GitHub Copilot on every chat/agent session in this workspace.
44
> Keep this file accurate — it is the fastest path to project understanding.
5-
> Last verified: 2026-04-07 (v6.17.0, ~7,189 tweaks, 122 categories, 3,166 tests).
5+
> Last verified: 2026-04-06 (v6.18.0, ~7,189 tweaks, 122 categories, 3,190 tests).
66
77
## Companion Instruction Files
88

@@ -79,12 +79,12 @@ Rules:
7979
| -------- | ------------------------------------------------------------------------ |
8080
| Language | C# 13 / .NET 10.0-windows (x64) |
8181
| Build | `dotnet build` / MSBuild via `RegiLattice.sln` |
82-
| Test | xUnit 2.9.3 — 3,166 tests (0 failures) |
82+
| Test | xUnit 2.9.3 — 3,190 tests (0 failures) |
8383
| GUI | WinForms with 11 themes (Catppuccin Mocha/Latte, Nord, Dracula + 7 more) |
84-
| Version | 6.17.0 |
84+
| Version | 6.18.0 |
8585
| Install | `dotnet build RegiLattice.sln -c Release` |
8686
| Tweaks | 7,189 across 122 categories (146 files) |
87-
| Tests | 3160 passing (0 consistent failures) |
87+
| Tests | 3,190 passing (0 consistent failures) |
8888
| NuGet | System.Management 10.0.5, Microsoft.NET.Test.Sdk 17.14.1 |
8989

9090
## Git Workflow (IMPORTANT — STANDING RULE)

.github/instructions/lessons-learned.instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ applyTo: "**/*.cs,**/tests/**,**/*Tests/**"
77
> Accumulated hard-won insights from the Python → C# migration, test coverage sprints,
88
> the 453-tweak restoration campaign, and the large-file splitting campaign.
99
> These rules are **as important as the coding standards** — they prevent recurring mistakes.
10-
> Last updated: 2026-04-07 (v6.17.0, C# 13 / .NET 10.0-windows, ~7,189 tweaks, 122 categories, 3,166 tests)
10+
> Last updated: 2026-04-06 (v6.18.0, C# 13 / .NET 10.0-windows, ~7,189 tweaks, 122 categories, 3,190 tests)
1111
1212
---
1313

.github/instructions/testing.instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ applyTo: "**/tests/**,**/*Tests/**,**/*Tests.csproj,**/test_*.py,**/conftest.py"
1515

1616
| Project | Tests | Covers |
1717
| ------------------------ | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
18-
| `RegiLattice.Core.Tests` | 2,369+ | TweakDef, TweakEngine, RegistrySession, Services, Plugins, Locale, SnapshotManager, TweakValidator, DependencyResolver, Favorites, TweakHistory, ConfigExporter, SystemMonitor, BatchImpactEstimator |
18+
| `RegiLattice.Core.Tests` | 2,393+ | TweakDef, TweakEngine, RegistrySession, Services, Plugins, Locale, SnapshotManager, TweakValidator, DependencyResolver, Favorites, TweakHistory, ConfigExporter, SystemMonitor, BatchImpactEstimator |
1919
| `RegiLattice.CLI.Tests` | 434+ | CLI argument parsing (ParseArgs, CliArgs, ConsoleColorizer) |
2020
| `RegiLattice.GUI.Tests` | 363+ | Theme, PackageManagerValidation, PackageNameValidator, AppIcons |
21-
| **Total** | **3,166+**| |
21+
| **Total** | **3,190+**| |
2222

2323
## Running Tests
2424

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Changelog
1+
# Changelog
22

33
For the complete version history, see **[docs/CHANGELOG.md](docs/CHANGELOG.md)**.
44

5-
Latest: **v6.17.0** (2026-04-07) — Phase 3.2 batch recipe executor (`--batch-recipe`), Phase 3.5 watch mode drift detection (`--watch`), Phase 4.1 E2E scenario tests. 34 new tests (28 CLI + 6 GUI), 3,166 total.
5+
Latest: **v6.18.0** (2026-04-07) — Phase 3.2 batch recipe executor (`--batch-recipe`), Phase 3.5 watch mode drift detection (`--watch`), Phase 4.1 E2E scenario tests. 34 new tests (28 CLI + 6 GUI), 3,166 total.

Directory.Build.props

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
Configuration Manager to the x64 platform. Both are required. -->
2020
<Platforms>x64</Platforms>
2121
<PlatformTarget>x64</PlatformTarget>
22-
<Version>6.17.0</Version>
23-
<AssemblyVersion>6.17.0.0</AssemblyVersion>
24-
<FileVersion>6.17.0.0</FileVersion>
25-
<InformationalVersion>6.17.0</InformationalVersion>
22+
<Version>6.18.0</Version>
23+
<AssemblyVersion>6.18.0.0</AssemblyVersion>
24+
<FileVersion>6.18.0.0</FileVersion>
25+
<InformationalVersion>6.18.0</InformationalVersion>
2626
<Deterministic>true</Deterministic>
2727
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
2828
<TieredCompilation>true</TieredCompilation>

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@
2323
![Tests](https://img.shields.io/badge/tests-3166%20passing-brightgreen)
2424
![Platform](https://img.shields.io/badge/platform-Windows%20x64-0078D6?logo=windows&logoColor=white)
2525
![License](https://img.shields.io/badge/license-MIT-green)
26-
![Version](https://img.shields.io/badge/version-6.17.0-blue)
26+
![Version](https://img.shields.io/badge/version-6.18.0-blue)
2727

2828
A comprehensive **Windows 10 / Windows 11 registry tweak toolkit** and system optimizer — debloater · privacy hardening tool · performance optimizer · security hardening · group policy alternative — with **7,189 verified tweaks** across **122 categories**, a **declarative RegOp engine**, a **full CLI** with 25+ commands, an **interactive console menu**, and a **WinForms GUI** with **11 switchable themes**. Built on **.NET 10 (C# 13)** for native performance on Windows 10/11 x64.
2929

3030
## Download & Install
3131

3232
**Pre-built installer (recommended):**
3333

34-
👉 **[Download RegiLattice v6.17.0](https://github.com/RajwanYair/RegiLattice/releases/latest)** (MSI installer + portable EXE) from the [Releases page](https://github.com/RajwanYair/RegiLattice/releases)
34+
👉 **[Download RegiLattice v6.18.0](https://github.com/RajwanYair/RegiLattice/releases/latest)** (MSI installer + portable EXE) from the [Releases page](https://github.com/RajwanYair/RegiLattice/releases)
3535

3636
The MSI installer:
3737
- Installs **GUI** (`RegiLattice.GUI.exe`) under `Program Files\RegiLattice\GUI\`

chocolatey/regilattice.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<metadata>
1515
<id>regilattice</id>
1616
<!-- Version is replaced by the release workflow during choco pack -->
17-
<version>6.17.0</version>
17+
<version>6.18.0</version>
1818
<packageSourceUrl>https://github.com/RajwanYair/RegiLattice/tree/main/chocolatey</packageSourceUrl>
1919
<owners>RajwanYair</owners>
2020
<title>RegiLattice</title>

docs/CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,37 @@ All notable changes to RegiLattice are documented here.
44
Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
55
This project adheres to [Semantic Versioning](https://semver.org/).
66

7+
## [6.18.0] — 2026-04-06
8+
9+
### Added — Phase 2.2 + Phase 2.5: Keyboard Shortcuts & Enhanced Context Menu
10+
11+
- **Keyboard shortcuts (Phase 2.2)**: `ProcessCmdKey` override in MainForm handles five
12+
global shortcuts: F1 opens the new `KeyboardShortcutsDialog` (non-modal cheatsheet with
13+
19 shortcuts in 4 groups, filterable search bar), F5 refreshes tweak status, Ctrl+F
14+
focuses the search box, Ctrl+L toggles the log panel, Escape clears the search box.
15+
16+
- **KeyboardShortcutsDialog**: New dialog in `Forms/KeyboardShortcutsDialog.cs` (174 lines).
17+
Lists all keyboard shortcuts in a themed 3-column ListView (Keys / Action / Group).
18+
Filterable by typing in the filter box. Closes with Escape or OK button. Non-modal so
19+
the main window remains interactive while it is open.
20+
21+
- **Enhanced context menu (Phase 2.5)**: `_listContextMenu` expanded from 6 to 11 items with
22+
logical separator groups:
23+
- Apply / Remove
24+
- ⭐ Toggle Favorite (adds/removes from `Favorites`, appends ⭐/🗑 log line)
25+
- Copy ID / Copy Registry Keys / Copy Registry Path / Open in Registry Editor
26+
- Show Dependencies… (`TweakEngine.ResolveDependencies` → MessageBox with dep chain)
27+
- View History… (`TweakHistory.ForTweak` → MessageBox showing apply/remove log per tweak)
28+
- Select All / Deselect All
29+
30+
#### Stats
31+
32+
- Tests: 3,166 → **3,190** (+24; Phase2Tests.cs: 24 new Core tests for ctx menu, Favorites, TweakHistory, RegOp, ResolveDependencies)
33+
- Tweaks: 7,189 (unchanged)
34+
- Categories: 122 (unchanged)
35+
36+
---
37+
738
## [6.17.0] — 2026-04-07
839

940
### Added — Phase 3.2 + 3.5 + 4.1: Batch Recipes, Watch Mode, E2E Tests

docs/assets/architecture.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/assets/banner.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)