Skip to content

Review src/menu.h comments#263

Merged
janrysavy merged 1 commit into
comments-translation-v2from
codex/menu-h-review
Apr 8, 2026
Merged

Review src/menu.h comments#263
janrysavy merged 1 commit into
comments-translation-v2from
codex/menu-h-review

Conversation

@janrysavy

Copy link
Copy Markdown
Owner

Summary

  • land the approved comment review for src/menu.h
  • keep the change comment-only and limited to member, helper, and TrackInternal parameter comments

Verification

  • full branch-target review run completed through scan, ground, review, resolve, apply, guard, and triple-diff-report-html
  • node --experimental-strip-types src/cli.ts guard --target-root /mnt/d/Source/OpenSal/salamander_codex_src_20260408 --translation-source /mnt/d/Source/OpenSal/salamander_codex_src_20260408 --baseline-source /mnt/d/Source/OpenSal/salamander_upstream --artifacts-dir /mnt/d/Source/OSTranslation/artifacts/src-menu-h-review-20260408-run1 --file src/menu.h --cost-profile cheap-first --review-provider auto --copilot-model gpt-5.4 --copilot-reasoning high --prompt-log-mode full --include-audit-only
  • git -C /mnt/d/Source/OpenSal/salamander_codex_src_20260408 diff --check -- src/menu.h

Apply the approved menu.h comment review updates from the branch-target
review run.

What changed:
- tightened several member and helper comments around bitmap scaling, MenuBar
  activation, popup traversal, and image list propagation
- clarified the TrackInternal parameter note so the added inputs are aligned
  visually and described more directly
- refined the GetItemRect comment to state explicitly that it returns the item
  rectangle in screen coordinates

Why it changed:
- the updated wording is more precise and easier to scan in English while
  preserving the existing menu behavior and API intent
- the change remains strictly comment-only in a header that otherwise reviewed
  cleanly

How the result was verified:
- completed the branch-target review pipeline through scan, ground, review,
  resolve, apply, guard, and HTML generation with full prompt logging
- reran guard on the delivery branch checkout and confirmed zero violations in
  strict and ignore-whitespace modes
- checked git diff --check and the final comment-only diff for src/menu.h
  before committing
@janrysavy janrysavy merged commit 5534069 into comments-translation-v2 Apr 8, 2026
3 checks passed
@janrysavy janrysavy deleted the codex/menu-h-review branch April 8, 2026 19:00
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