Add page and endpoint navigation to F1 menus #2315

Open
github-bot wants to merge 1 commit from github-bot/gh-2315 into main AGit
Owner

@⁠Han-Wentao on GitHub · 2026-11-29 11:46 UTC · original
Han-Wentao:feat/f1-page-navigation → main · +184 −12 · 4 files · 1 commits · open

Summary

  • Add PageUp / PageDown and Home / End to the F1 settings, key-bindings list, and save-import picker.
  • Show the current page and shortcut hint in the existing blank header row; use stable page-sized windows so the page number matches the visible list.
  • Navigate by visible rows, skipping the other console's hidden resolution setting. Page keys clamp at the ends; existing Up/Down wrapping remains unchanged.
  • Leave navigation keys available for binding while the bindings list is capturing a key, and clear pending action confirmations when navigating.
  • Document the shortcuts. No dependencies or lockfile changes.

Validation

  • 4/4 portable navigation tests passed, compiled directly from the new module with Rust 1.98.1 (page boundaries, partial/empty pages, endpoints, and captions).
  • Added 2 Windows menu integration tests for hidden settings, submenu selection, and preserving key-capture mode. These are not claimed as executed.
  • git diff --check passed; the repository's staged asset-policy check passed for all 4 changed files using an isolated temporary index.
  • Attempted Windows-target checking from WSL: cargo +1.98.1 check --locked --offline --target x86_64-pc-windows-msvc -p victory-gpu --all-targets --all-features --features blake3/pure. The blake3/pure feature avoids the unavailable MSVC assembler for this cross-check; it is not a source or dependency change.
  • The check is blocked by the same 9 existing errors reproduced on an untouched checkout of base 829188e969: missing mb in copystat.rs, and the shadowed timing function/cascading errors in host.rs. No diagnostics point to the new code. Strict Clippy is also blocked by existing unused imports in victory-shader.
  • Full asset-policy checking fails on the unchanged base file crates/victory-loader/src/heap_sites/frame_users.rs (2022 hex digits). The changed-file check passes; this PR does not modify that file or relax policy.
  • No game/GPU smoke test performed. No game assets or SDK files included.

This is independent of the separate named-settings-profile change.

**@⁠Han-Wentao** on GitHub · 2026-11-29 11:46 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2315) `Han-Wentao:feat/f1-page-navigation` → `main` · +184 −12 · 4 files · 1 commits · open ## Summary - Add **PageUp / PageDown** and **Home / End** to the F1 settings, key-bindings list, and save-import picker. - Show the current page and shortcut hint in the existing blank header row; use stable page-sized windows so the page number matches the visible list. - Navigate by visible rows, skipping the other console's hidden resolution setting. Page keys clamp at the ends; existing Up/Down wrapping remains unchanged. - Leave navigation keys available for binding while the bindings list is capturing a key, and clear pending action confirmations when navigating. - Document the shortcuts. No dependencies or lockfile changes. ## Validation - **4/4 portable navigation tests passed**, compiled directly from the new module with Rust 1.98.1 (page boundaries, partial/empty pages, endpoints, and captions). - Added 2 Windows menu integration tests for hidden settings, submenu selection, and preserving key-capture mode. These are not claimed as executed. - `git diff --check` passed; the repository's staged asset-policy check passed for all 4 changed files using an isolated temporary index. - Attempted Windows-target checking from WSL: `cargo +1.98.1 check --locked --offline --target x86_64-pc-windows-msvc -p victory-gpu --all-targets --all-features --features blake3/pure`. The `blake3/pure` feature avoids the unavailable MSVC assembler for this cross-check; it is not a source or dependency change. - The check is blocked by the **same 9 existing errors reproduced on an untouched checkout of base 829188e969ffd2907e5867c5d9aca29bd91cb1b6**: missing `mb` in `copystat.rs`, and the shadowed `timing` function/cascading errors in `host.rs`. No diagnostics point to the new code. Strict Clippy is also blocked by existing unused imports in `victory-shader`. - Full asset-policy checking fails on the unchanged base file `crates/victory-loader/src/heap_sites/frame_users.rs` (2022 hex digits). The changed-file check passes; this PR does not modify that file or relax policy. - No game/GPU smoke test performed. No game assets or SDK files included. This is independent of the separate named-settings-profile change.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 11:49:53 +00:00
This pull request has changes conflicting with the target branch.
  • crates/victory-gpu/src/host/menu.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/2315/head:github-bot/gh-2315'
git switch 'github-bot/gh-2315'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2315'
git switch 'github-bot/gh-2315'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2315'
git switch 'github-bot/gh-2315'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2315'
git switch 'main'
git merge --squash 'github-bot/gh-2315'
git switch 'main'
git merge --ff-only 'github-bot/gh-2315'
git switch 'main'
git merge 'github-bot/gh-2315'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!2315
No description provided.