-
-
Notifications
You must be signed in to change notification settings - Fork 2
fix: deep uniformity + performance — tokens, bulk collections, toasts #543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -187,6 +187,7 @@ private async Task ScanCoreAsync() | |
| var total = cats.Sum(c => c.TotalSizeBytes); | ||
| ScanSummary = $"Found {FormatHelper.FormatSize(total)} across {cats.Count} categories. Untick anything you want to keep."; | ||
| ScanStatusLine = "Scan complete."; | ||
| ToastService.Instance.Show("Deep cleanup scan complete", $"{FormatHelper.FormatSize(total)} across {cats.Count} categories"); | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Avoid double toast notifications after a successful clean.
Suggested minimal adjustment-private async Task ScanCoreAsync()
+private async Task ScanCoreAsync(bool showToast = true)
{
...
- ToastService.Instance.Show("Deep cleanup scan complete", $"{FormatHelper.FormatSize(total)} across {cats.Count} categories");
+ if (showToast)
+ ToastService.Instance.Show("Deep cleanup scan complete", $"{FormatHelper.FormatSize(total)} across {cats.Count} categories");
...
}
...
-await ScanCoreAsync();
+await ScanCoreAsync(showToast: false);Also applies to: 231-233 🤖 Prompt for AI Agents |
||
| Log.Information("Deep cleanup scan completed: {Size} across {Count} categories", | ||
| FormatHelper.FormatSize(total), cats.Count); | ||
| OnPropertyChanged(nameof(TotalSelectedBytes)); | ||
|
|
@@ -227,6 +228,7 @@ private async Task CleanAsync() | |
| var result = await _cleanup.CleanAsync(Categories, progress, _cleanCts.Token); | ||
| CleanSummary = result.Summary; | ||
| CleanStatusLine = "Clean complete."; | ||
| ToastService.Instance.Show("Deep cleanup complete", result.Summary); | ||
| Log.Information("Deep cleanup completed"); | ||
| await ScanCoreAsync(); | ||
| } | ||
|
|
@@ -293,6 +295,7 @@ private async Task ScanLargeFilesAsync() | |
| ct: _largeCts.Token); | ||
| LargeFiles.ReplaceWith(list); | ||
| LargeScanStatus = $"Found {list.Count} files ≥ {MinSizeMB} MB in {SelectedLocation.Label.Trim()}."; | ||
| ToastService.Instance.Show("Large file scan complete", $"{list.Count} files found ≥ {MinSizeMB} MB"); | ||
| Log.Information("Large file scan completed: {Count} files ≥ {MinSize} MB", | ||
| list.Count, MinSizeMB); | ||
| } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verify version numbers and release dates.
Four distinct versions ([1.10.1], [1.10.0], [1.9.1], [1.9.0]) all share the same release date (2026-05-26), which is unusual and may indicate:
Additionally, the content under [1.10.1] (lines 24-34) describes "UI uniformity audit" which sounds more like a minor feature/refactor than a patch-level bug fix, potentially misaligning with semantic versioning conventions where
x.x.PATCHshould represent backwards-compatible bug fixes only.Consider:
Also applies to: 47-47
🤖 Prompt for AI Agents