Fixed build_targen_args to evaluate config.patch_count (with fallback to config.total_patches) and properly append -f <patch_count> to the targen arguments.
Updated unit tests to verify patch_count and fallback behavior.
Frontend Target Generator (src/js/targen.js):
Added validation and fallback for custom patch count input.
Passed both patch_count and total_patches in the command config payload.
Version Increment:
Bumped point version 0.1.4 -> 0.1.5 across package.json, src-tauri/Cargo.toml, and src-tauri/tauri.conf.json.
### Summary
This PR resolves Issue #44 where target generation (`targen`) ignored user-selected patch counts and always generated 836 patches.
Closes #44
### Changes
1. **Command Generation (`src-tauri/src/commands.rs`)**:
- Fixed `build_targen_args` to evaluate `config.patch_count` (with fallback to `config.total_patches`) and properly append `-f <patch_count>` to the `targen` arguments.
- Updated unit tests to verify `patch_count` and fallback behavior.
2. **Frontend Target Generator (`src/js/targen.js`)**:
- Added validation and fallback for custom patch count input.
- Passed both `patch_count` and `total_patches` in the command config payload.
3. **Version Increment**:
- Bumped point version `0.1.4` -> `0.1.5` across `package.json`, `src-tauri/Cargo.toml`, and `src-tauri/tauri.conf.json`.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
This PR resolves Issue #44 where target generation (
targen) ignored user-selected patch counts and always generated 836 patches.Closes #44
Changes
src-tauri/src/commands.rs):build_targen_argsto evaluateconfig.patch_count(with fallback toconfig.total_patches) and properly append-f <patch_count>to thetargenarguments.patch_countand fallback behavior.src/js/targen.js):patch_countandtotal_patchesin the command config payload.0.1.4->0.1.5acrosspackage.json,src-tauri/Cargo.toml, andsrc-tauri/tauri.conf.json.