Skip to content

feat: refresh input folders without reselecting - #29

Merged
drpetersonfernandes merged 2 commits into
masterfrom
feat/refresh-input-folder
Dec 2, 2026
Merged

drpetersonfernandes merged 2 commits into
masterfrom
feat/refresh-input-folder

Conversation

@drpetersonfernandes

Copy link
Copy Markdown
Collaborator

Summary

  • Adds a Refresh button to the Convert, Verify, Extract and Recompress file lists, plus a window-scoped F5 shortcut.
  • Rescans the current input folder for files added, removed or renamed outside CHD Studio without reopening the folder picker.
  • Keeps manually unchecked rows unchecked; newly discovered files start checked.
  • Resets the total-files counter when a rescan finds an empty folder.
  • Updates the user guide, overview, README and What's New.

Verification

  • dotnet build CSharp_CHDStudio.sln -c Release - 0 warnings, 0 errors
  • dotnet test CHDStudio.Tests/CHDStudio.Tests.csproj -c Release --filter "Category!=Integration" - 1,375 passed
  • jb inspectcode - 0 warnings, 0 errors (notes only)

Closes the refresh request from the 2026-12-01 user email.

Comment on lines +356 to +369
foreach (var name in new[]
{
"RefreshConversionFilesButton",
"RefreshVerificationFilesButton",
"RefreshExtractionFilesButton",
"RefreshRecompressFilesButton"
})
{
var button = window.FindControl<Button>(name);
Assert.NotNull(button);
Assert.Equal("_Refresh", button.Content as string);
var tip = Assert.IsType<string>(ToolTip.GetTip(button));
Assert.Contains("F5", tip, StringComparison.Ordinal);
}
Comment on lines +356 to +369
foreach (var name in new[]
{
"RefreshConversionFilesButton",
"RefreshVerificationFilesButton",
"RefreshExtractionFilesButton",
"RefreshRecompressFilesButton"
})
{
var button = window.FindControl<Button>(name);
Assert.NotNull(button);
Assert.Equal("_Refresh", button.Content as string);
var tip = Assert.IsType<string>(ToolTip.GetTip(button));
Assert.Contains("F5", tip, StringComparison.Ordinal);
}
@drpetersonfernandes
drpetersonfernandes merged commit 135afb4 into master Dec 2, 2026
12 checks passed
@drpetersonfernandes
drpetersonfernandes deleted the feat/refresh-input-folder branch December 2, 2026 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants