- Updated `SettingsViewModel`, `DeveloperViewModel`, and `MainWindowViewModel` to raise `PropertyChanged` for the `Localization` property when the language changes. This forces Avalonia to refresh bindings to the `Localization` indexer.
- Updated `UpdateViewModel` to subscribe to language changes and manually refresh localized strings (`CurrentVersionText`) that are not directly bound to the Localization indexer.
- Added `LocalizationTests.cs` to verify that PropertyChanged events are raised correctly on language change.
- Disabled 'Add Files', 'Clear List', 'Compress', and 'Remove' buttons when tasks are running.
- Added 'IsComputing' state to CreateHashViewModel.
- Added confirmation dialog on application exit if tasks are running.
- Added specific message box and log for cancelled/timed-out tasks.
- Extended MessageBoxHelper to support confirmation dialogs.
- Added new localization keys for exit confirmation and cancellation messages.
- Added 1MB size limit to `ReadHashFromFile` in `CheckHashViewModel`.
- Added warning log if file is too large.
- Added `tests/CheckHash.Tests` project with regression test.
- Excluded `tests/**` from `CheckHash.csproj` to prevent duplicate compilation.
- Added Sentinel journal entry in `.jules/sentinel.md`.
Replaces the O(N^2) linear lookup in the `AddFiles` loop with an O(1) HashSet lookup. This significantly improves performance when adding a large number of files, reducing the time complexity from quadratic to linear.
Benchmark results (simulated):
- Baseline (20k items): ~2700ms
- Optimized (20k items): ~5ms