Skip to content

Pre-fill Run again with the previous run's values; release v1.2.0 - #83

Merged
StuartMeeks merged 2 commits into
mainfrom
feat/run-again-prefill
Nov 17, 2026
Merged

StuartMeeks merged 2 commits into
mainfrom
feat/run-again-prefill

Conversation

@StuartMeeks

Copy link
Copy Markdown
Owner

Summary

  • Run again now opens the Run dialog pre-filled with the parameter values from the run it was launched from (live run or a past run opened from History), instead of the parameter defaults.
  • Each run now records its parameter values in history (ParameterValuesJson, which already existed in the schema but was never written).
  • Stale values fall back to the default: a removed parameter is ignored, and a choice value that is no longer offered is dropped. Runs recorded before this change carry no values and start from defaults.
  • Release prep: version.json → 1.2.0 and the CHANGELOG [Unreleased] section promoted to [1.2.0] - 2026-11-17.

Plumbing

ParameterFillResult gains Values; FillParametersForRunAsync / IRunCoordinator.CreateRunAsync / ShellViewModel.RunSnipByIdAsync take optional initial values; CommandRunViewModel holds ParameterValues and raises RunAgainRequested with a new RunAgainRequestedEventArgs. Core stays WinUI-free.

Verification

  • Core tests 255/255, Execution tests 66/66 (6 new tests covering pre-fill, stale-value fallback, persistence round trip and malformed JSON).
  • dotnet format whitespace --verify-no-changes clean on Core, Execution and both test projects.
  • Full solution (including Snipdeck.App) builds on Windows in Debug and Release with 0 warnings / 0 errors.

🤖 Generated with Claude Code

StuartMeeks and others added 2 commits November 17, 2026 04:36
Record the parameter values each run was launched with (the history
store's ParameterValuesJson column, previously never written) and carry
them through Run again into the Run dialog, in place of the defaults.
Works from a live run and from a past run opened from History. Values
for removed parameters, and choice values no longer offered, fall back
to the default; runs recorded before this change start from defaults.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bump version.json to 1.2.0 and promote the CHANGELOG: Run again now
pre-fills the Run dialog with the previous run's parameter values, the
Documentation nav item opens the wiki, the Trash view refreshes in place,
the Execution tests run in CI, and dependencies are refreshed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@StuartMeeks
StuartMeeks merged commit 8f584cb into main Nov 17, 2026
8 checks passed
@StuartMeeks
StuartMeeks deleted the feat/run-again-prefill branch November 17, 2026 04:39
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.

1 participant